Adding patches/23_check_snmp_load_drop_debugging

Via ee92d55bb3.patch

(Closes #3)
This commit is contained in:
Jan Wagner 2015-10-05 15:39:20 +02:00
parent f4e3f51037
commit 8dd4f10e71
2 changed files with 23 additions and 0 deletions

View file

@ -0,0 +1,22 @@
From ee92d55bb36208a088a08864cc241e362134e711 Mon Sep 17 00:00:00 2001
From: casvcasv <carlosgrueso@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;

View file

@ -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