aboutsummaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorGravatar Sven Nierlein <sven@nierlein.de> 2016-11-08 00:38:55 +0100
committerGravatar Sven Nierlein <sven@nierlein.de> 2016-11-08 00:38:55 +0100
commitb838b7536684b7b084b777454de95b4b8e050d3e (patch)
treeb305b14ffead7a4c5b86e5973e4acf43294cfe97 /plugins
parent1d4874240a05c2a847e6ec74ff31acb3d3ed1449 (diff)
downloadmonitoring-plugins-b838b7536684b7b084b777454de95b4b8e050d3e.tar.gz
check_snmp: fix number of tests skiped
Diffstat (limited to 'plugins')
-rw-r--r--plugins/t/check_snmp.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/t/check_snmp.t b/plugins/t/check_snmp.t
index 6f870d43..eff46ea1 100644
--- a/plugins/t/check_snmp.t
+++ b/plugins/t/check_snmp.t
@@ -45,7 +45,7 @@ is( $res->return_code, 3, "Invalid protocol" );
like( $res->output, "/check_snmp: Invalid SNMP version - 3c/" );
SKIP: {
- skip "no snmp host defined", 48 if ( ! $host_snmp );
+ skip "no snmp host defined", 50 if ( ! $host_snmp );
$res = NPTest->testCmd( "./check_snmp -H $host_snmp -C $snmp_community -o system.sysUpTime.0 -w 1: -c 1:");
cmp_ok( $res->return_code, '==', 0, "Exit OK when querying uptime" );