[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [hobbit] DOWNTIME ALERTS



That agrees with my experience. When specifying the optional reason you
must also specify the optional service.
http://hswn.dk/hobbiton/2008/05/msg00020.html

Cheers.

-----Original Message-----
From: Tim McCloskey [mailto:devzero (at) cox.net] 
Sent: Thursday, June 05, 2008 1:30 PM
To: hobbit (at) hswn.dk
Subject: Re: [hobbit] DOWNTIME ALERTS

Using the syntax I found in the maillist archive appears to have fixed
this for me.  Should have tried that prior to 
posting, sorry about that.

Now in bb-hosts:
"DOWNTIME=*:*:1000:1200:"Tim Testing"

Even works with the typo (extra quote).

The rule did not alert the page went blue but the info page only
contained:
Planned downtime:	All days:*:1000:1200:
Fixing the typo fixed the info page and everything else worked as
expected.

The key point is the additional *: in the line.
"DOWNTIME=*:*:1000:1200:foo moo" works
"DOWNTIME=*:2200:0730:foo moo"   does not work


Thanks and Regards,
Tim


Tim McCloskey wrote:
> Well that did not help :) And there are still errors in hobbitd.log
> 
> 2008-06-05 10:52:42 Bad timespec (missing colon or wrong weekdays): 
> 1800:0730:Nightly Reboot
> 
> I'll have another look at the man pages :)
> 
> Regards,
> Tim
> 
> 
> 


To unsubscribe from the hobbit list, send an e-mail to
hobbit-unsubscribe (at) hswn.dk