Nagios Notification when performance data is changing

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
elements92
Posts: 2
Joined: Mon Jul 20, 2015 4:36 pm

Nagios Notification when performance data is changing

Post 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!
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: Nagios Notification when performance data is changing

Post 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?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
elements92
Posts: 2
Joined: Mon Jul 20, 2015 4:36 pm

Re: Nagios Notification when performance data is changing

Post 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!
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Nagios Notification when performance data is changing

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