At present, Opsview reports recoveries in the following format:

RECOVERY: Internal Alarm is OK on host Ellie: SNMP OK - 0

Service: Internal Alarm
Host: Ellie
Alias: Ellie
Address: 1.2.3.4
State: OK
Comment:  ()
Date/Time: Mon Oct 5 14:57:53 BST 2009

Additional Info:

SNMP OK - 0

What I would ideally like to do is add a "duration" field, so that you can tell without scrolling back on a Blackberry how long the event has been at fault for.

Is there an easy solution to this?

link|improve this question
feedback

2 Answers

You can modify (maybe you know it) the message (format and content) of notification changing the notification command notify-by-email, but I think that the information you need is not available, because "duration" field is the duration of current state, not of the previous state.

link|improve this answer
feedback

Take a look at NAGIOS_LASTSERVICECRITICAL macro http://nagios.sourceforge.net/docs/3_0/macrolist.html#lastservicecritical

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.