mirror of
https://github.com/opinkerfi/nagios-plugins.git
synced 2026-02-05 22:55:17 +01:00
check_snmp_connectivity conflict resolved
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user