Hi guys,
We're using Nagios core 3.4.1. Nagios is currently configured to alert via sms and email standard options. But we want add host and services state duration in notification. How add state duration in nagios notification.
Thanks in advance.
Add state duration in nagios notification
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Add state duration in nagios notification
this is available using the $HOSTDURATION$ & $SERVICEDURATION$ Macros
You would need to modify your notification commands to include these macros
https://assets.nagios.com/downloads/nag ... olist.html
You would need to modify your notification commands to include these macros
https://assets.nagios.com/downloads/nag ... olist.html