External Commands time

Marc Powell marc at ena.com
Wed Jun 7 00:46:20 CEST 2006



> -----Original Message-----
> From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-
> bounces at lists.sourceforge.net] On Behalf Of David Schlecht
> Sent: Tuesday, June 06, 2006 4:56 PM
> To: nagios-users at lists.sourceforge.net
> Subject: [Nagios-users] External Commands time
> 
> Hi list
> 
> 
> 
> Using v2.2, I'm disabling notifications on a host using an External
>  Command. The script calculates a future time and issues a
enable-notific
> ations command with that time. However, Nagios seems to ignore the
>  times and just runs the Enable command immediately after the Disable
>  command. I see both the enable and disable lines in the logs at
>  the same time. Looking at the web interface, I see that the
notification
> s are not disabled for the host.
> 
> 
> 
> However, if I remove the code to Enable Notifications in the future,
>  the notifications are correctly disabled.
> 
> 
> 
> This seems to point to a failure to honor the time field in the
>  command.

I'd be interested in seeing any documentation that implies that is an
indication to nagios when to run the command. That is not the case.

It's a timestamp to indicate when it was inserted into the external
command file. Nothing more.

--
Marc


_______________________________________________
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