Page 1 of 1

Add state duration in nagios notification

Posted: Tue Nov 10, 2015 9:11 pm
by tumenzul
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.

Re: Add state duration in nagios notification

Posted: Wed Nov 11, 2015 11:32 am
by scottwilkerson
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