Nagios doesn't check exec() error code results on event handlers.
non-zero return codes should be logged as critical errors.
It's a known bug. I reported it a while ago.
~BAS
On Wed, 2008-02-20 at 13:21 -0500, D'Ausilio, John wrote:
> Searching the archives I found where to look in debug ..
Look through error logs.
If your handler is a script, have it write a file in /tmp when it starts.
D'Ausilio, John wrote:
> Searching the archives I found where to look in debug .. it appears that
> Nagios thinks it's running my event handler. Macro expansion looks fine.
> Problem is .. it's not
Searching the archives I found where to look in debug .. it appears that
Nagios thinks it's running my event handler. Macro expansion looks fine.
Problem is .. it's not actually running it! Still lost ...
-Original Message-
From: D'Ausilio, John
Sent: Wednesday, February 20, 2008 11:45 AM