Home Directory

Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me

Directory Tree

Directory

Makulev

Reviews(1)
byMakulev, August 10, 2012
The plugin returns OK status even there are no connection to the snmp target host. For example I had error (with OK status):
ERROR: No response from remote host'10.201.11.124'

So what I suggest is to add exit 2 status in sub SNMP_getvalue:

if(!defined($res)){
print "ERROR: ".$snmp_session->error."\n";
exit 2;
}