Maybe a stupid question and I missed something.. But I have a problem with my environment..
look a this log:
Code: Select all
2013/09/23 21:30:56 WS00001 Dell_Storage WARNING NOTIF Controller 0 [PERC H710 Mini]: Firmware 21.1.0-0007 is out of date
2013/09/23 21:30:56 WS00001 Dell_Storage WARNING HARD Controller 0 [PERC H710 Mini]: Firmware '21.1.0-0007' is out of date
2013/09/23 20:59:55 WS00001 Dell_Storage UNKNOWN HARD SNMP UNKNOWN: No response from remote host '10.42.8.241'
2013/09/23 20:44:35 WS00001 Dell_Storage WARNING NOTIF Controller 0 [PERC H710 Mini]: Firmware 21.1.0-0007 is out of date
2013/09/23 20:44:35 WS00001 Dell_Storage WARNING HARD Controller 0 [PERC H710 Mini]: Firmware '21.1.0-0007' is out of date
So, Is it possible to tell nagios that if plugin returns an Unkown state, nagios will use the previous state? (Ok, Warn, Crit). So simply, I want to ignore Unkown state and want to avoid changing states..
Can I use events, macros or something like this? I know only about one solution.. create a script and put it between nagios and plugins. But I think that it`s too complicated and I hope that nagios offers a solution for this