Behavior of event handler - doesn't work alarm light

Sumit Malhotra smalhotra at
Thu Sep 8 08:35:36 CEST 2005


Please enable log_event_handlers=1 , log_host_retries=1,
log_service_retries=1 in your main config files and paste the logs.

Also you are using Macro $STATETYPE$ instead of $HOSTSTATETYPE$.

Service event handler macros: $SERVICESTATE$, $SERVICESTATETYPE$,
Host event handler macros: $HOSTSTATE$, $HOSTSTATETYPE$, $HOSTATTEMPT$

Sumit Malhotra
Data Armor

-----Original Message-----
From: nagios-devel-admin at
[mailto:nagios-devel-admin at] On Behalf Of Takashi
Sent: Thursday, September 08, 2005 7:12 AM
To: nagios-devel at
Subject: RE: [Nagios-devel] Behavior of event handler - doesn't work
alarm light

Dear Sumit san,

Thank you for your advise and now I've confirmed about your advise.

I tried to do "su nagios" and my script "notify-to-keiko-chan", it
worked fine,
alarm light was turn-on.
So again I tried to plug off LAN line for target host and watch event
log of
Nagios says some HOST ALART and EVENT HANDLER messages about terget host
connection, I looked following message on the event log at last;

[09-08-2005 10:18:21] SERVICE ALERT: local1-ATX135;PING;CRITICAL;HARD;1;
- Host Unreachable (
[09-08-2005 10:18:21] HOST EVENT HANDLER:
[09-08-2005 10:18:21] HOST ALERT: local1-ATX135;DOWN;HARD;10;CRITICAL -
Unreachable (
[09-08-2005 10:18:18] HOST EVENT HANDLER:
[09-08-2005 10:18:18] HOST ALERT: local1-ATX135;DOWN;SOFT;9;CRITICAL -
Unreachable (

But alarm light didn't work. I seem to look like it has no problem about
permission of my script "notify-to-keiko-chan" and user account

My Nagios environment is wrong for Nagios 2.0B4? Do I forget to check
It's better to down grade from FC4 to FC3 for Nagios server? Please
advise me.

Thank you lots of your help,

Takashi Maruyama

Aucnet Inc.
IT Department

"Sumit Malhotra" <smalhotra at> 2005/09/07 18:51:30

宛先: Takashi Maruyama/A/AUCNET at AUCNET,
nagios-devel at
件名: RE: [Nagios-devel] Behavior of event handler - doesn't work alarm

SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement *

More information about the Developers mailing list