[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [hobbit] DOWNTIME ALERTS
- To: <hobbit (at) hswn.dk>
- Subject: RE: [hobbit] DOWNTIME ALERTS
- From: "Dugan, Darin D [EIT]" <dddugan (at) iastate.edu>
- Date: Fri, 6 Jun 2008 08:54:13 -0500
- References: <EE86A53A2E3CA541B7395A898F21A85606A131EF (at) US-CORP-MSG-002.adesa.com> <48482207.9090607 (at) cox.net> <48482903.2080807 (at) cox.net> <4848308E.7020808 (at) cox.net>
- Thread-index: AcjHPcGDyGnh0aN5QeCjVJMRXryZKgAnvMGw
- Thread-topic: [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