Page 1 of 1

Send Notification on a specific condition

Posted: Mon Feb 15, 2016 8:28 am
by DaJoBro
Hello,

for testing purposes, I want to set up Nagios and monitor a small local Network. I am already able to get MIB information by using Services and OIDs.
Now, I want to enable notifications to monitor for example a firewall. What I don't want is to get a notification on a specific state (e.g. critical). All I found on the internet sends notifications on specific states.

What I want is to get a notification if the number I get out of the MIB reaches an exact value.
For example: I get the CPU usage (%) over OID. Normally it's about 0.1. Now I want to get a notification on e.g. 0.2.

Is there a possibility to making this work?
Thank you for your support!

Re: Send Notification on a specific condition

Posted: Mon Feb 15, 2016 11:47 am
by rkennedy
Nagios will fire notifications based on state changes.

Is setting your warning value to .2 not an option?

Alternatively, you could write your own script that sends a notification based on what the value is.