Page 1 of 1

Error SNMP - PLug will show as critical if can connect

Posted: Fri Oct 28, 2016 11:17 am
by bosecorp
I monitor LINUX Servers via SNMP. if for some reason SNMP is not running on the client, the alert will show up as CRITICAL. I would like to show up as UNKNOWN.

is that possible?

Re: Error SNMP - PLug will show as critical if can connect

Posted: Fri Oct 28, 2016 1:21 pm
by mcapra
It would depend on the specific snmp plugin being used since our wizards leverage a few different ones. You could probably write a wrapper script to re-write the exit code from 2 to 3 though for your specific checks.

Re: Error SNMP - PLug will show as critical if can connect

Posted: Thu Nov 03, 2016 1:52 pm
by bosecorp
Ok. that works. thanks a lot

please close the ticket

Re: Error SNMP - PLug will show as critical if can connect

Posted: Thu Nov 03, 2016 2:17 pm
by avandemore
Good to hear this will work for you. Thanks for using the Nagios forums!