event hadlers not executed every time ?

Assaf Flatto nagios at flatto.net
Mon Sep 13 12:08:01 CEST 2010


  On 13/09/10 08:28, b2 wrote:
> Hi list,
> i have some problem with my event handlers, they do not execute on HARD
> CRITICAL , but execute on HARD OK state ? is there an option for this
> anywhere in configs ? i cant figure it...
> snip from my log file :
>
> [1284361876] HOST ALERT: bulmiks2;DOWN;SOFT;1;CRITICAL - Plugin timed
> out after 10 seconds
> [1284361886] HOST ALERT: bulmiks2;DOWN;SOFT;2;CRITICAL - Plugin timed
> out after 10 seconds
> [1284361896] HOST ALERT: bulmiks2;DOWN;SOFT;3;CRITICAL - Plugin timed
> out after 10 seconds
> [1284361906] HOST ALERT: bulmiks2;DOWN;SOFT;4;CRITICAL - Plugin timed
> out after 10 seconds
> [1284361916] HOST ALERT: bulmiks2;DOWN;SOFT;5;CRITICAL - Plugin timed
> out after 10 seconds
> [1284361926] HOST ALERT: bulmiks2;DOWN;SOFT;6;CRITICAL - Plugin timed
> out after 10 seconds
> [1284361936] HOST ALERT: bulmiks2;DOWN;SOFT;7;CRITICAL - Plugin timed
> out after 10 seconds
> [1284361946] HOST ALERT: bulmiks2;DOWN;SOFT;8;CRITICAL - Plugin timed
> out after 10 seconds
> [1284361956] HOST ALERT: bulmiks2;DOWN;SOFT;9;CRITICAL - Plugin timed
> out after 10 seconds
> [1284361966] HOST ALERT: bulmiks2;DOWN;HARD;10;CRITICAL - Plugin timed
> out after 10 seconds
> [1284361966] HOST NOTIFICATION:
> support;bulmiks2;DOWN;host-notify-by-email;CRITICAL - Plugin timed out
> after 10 seconds
> [1284361966] SERVICE ALERT: bulmiks2;PING;CRITICAL;HARD;1;CRITICAL -
> Plugin timed out after 10 seconds
>
> - no event handler executed when HARD CRITICAL and even on SOFT
> CRITICAL... , but when service going to HARD OK state there is event
> handler executed -
>
> [1284362306] SERVICE EVENT HANDLER: bulmiks2;PING;OK;HARD;1;test_event
>
>
> ANY sugestions ?!
>
Can yo show us the event handler script ?
and the event handler configuration command ?


-- 
Never,Ever Cut A Deal With a Dragon


Next year I will be doing the London to Paris bike ride to
raise money for the DogTrust (www.dogtrust.co.uk) .
Please Sponsor me at http://www.justgiving.com/Assaf-Flatto


------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Nagios-users mailing list
Nagios-users at 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





More information about the Users mailing list