1
0
mirror of https://github.com/opinkerfi/nagios-plugins.git synced 2024-11-05 01:53:44 +01:00

check_snmp_connectivity conflict resolved

This commit is contained in:
Páll Guðjón Sigurðsson 2010-04-30 10:37:33 +00:00
parent 2e2b15ad71
commit e89ff18430

View File

@ -26,7 +26,6 @@ use Getopt::Std;
$script = "check_snmp_description";
$script_version = "1.0.0";
# SNMP options
$version = "2c";
$timeout = 2;
@ -160,13 +159,11 @@ if ( !defined( $s->get_request($oid_description) ) ) {
}
}
#if ($uptime ) { print "Uptime is good: " . int($uptime) . "\n"; }
print "SNMP Connectivity OK... \n";
print "Description: $description \n";
print "Location: $location \n";
print "OK - SNMP is working properly \n\n";
print "Name: $name \n";
print "Uptime: $uptime \n";
print "Contact: $contact \n";
print "Location: $location \n";
print "Description: $description \n";
print "Uptime: $uptime \n";
exit 0;