Setting downtime by external command fails.

jiri.cervenka at whitesoft.eu jiri.cervenka at whitesoft.eu
Thu May 17 20:57:00 CEST 2007


Hello,
I use this script : 
http://www.nagiosexchange.org/Downtimes.38.0.html?&tx_netnagext_pi1[p_view]=161 
to set up reccuring downtimes.
I have made all neccessary changes, and scripts seems to be working fine, 
but nagios do not reflects the command passed by this script to nagios 
command file.

I can see in log, that nagios accepted the command but new downtime is not 
scheduled.
Here is what I see in log for commad passed by script:
[17-05-2007 09:43:05] EXTERNAL COMMAND: 
SCHEDULE_HOST_DOWNTIME;srv1;1179353340;1179360440;1;0;7100;nagiosadmin;comment

And when I try to schedule downtime manually I can see this:

[17-05-2007 09:53:41] EXTERNAL COMMAND: 
SCHEDULE_HOST_DOWNTIME;srv1;1179355993;1179359593;1;0;7200;nagiosadmin;coment

When I schedule downtime manually it do not work either.

Could someone help me and tell me what could cause that command passed to 
nagios by external script do not work.

Disabling notifications works.

I use nagios 2.5 on gentoo.

Thanks for help. 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20070517/4b73658c/attachment.html>
-------------- next part --------------
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
-------------- next part --------------
_______________________________________________
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