Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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?

share|improve this question

2 Answers 2

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.

share|improve this answer

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

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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