"OK" notifications and notes

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
nagniot
Posts: 11
Joined: Thu Aug 02, 2012 8:26 am

"OK" notifications and notes

Post by nagniot »

Hello everyone

I have two questions:

First
Is it possible to send me notification that status is "ok" (recovery), only after critical status, not warning status?
I tried define "recovery" in "service_notification_options but it sends notification to me every time.

Second.

I use plugin check_sql_query to check database. In service denition in "notes" i paste sql query (then i have sql query in notification).
can Nagios automatically import this sql query from sql file and paste it to notes?
It could be very helpful for me.

Thanks
Locked