Send Notification on a specific condition

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
DaJoBro
Posts: 1
Joined: Mon Feb 15, 2016 7:59 am

Send Notification on a specific condition

Post 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!
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Send Notification on a specific condition

Post 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.
Former Nagios Employee
Locked