I would like to have some way of running a command only when Nagios is started, or is restarted from the "Process Commands" menu, or any time Nagios reloads its configuration files. Is there a way to do this? I thought about writing it as a localhost service plugin that simply does nothing if
$LASTSERVICECHECK$ > $PROCESSSTARTTIME$ but that doesn't seem optimal. It this the best solution? It would be nice if I could write it as an event handler, but events are only for host or service state changes. This is a Nagios process state change. ------------------------------------------------------------------------------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first _______________________________________________ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null