[Pkg-nagios-changes] [pkg-nagios-snmp-plugins] 03/03: Adding patches/23_check_snmp_load_drop_debugging

Jan Wagner waja at moszumanska.debian.org
Mon Oct 5 13:47:39 UTC 2015


This is an automated email from the git hooks/post-receive script.

waja pushed a commit to branch master
in repository pkg-nagios-snmp-plugins.

commit 8dd4f10e7129fa992e82b9bac842c40790014b28
Author: Jan Wagner <waja at cyconet.org>
Date:   Mon Oct 5 15:39:20 2015 +0200

    Adding patches/23_check_snmp_load_drop_debugging
    
    Via https://github.com/dnsmichi/manubulon-snmp/commit/ee92d55bb36208a088a08864cc241e362134e711.patch
    
    (Closes #3)
---
 debian/patches/23_check_snmp_load_drop_debugging | 22 ++++++++++++++++++++++
 debian/patches/series                            |  1 +
 2 files changed, 23 insertions(+)

diff --git a/debian/patches/23_check_snmp_load_drop_debugging b/debian/patches/23_check_snmp_load_drop_debugging
new file mode 100644
index 0000000..3f39c90
--- /dev/null
+++ b/debian/patches/23_check_snmp_load_drop_debugging
@@ -0,0 +1,22 @@
+From ee92d55bb36208a088a08864cc241e362134e711 Mon Sep 17 00:00:00 2001
+From: casvcasv <carlosgrueso at gmail.com>
+Date: Thu, 3 Sep 2015 11:39:44 -0400
+Subject: [PATCH] remove print "$1 wee" from check_snmp_load, apparently used
+ to test the SNMP version fix
+
+---
+ check_snmp_load.pl | 1 -
+ 1 file changed, 1 deletion(-)
+
+diff --git a/check_snmp_load.pl b/check_snmp_load.pl
+index d2c49e3..a2a618c 100755
+--- a/check_snmp_load.pl
++++ b/check_snmp_load.pl
+@@ -284,7 +284,6 @@ sub check_options {
+ sub is_legacy_snmp_version {
+     my $version=Net::SNMP->VERSION; #using a variable for easier testing
+     if ($version=~/^\D*(\d)/ and $1 < 4){
+-        print "$1 wee";
+         return 1;
+     }else{
+         return 0;
diff --git a/debian/patches/series b/debian/patches/series
index 039a33e..8dd63df 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -8,5 +8,6 @@
 20_check_snmp_load_multiple_cpus
 21_check_snmp_load_abstract_snmp_version_check
 22_remove_utils_pm
+23_check_snmp_load_drop_debugging
 50_disable_epn
 51_fix_privacy_doc

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-nagios/pkg-nagios-snmp-plugins.git



More information about the Pkg-nagios-changes mailing list