Re: [Nagios-users] check snmp logic

2013-08-29 Thread Jim Avery
On 29 Aug 2013 02:46, "Mark Campbell" wrote: > > So I need to utilize some logic in my service checks. > > I have a chiller that if it is not running the discharge temp is not of > concern. However if it is running the discharge temp needs to be lower > than 50 degrees. > > Is there a way to have

Re: [Nagios-users] check snmp logic

2013-08-28 Thread Ben Sykes
Do you mean you want to check the result of one OID and make that treat another OID's values differently? Personally if I faced that problem - I would probably code a custom check in Bash using snmpget from snmputils that did some nested If statements, or use Net::SNMP from Perl

[Nagios-users] check snmp logic

2013-08-28 Thread Mark Campbell
So I need to utilize some logic in my service checks. I have a chiller that if it is not running the discharge temp is not of concern. However if it is running the discharge temp needs to be lower than 50 degrees. Is there a way to have the check snmp utilize some logic that says if running =