Adding d/p/20_chech_nt_fix_encoding from upstream
This commit is contained in:
		
							parent
							
								
									17688c79c2
								
							
						
					
					
						commit
						e0cfe77e09
					
				
					 2 changed files with 47 additions and 0 deletions
				
			
		
							
								
								
									
										46
									
								
								debian/patches/20_chech_nt_fix_encoding
									
										
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										46
									
								
								debian/patches/20_chech_nt_fix_encoding
									
										
									
									
										vendored
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,46 @@
 | 
			
		|||
From b2659391aba7e4a79b678aba5cc21b443626f81f Mon Sep 17 00:00:00 2001
 | 
			
		||||
From: =?UTF-8?q?Lorenz=20K=C3=A4stle?= <lorenz.kaestle@netways.de>
 | 
			
		||||
Date: Wed, 26 Apr 2023 10:13:51 +0200
 | 
			
		||||
Subject: [PATCH 1/2] check_nt: change encoding from latin1 to utf8
 | 
			
		||||
 | 
			
		||||
---
 | 
			
		||||
 plugins/check_nt.c | 2 +-
 | 
			
		||||
 1 file changed, 1 insertion(+), 1 deletion(-)
 | 
			
		||||
 | 
			
		||||
diff --git a/plugins/check_nt.c b/plugins/check_nt.c
 | 
			
		||||
index 59c135dba..babe3b642 100644
 | 
			
		||||
--- a/plugins/check_nt.c
 | 
			
		||||
+++ b/plugins/check_nt.c
 | 
			
		||||
@@ -341,7 +341,7 @@ int main(int argc, char **argv){
 | 
			
		||||
 
 | 
			
		||||
 		2) If the counter you're going to measure is percent-based, the code will detect
 | 
			
		||||
 		 the percent sign in its name and will attribute minimum (0%) and maximum (100%)
 | 
			
		||||
-		 values automagically, as well the ¨%" sign to graph units.
 | 
			
		||||
+		 values automagically, as well the ¨%" sign to graph units.
 | 
			
		||||
 
 | 
			
		||||
 		3) OTOH, if the counter is "absolute", you'll have to provide the following
 | 
			
		||||
 		 the counter unit - that is, the dimensions of the counter you're getting. Examples:
 | 
			
		||||
 | 
			
		||||
From fcf68d702e590bd3e58fb7556f420330ddf0a0ae Mon Sep 17 00:00:00 2001
 | 
			
		||||
From: Lorenz <12514511+RincewindsHat@users.noreply.github.com>
 | 
			
		||||
Date: Thu, 27 Apr 2023 00:42:30 +0200
 | 
			
		||||
Subject: [PATCH 2/2] Update plugins/check_nt.c
 | 
			
		||||
 | 
			
		||||
Co-authored-by: datamuc <m@rbfh.de>
 | 
			
		||||
---
 | 
			
		||||
 plugins/check_nt.c | 2 +-
 | 
			
		||||
 1 file changed, 1 insertion(+), 1 deletion(-)
 | 
			
		||||
 | 
			
		||||
diff --git a/plugins/check_nt.c b/plugins/check_nt.c
 | 
			
		||||
index babe3b642..d73d83cea 100644
 | 
			
		||||
--- a/plugins/check_nt.c
 | 
			
		||||
+++ b/plugins/check_nt.c
 | 
			
		||||
@@ -341,7 +341,7 @@ int main(int argc, char **argv){
 | 
			
		||||
 
 | 
			
		||||
 		2) If the counter you're going to measure is percent-based, the code will detect
 | 
			
		||||
 		 the percent sign in its name and will attribute minimum (0%) and maximum (100%)
 | 
			
		||||
-		 values automagically, as well the ¨%" sign to graph units.
 | 
			
		||||
+		 values automagically, as well the "%" sign to graph units.
 | 
			
		||||
 
 | 
			
		||||
 		3) OTOH, if the counter is "absolute", you'll have to provide the following
 | 
			
		||||
 		 the counter unit - that is, the dimensions of the counter you're getting. Examples:
 | 
			
		||||
							
								
								
									
										1
									
								
								debian/patches/series
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								debian/patches/series
									
										
									
									
										vendored
									
									
								
							| 
						 | 
				
			
			@ -11,6 +11,7 @@
 | 
			
		|||
17_fix_exit_codes
 | 
			
		||||
18_check_mysql_fix_typo
 | 
			
		||||
19_check_nwstat_fix_typ
 | 
			
		||||
20_chech_nt_fix_encoding
 | 
			
		||||
# feature patches
 | 
			
		||||
30_check_radius_radcli_1.3.1_support
 | 
			
		||||
31_checl_mailq_separate_submission_queue
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue