schedule downtime every day/week

Joost Saanen stalkert at gmail.com
Thu Jun 2 14:52:54 CEST 2005


When I run sched_downtime I get the error:
"Could not open Nagios Command Line."

in the sched_downtime file i put this in the variabele NagiosCMD:
$NagiosCMD = "/usr/bin";

Anyone could tell me what the commandline exactly is?

On 6/2/05, Arno Lehmann <al at its-lehmann.de> wrote:
> Hello,
> 
> Joost Saanen wrote:
> 
> > Hi.
> >
> > I know how I can schedule a downtime in Nagios. But I can't find how i
> > configure a periodic downtime like: server A is going down for 10
> > minutes every friday at 5:00 pm. Anyone know if this is possible in
> > Nagios?
> 
> Not in Nagios itself, but you can use a simple script to supply the
> necessary data to the command file. his script could be run by cron, and
> it could take its input from some sort of database. There are examples
> around, iirc you will find something in nagiosexchange.org
> 
> Arno
> 
> 
> --
> IT-Service Lehmann                    al at its-lehmann.de
> Arno Lehmann                  http://www.its-lehmann.de
> 


-- 
Met vriendelijke groeten,

Joost Saanen


-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
_______________________________________________
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