Nagios external command file
Marc Powell
marc at ena.com
Mon Sep 19 16:53:25 CEST 2005
> -----Original Message-----
> From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-
> admin at lists.sourceforge.net] On Behalf Of Daniel Bimschas
> Sent: Monday, September 19, 2005 8:38 AM
> To: nagios-users at lists.sourceforge.net
> Subject: [Nagios-users] Nagios external command file
>
> Hi People!
>
> I'm trying to use failover monitoring and for that i'm
> trying to pass commands to the external command file.
>
> i tried this for example:
>
> echo "`date +%s` 1;ENABLE_NOTIFICATIONS" >> nagios.cmd
>
> or simply:
>
> echo "ENABLE_NOTIFICATIONS" >> nagios.cmd
>
>
> and others, but none seem to work.
>
>
> Can you help me and give an example how to do it right?
>
http://www.nagios.org/developerinfo/externalcommands/commandlist.php
ENABLE_NOTIFICATIONS specifically is at
http://www.nagios.org/developerinfo/externalcommands/commandinfo.php?com
mand_id=8
--
Marc
-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server.
Download it for free - -and be entered to win a 42" plasma tv or your very
own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
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