Page 1 of 1

[Nagios-devel] External Command, scheduled downtime

Posted: Tue Feb 15, 2005 1:21 am
by Guest
Was sent to nagios-users before, but i think it should have gone
here..

I've been investigating Nagios for a while now, having tried the last
stable, beta1 and now beta2.

I have problems scheduling Service and Host downtime using external
commands. I haven't used it before and started with it in beta1.

I have seen that multiple people have had this issue, though they
never got a reaction. I hope I will because I don't have much time
left for this investigation and using external commands to schedule
downtime is important in our system.

When I use the Addon nagdtsched i get a message in the Event log:

[2005-02-11 11:08:10] EXTERNAL COMMAND:
SCHEDULE_SVC_DOWNTIME;linux1;PING;1108137600;1108195200;1;57600;nagios;Re=
gularly
Scheduled Dowtime

but nothing shows up in the 'Downtime' page. If I schedule downtime
via the webinterface then everything goes ok.

I tried echo-ing to var/rw/nagios.cmd myself and that worked like
above. And both external commands for host and service downtime don't
work. I first tried all of this in beta1, but hoping beta2 might have
it fixed i installed that over 1, but that didn't help either.

I have to admit that for this trial I don't have time to use this
anyway. But if we continue this, then we would like to schedule
downtime automatically.

Also.. somewhere I came acros a patch or something, so that services
would be scheduled to be down when the host is. It could be that that
was for notification-hours only though. Nagios does support scheduling
downtime to children to host, it would be interesting to have the host
automatically increase its services 'downtime' field too.

Regards,
Alex Haan

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.





This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]