Page 1 of 1

Nagios Notification when performance data is changing

Posted: Mon Jul 20, 2015 4:41 pm
by elements92
Hello,

I use Nagios to monitor my data quality (informix db) and my performance data is like a number of faults i found in the db.

Currently I get every time a notification when the status changes. How can I set it that I also get a message when the performance data is changing?
(For example: My check found another error and now my performance is updated from 6 to 7)?

Many Thanks!

Re: Nagios Notification when performance data is changing

Posted: Mon Jul 20, 2015 6:39 pm
by Box293
Once a service is in a HARD w/c/u state it will not re-notify if the returned values change (but remain in the same w/c range).

What plugin do you use? Can you post a command line example?

Re: Nagios Notification when performance data is changing

Posted: Tue Jul 21, 2015 6:38 am
by elements92
I use my own check command and the Output is: Fehler: 27 or Fehler: 65.

The Output line show how many Results my Select-Statement find.

Thanks!

Re: Nagios Notification when performance data is changing

Posted: Tue Jul 21, 2015 4:46 pm
by tmcdonald
Notifications are not dependent on the output of the check (which includes the performance data).

The closest you can get is by making the service volatile:

http://webcache.googleusercontent.com/s ... clnk&gl=us

However this will notify *every* time the service is in a hard non-OK state, not just when the output changes.