Fwd: Nagios doesn't trigger command

Libor Jelinek ljelinek at virtage.com
Wed Feb 2 15:36:08 CET 2011


I am very sorry but little correction:

Notification _is_ triggered (HOST_NOTIFICATION event in nagios3.log),
but command_line is not executed (probably).

command_line is very simple and I am pretty sure that run successfully.

So my question again: Is there any way how to see actual output of
executed command_line? Or at least to see some return code. Anything?

Thanks
Libor

---------- Forwarded message ----------
From: Libor Jelinek <ljelinek at virtage.com>
Date: 2011/2/2
Subject: Nagios doesn't trigger command
To: nagios-users at lists.sourceforge.net


Hello dear Nagios users,
I am asking you in "emenergency case" because after 4 full days of
troubleshooting I am still not able to detect why Nagios 3 on Ubuntu
10.04 doesn't trigger commant upon hard DOWN state.

On Host State Information page I see that last notification has been
genereted before few minutes and number of total generated
notification is still increasing every check_interval.

But no command is executed! I tried to create replace default
notify-host-by-email's command_line to the very basic command 'echo
test > /home/libor/notif_works' to test if notification is triggered.

I enabled all debuging and in nagios.debug I can't find hostname or IP
of my host that is down.

>> Is there a way how to see what is actual output of command_line? <<

Thanks!
Libor

------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
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