Nagios acknowledgement enhancement request

Andrew Ivanov a.ivanov at e-port.ru
Fri Nov 14 05:17:49 CET 2008


I've implemented "aknowledgement handler" as Thomas suggested, and it works
as expected, thanks.

I'll describe my approach in brief:

I use SNMP AgentX technology to monitor different parameters of remote
hosts,
including log file errors.  Self-made AgentX subagent continuously monitors
log file and public some OIDs. OID "error flag" set to 1 when error string
appears in the log file, and not reset to 0 by any other string. Nagios
monitors
this OID and raise the critical state.  Responsible person takes some
actions
and does problem acknowledgement.  Acknowledgement handler calls snmpset to
set the same OID to 0.  This set request catched by subagent, which resets
error flag to 0, and then Nagios goes to ok state.

Nagios is a great tool, really. Thanks!

With best regards,
Andrew.


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/




More information about the Developers mailing list