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
1 changed files with 4 additions and 7 deletions

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;