Search found 3 matches

by Junaid Shahid
Fri Sep 09, 2016 9:36 pm
Forum: Nagios XI
Topic: "Warning" when escalated, shows ZERO for "state duration"
Replies: 5
Views: 918

Re: "Warning" when escalated, shows ZERO for "state duration

Here is how "notify-service-by-email" defined: define command{ command_name notify-service-by-email command_line /usr/local/nagios/libexec/nagios_service_mail "$NOTIFICATIONTYPE$" "$HOSTNAME$" "$HOSTALIAS$" "$HOSTSTATE$" "$HOSTADDRESS$" &qu...
by Junaid Shahid
Wed Sep 07, 2016 7:03 pm
Forum: Nagios XI
Topic: "Warning" when escalated, shows ZERO for "state duration"
Replies: 5
Views: 918

Re: "Warning" when escalated, shows ZERO for "state duration

Hello, Well on other hosts I see correct notification command (we are using the default/ vanilla command), screenshot attached. But the affected host shows a red line saying "No notifications have been recorded for this host in the current log file". Output for the commands is below: -bash...
by Junaid Shahid
Wed Sep 07, 2016 12:01 am
Forum: Nagios XI
Topic: "Warning" when escalated, shows ZERO for "state duration"
Replies: 5
Views: 918

"Warning" when escalated, shows ZERO for "state duration"

Hello all, I have a service definition that is configured to escalate an issue on 5th notification. What we are observing is that when an issue is escalated, the state duration is reset to zero. State duration should be around 5 hours (if notification interval is set to 1 hour). Below is the actual ...