This works for me (customer powers off their DSL modem at the end of the day, on in the morning)
1.3.3.7 foo.bar # testip DOWNTIME=0:0000:2359,W:1830:0730,6:0830:2359
I do remember running into some issues with the syntax and the comma separation. You can search the archives for my email address and DOWNTIME if you're really interested.
Not sure how to do every day of the week, but this is the time/cause you want:
DOWNTIME=?:1755:1815:doingbkp
Josh Luthman Office: 937-552-2340 Direct: 937-552-2343 1100 Wayne St Suite 1337 Troy, OH 45373
Those who don't understand UNIX are condemned to reinvent it, poorly. --- Henry Spencer
On Thu, Dec 18, 2008 at 12:10 PM, Jason Chambers <Jason.Chambers at geosoft.com
wrote:
Argh!
I don't want to answer my PDA every night at 6pm because of a stupid backup job overloading the CPU and DB. L There has to be a way to get this to work...
*Jason Chambers *IT Help Desk Associate
*GEOSOFT INC. **freedom to explore *T +1 416.369.0111 #344 F +1 416.369.9599
Visit our site at www.geosoft.com
*From:* Root, Paul [mailto:Paul.Root at qwest.com] *Sent:* December-18-08 11:11 AM *To:* hobbit at hswn.dk *Subject:* RE: [hobbit] Downtime tag syntax
That syntax looks right.
Unfortunately, I think it's just broken. I've been fighting this all week. I've tried DOWNTIME, TIME on the HOST line of hobbit-alerts.cfg, TIME with IGNORE.
I've tried it with a bogus alarm, and with procs. I had it working with a bogus alarm, but it always ignores procs.
bbcmd hobbitd_alerts .... parses it correctly, and you think you're going to get what you want. But then 2:11am the oncall is still paged.
I have this on Solaris 10 (in a zone) with Hobbit 4.2.0 and yesterday upgraded to Xymon 4.2.2. Same deal.
Paul Root IM/MNS Infrastructure
*From:* Jason Chambers [mailto:Jason.Chambers at geosoft.com] *Sent:* Thursday, December 18, 2008 7:35 AM *To:* 'hobbit at hswn.dk' *Subject:* [hobbit] Downtime tag syntax
Hey everyone,
I'm having problems with the DOWNTIME: tag on a host as it appears not to be working. Can anyone see what I am doing wrong?
DOWNTIME:cpu,mysql:*:1800:1830:Backups
*Jason Chambers *IT Help Desk Associate
*GEOSOFT INC. **freedom to explore *T +1 416.369.0111 #344 F +1 416.369.9599
Visit our site at www.geosoft.com
This communication is the property of Qwest and may contain confidential or privileged information. Unauthorized use of this communication is strictly prohibited and may be unlawful. If you have received this communication in error, please immediately notify the sender by reply e-mail and destroy all copies of the communication and any attachments.