Hi Experts
I would like to send notifications to different contacts for different threshold on one service, say check_disk.
If the threshold is set to 80%, alert should go to contact A.
If it reaches to 85% usage, alert should go to Contact B.
If the usage go beyond 90%, then contact C should be notified.
Can we achieve this with Nagios core?
Kindly advise.
Notifications for different thresholds on same service
Re: Notifications for different thresholds on same service
I think you'd need to setup individual service checks for each desired threshold. Then assign unique contacts (or contact groups) for each of your 80/85/90 checks. Nagios Core itself, which is what will handle the alerting logic, doesn't actually have a concept of "thresholds"; It just reads STDOUT and a given command's return code. Nagios "plugins" turn those thresholds into something Nagios Core can interpret.
Here's a post from a few months ago regarding white-box versus black-box monitoring strategies. The short answer is Nagios Core takes on more of a "black-box" approach to monitoring and what you want to do here is more in the style of "white-box" monitoring.
Escalations do something similar, but with respect to the duration of a problem state rather than thresholds.
Here's a post from a few months ago regarding white-box versus black-box monitoring strategies. The short answer is Nagios Core takes on more of a "black-box" approach to monitoring and what you want to do here is more in the style of "white-box" monitoring.
Escalations do something similar, but with respect to the duration of a problem state rather than thresholds.
Former Nagios employee
https://www.mcapra.com/
https://www.mcapra.com/
Re: Notifications for different thresholds on same service
Hi @mcapra
I was also in thoughts of adding different services with different threshold.
But i was looking for better option than that one.
As don't have any better option, we can close this thread.
Thanks for your support.
Regards,
Ravi Kumar Vusa
I was also in thoughts of adding different services with different threshold.
But i was looking for better option than that one.
As don't have any better option, we can close this thread.
Thanks for your support.
Regards,
Ravi Kumar Vusa
-
kyang
Re: Notifications for different thresholds on same service
Closing thread.
Thanks for using the Nagios Support Forums!
Feel free to create a new thread if you have any more issues.
Have a great day!
Thanks for using the Nagios Support Forums!
Feel free to create a new thread if you have any more issues.
Have a great day!