Error SNMP - PLug will show as critical if can connect

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
bosecorp
Posts: 929
Joined: Thu Jun 26, 2014 1:00 pm

Error SNMP - PLug will show as critical if can connect

Post 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?
User avatar
mcapra
Posts: 3739
Joined: Thu May 05, 2016 3:54 pm

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

Post 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.
Former Nagios employee
https://www.mcapra.com/
bosecorp
Posts: 929
Joined: Thu Jun 26, 2014 1:00 pm

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

Post by bosecorp »

Ok. that works. thanks a lot

please close the ticket
avandemore
Posts: 1597
Joined: Tue Sep 27, 2016 4:57 pm

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

Post by avandemore »

Good to hear this will work for you. Thanks for using the Nagios forums!
Previous Nagios employee
Locked