Notification if not critical
Posted: Fri Nov 02, 2012 12:01 pm
Hi Nagios Community,
I was wondering if it is possible to reverse the notification method, in the sense that if the service is NOT critical (aka, it's OK), send an email.
This might seem a bit random, but for NSClient++, using check_nt, explorer.exe is OK if someone is logged in. If no one is logged into the server, it returns critical.
Ideally, we want to know if someone IS logged in, as it is the AD server being monitored and access is very restricted.
My plan was to use the RECOVERY SERVICE ALERT - So it only sends a notificaiton once when critical, then when someone logs in (no longer critical), it will say it has recovered.
Was wondering if that's the only way? Or is there is functionality in Nagios to do the reverse order?
Thank you.
Kind Regards,
Gary Shergill
I was wondering if it is possible to reverse the notification method, in the sense that if the service is NOT critical (aka, it's OK), send an email.
This might seem a bit random, but for NSClient++, using check_nt, explorer.exe is OK if someone is logged in. If no one is logged into the server, it returns critical.
Ideally, we want to know if someone IS logged in, as it is the AD server being monitored and access is very restricted.
My plan was to use the RECOVERY SERVICE ALERT - So it only sends a notificaiton once when critical, then when someone logs in (no longer critical), it will say it has recovered.
Was wondering if that's the only way? Or is there is functionality in Nagios to do the reverse order?
Thank you.
Kind Regards,
Gary Shergill