Disabling alert nightly
list Josh Luthman
I have a device that shuts down at 7:30pm and comes back up at 7:30am. What is the best way to disable this host every single night? I would like it to be marked as disabled during this time, but I definitely do not want the bb.html, bb2.html and bb.wml showing up red - red is bad! I also need it to stop sending email alerts. Would DOWNTIME= be what am I looking for? If so can someone explain how the day:starttime:endtime:cause[,day:starttime:endtime:cause] gets filled it? I need it to be every weekday in the evenings and nights as well as every weekend. Thanks in advance! -- Josh Luthman Office: XXX-XXX-XXXX Direct: XXX-XXX-XXXX XXXX Wayne St Suite XXXX Troy, OH XXXXX Those who don't understand UNIX are condemned to reinvent it, poorly. --- Henry Spencer
list L.M.J
Hi Josh Le Thu, 1 May 2008 00:44:04 -0400,
▸
"Josh Luthman" <user-4c45a83f15cb@xymon.invalid> a écrit :
I have a device that shuts down at 7:30pm and comes back up at 7:30am. What is the best way to disable this host every single night? I would like it to be marked as disabled during this time, but I definitely do not want the bb.html, bb2.html and bb.wml showing up red - red is bad! I also need it to stop sending email alerts. Would DOWNTIME= be what am I looking for? If so can someone explain how the day:starttime:endtime:cause[,day:starttime:endtime:cause] gets filled it? I need it to be every weekday in the evenings and nights as well as every weekend.
I had almost the same issue : do not display databases connection errors during the night backup, here we go : ip.ip.ip.ip name # conn foo bar NAME:"Nice Name" DOWNTIME=*:1930:0730:MyReason That's it ;)
list Josh Luthman
LMJ, Excellent! That answers half my question - but now I need to disable it all day on the weekends; can you have two time frames in one downtime statement? Josh
▸
On Thu, May 1, 2008 at 4:49 AM, L.M.J <user-78bb6d5d9024@xymon.invalid> wrote:
Hi Josh Le Thu, 1 May 2008 00:44:04 -0400, "Josh Luthman" <user-4c45a83f15cb@xymon.invalid> a écrit :I have a device that shuts down at 7:30pm and comes back up at 7:30am.Whatis the best way to disable this host every single night? I would like it to be marked as disabled during this time, but I definitely do not want the bb.html, bb2.html and bb.wml showing up red - red is bad! I also need it to stop sending email alerts. Would DOWNTIME= be what am I looking for? If so can someone explain how the day:starttime:endtime:cause[,day:starttime:endtime:cause] gets filled it? I need it to be every weekday in the evenings and nights as well as every weekend.I had almost the same issue : do not display databases connection errors during the night backup, here we go : ip.ip.ip.ip name # conn foo bar NAME:"Nice Name" DOWNTIME=*:1930:0730:MyReason That's it ;)
-- Josh Luthman Office: XXX-XXX-XXXX Direct: XXX-XXX-XXXX XXXX Wayne St Suite XXXX Troy, OH XXXXX Those who don't understand UNIX are condemned to reinvent it, poorly. --- Henry Spencer
list L.M.J
Hi again, Le Thu, 1 May 2008 09:27:19 -0400,
▸
"Josh Luthman" <user-4c45a83f15cb@xymon.invalid> a écrit :
LMJ, Excellent! That answers half my question - but now I need to disable it all day on the weekends; can you have two time frames in one downtime statement? Josh On Thu, May 1, 2008 at 4:49 AM, L.M.J <user-78bb6d5d9024@xymon.invalid> wrote:Hi Josh Le Thu, 1 May 2008 00:44:04 -0400, "Josh Luthman" <user-4c45a83f15cb@xymon.invalid> a écrit :I have a device that shuts down at 7:30pm and comes back up at 7:30am. What > > is the best way to disable this host every single night?I would like it to be marked as disabled during this time, but I definitely > > do not want the bb.html, bb2.html and bb.wml showing up red - red is bad! I > > also need it to stop sending email alerts. Would DOWNTIME= be what am I looking for? If so can someone explain how the > > day:starttime:endtime:cause[,day:starttime:endtime:cause] gets filled it? > > I need it to be every weekday in the evenings and nights as well as every weekend. >I had almost the same issue : do not display databases connection errors during the night backup, here we go : ip.ip.ip.ip name # conn foo bar NAME:"Nice Name" DOWNTIME=*:1930:0730:MyReason That's it ;)
Test this : DOWNTIME=*:1930:0730:MyReason,5:0000:2359:OffSaturday,5:0000:2359:OffSunday What do you think about this one ? ;)
list Josh Luthman
Thanks again! DOWNTIME=*:1930:0730:nightlyoff,5:0000:2359:OffSaturday,6:0000:2359:OffSunday 6:0000:2359:OffSunday <--that is my only question before I try it - shouldn't it be 6 for Sunday and 5 for Saturday?
▸
Josh
On Thu, May 1, 2008 at 10:44 AM, L.M.J <user-78bb6d5d9024@xymon.invalid> wrote:
Hi again, Le Thu, 1 May 2008 09:27:19 -0400, "Josh Luthman" <user-4c45a83f15cb@xymon.invalid> a écrit :LMJ, Excellent! That answers half my question - but now I need to disable it all day on the weekends; can you have two time frames in one downtime statement? Josh On Thu, May 1, 2008 at 4:49 AM, L.M.J <user-78bb6d5d9024@xymon.invalid> wrote:Hi Josh Le Thu, 1 May 2008 00:44:04 -0400, "Josh Luthman" <user-4c45a83f15cb@xymon.invalid> a écrit :I have a device that shuts down at 7:30pm and comes back up at7:30am. Whatis the best way to disable this host every single night? I would like it to be marked as disabled during this time, but I definitely do not want the bb.html, bb2.html and bb.wml showing up red - red is bad! I also need it to stop sending email alerts. Would DOWNTIME= be what am I looking for? If so can someone explain how the day:starttime:endtime:cause[,day:starttime:endtime:cause] gets filled it? I need it to be every weekday in the evenings and nights as well as every weekend.I had almost the same issue : do not display databases connection errors during the night backup, here we go : ip.ip.ip.ip name # conn foo bar NAME:"Nice Name"DOWNTIME=*:1930:0730:MyReasonThat's it ;)Test this : DOWNTIME=*:1930:0730:MyReason,5:0000:2359:OffSaturday,5:0000:2359:OffSunday What do you think about this one ? ;)
-- Josh Luthman Office: XXX-XXX-XXXX Direct: XXX-XXX-XXXX XXXX Wayne St Suite XXXX Troy, OH XXXXX Those who don't understand UNIX are condemned to reinvent it, poorly. --- Henry Spencer
list Josh Luthman
I am having some issues with this one... DOWNTIME=*:1930:0730:nightlyoff,6:0830:2359:OffSaturday,0:0000:2359:OffSunday Info page says: All days:1930:0730:nightlyoff, Sat:0830:2359:OffSaturday, Sun:0000:2359:OffSunday But hobbitd is complaining: Latest errormessages: Bad timespec (missing colon or wrong weekdays): 1930:0730:nightlyoff Is there something wrong with the *? On Thu, May 1, 2008 at 11:11 AM, Josh Luthman <user-4c45a83f15cb@xymon.invalid>
▸
wrote:
Thanks again! DOWNTIME=*:1930:0730:nightlyoff,5:0000:2359:OffSaturday,6:0000:2359:OffSunday 6:0000:2359:OffSunday <--that is my only question before I try it - shouldn't it be 6 for Sunday and 5 for Saturday? Josh On Thu, May 1, 2008 at 10:44 AM, L.M.J <user-78bb6d5d9024@xymon.invalid> wrote:Hi again, Le Thu, 1 May 2008 09:27:19 -0400, "Josh Luthman" <user-4c45a83f15cb@xymon.invalid> a écrit :LMJ, Excellent! That answers half my question - but now I need to disable it all day on the weekends; can you have two time frames in one downtime statement? Josh On Thu, May 1, 2008 at 4:49 AM, L.M.J <user-78bb6d5d9024@xymon.invalid> wrote:Hi Josh Le Thu, 1 May 2008 00:44:04 -0400, "Josh Luthman" <user-4c45a83f15cb@xymon.invalid> a écrit :I have a device that shuts down at 7:30pm and comes back up at7:30am. Whatis the best way to disable this host every single night? I would like it to be marked as disabled during this time, but I definitely do not want the bb.html, bb2.html and bb.wml showing up red - red is bad! I also need it to stop sending email alerts. Would DOWNTIME= be what am I looking for? If so can someone explain how the day:starttime:endtime:cause[,day:starttime:endtime:cause] gets filled it? I need it to be every weekday in the evenings and nights as well as every weekend.I had almost the same issue : do not display databases connection errors during the night backup, here we go : ip.ip.ip.ip name # conn foo bar NAME:"Nice Name"DOWNTIME=*:1930:0730:MyReasonThat's it ;)Test this : DOWNTIME=*:1930:0730:MyReason,5:0000:2359:OffSaturday,5:0000:2359:OffSunday What do you think about this one ? ;)-- Josh Luthman Office: XXX-XXX-XXXX Direct: XXX-XXX-XXXX XXXX Wayne St Suite XXXX Troy, OH XXXXX Those who don't understand UNIX are condemned to reinvent it, poorly. --- Henry Spencer
-- Josh Luthman Office: XXX-XXX-XXXX Direct: XXX-XXX-XXXX XXXX Wayne St Suite XXXX Troy, OH XXXXX Those who don't understand UNIX are condemned to reinvent it, poorly. --- Henry Spencer
list Allan Spencer
The only thing I can think is the * overides/conflicts with the individual day entries and it doesnt like this ? What if you leave it with just the Saturday and Sunday Entries ? Allan
▸
Josh Luthman wrote:I am having some issues with this one... DOWNTIME=*:1930:0730:nightlyoff,6:0830:2359:OffSaturday,0:0000:2359:OffSunday Info page says: All days:1930:0730:nightlyoff, Sat:0830:2359:OffSaturday, Sun:0000:2359:OffSunday But hobbitd is complaining: Latest errormessages: Bad timespec (missing colon or wrong weekdays): 1930:0730:nightlyoff Is there something wrong with the *? On Thu, May 1, 2008 at 11:11 AM, Josh Luthman <user-4c45a83f15cb@xymon.invalid <mailto:user-4c45a83f15cb@xymon.invalid>> wrote: Thanks again! DOWNTIME=*:1930:0730:nightlyoff,5:0000:2359:OffSaturday,6:0000:2359:OffSunday 6:0000:2359:OffSunday <--that is my only question before I try it - shouldn't it be 6 for Sunday and 5 for Saturday? Josh On Thu, May 1, 2008 at 10:44 AM, L.M.J <user-78bb6d5d9024@xymon.invalid <mailto:user-78bb6d5d9024@xymon.invalid>> wrote: Hi again, Le Thu, 1 May 2008 09:27:19 -0400, "Josh Luthman" <user-4c45a83f15cb@xymon.invalid <mailto:user-4c45a83f15cb@xymon.invalid>> a écrit :LMJ, Excellent! That answers half my question - but now I need to disable it all day on the weekends; can you have two time frames in one downtime statement? Josh On Thu, May 1, 2008 at 4:49 AM, L.M.J<user-78bb6d5d9024@xymon.invalid <mailto:user-78bb6d5d9024@xymon.invalid>> wrote:Hi Josh Le Thu, 1 May 2008 00:44:04 -0400, "Josh Luthman" <user-4c45a83f15cb@xymon.invalid<mailto:user-4c45a83f15cb@xymon.invalid>> a écrit :I have a device that shuts down at 7:30pm and comes back up at 7:30am. What is the best way to disable this host every single night? I would like it to be marked as disabled during this time, but I definitely do not want the bb.html, bb2.html and bb.wml showing up red - red is bad! I also need it to stop sending email alerts. Would DOWNTIME= be what am I looking for? If so can someone explain how theday:starttime:endtime:cause[,day:starttime:endtime:cause] gets filled it?I need it to be every weekday in the evenings and nights as well as every weekend.I had almost the same issue : do not display databases connection errors during the night backup, here we go : ip.ip.ip.ip name # conn foo bar NAME:"Nice Name"DOWNTIME=*:1930:0730:MyReasonThat's it ;)Test this : DOWNTIME=*:1930:0730:MyReason,5:0000:2359:OffSaturday,5:0000:2359:OffSunday What do you think about this one ? ;) -- Josh Luthman Office: XXX-XXX-XXXX Direct: XXX-XXX-XXXX XXXX Wayne St Suite XXXX Troy, OH XXXXX Those who don't understand UNIX are condemned to reinvent it, poorly. --- Henry Spencer -- Josh Luthman Office: XXX-XXX-XXXX Direct: XXX-XXX-XXXX XXXX Wayne St Suite XXXX Troy, OH XXXXX Those who don't understand UNIX are condemned to reinvent it, poorly. --- Henry Spencer
list Josh Luthman
Neither of these two complained: DOWNTIME=0:0000:2359:OffSunday,6:0830:2359:OffSaturday DOWNTIME=0:0000:2359:OffSunday,1:1930:0730:nightlyoff,2:1930:0730:nightlyoff,3:1930:0730:nightlyoff,4:1930:0730:nightlyoff,5:1930:0730:nightlyoff,6:0830:2359:OffSaturday However that second one didn't disable the host, should it be as it is obviously within that time frame? Does anyone have a working example by chance? Thanks for the suggestion, Allan! Josh
▸
On Fri, May 2, 2008 at 1:38 AM, Allan Spencer <user-42a3456c44ef@xymon.invalid> wrote:
The only thing I can think is the * overides/conflicts with the individual day entries and it doesnt like this ? What if you leave it with just the Saturday and Sunday Entries ? Allan Josh Luthman wrote:I am having some issues with this one... DOWNTIME=*:1930:0730:nightlyoff,6:0830:2359:OffSaturday,0:0000:2359:OffSunday Info page says: All days:1930:0730:nightlyoff, Sat:0830:2359:OffSaturday, Sun:0000:2359:OffSunday But hobbitd is complaining: Latest errormessages: Bad timespec (missing colon or wrong weekdays): 1930:0730:nightlyoff Is there something wrong with the *? On Thu, May 1, 2008 at 11:11 AM, Josh Luthman < user-4c45a83f15cb@xymon.invalid <mailto:user-4c45a83f15cb@xymon.invalid>> wrote: Thanks again! DOWNTIME=*:1930:0730:nightlyoff,5:0000:2359:OffSaturday,6:0000:2359:OffSunday 6:0000:2359:OffSunday <--that is my only question before I try it - shouldn't it be 6 for Sunday and 5 for Saturday? Josh On Thu, May 1, 2008 at 10:44 AM, L.M.J <user-78bb6d5d9024@xymon.invalid <mailto:user-78bb6d5d9024@xymon.invalid>> wrote: Hi again, Le Thu, 1 May 2008 09:27:19 -0400, "Josh Luthman" <user-4c45a83f15cb@xymon.invalid <mailto:user-4c45a83f15cb@xymon.invalid>> a écrit :LMJ, Excellent! That answers half my question - but now I need to disable it all day on the weekends; can you have two time frames in one downtime statement? Josh On Thu, May 1, 2008 at 4:49 AM, L.M.J<user-78bb6d5d9024@xymon.invalid <mailto:user-78bb6d5d9024@xymon.invalid>> wrote:Hi Josh Le Thu, 1 May 2008 00:44:04 -0400, "Josh Luthman" <user-4c45a83f15cb@xymon.invalid<mailto:user-4c45a83f15cb@xymon.invalid>> a écrit :I have a device that shuts down at 7:30pm and comes back up at 7:30am. What is the best way to disable this host every single night? I would like it to be marked as disabled during this time, but I definitely do not want the bb.html, bb2.html and bb.wml showing up red - red is bad! I also need it to stop sending email alerts. Would DOWNTIME= be what am I looking for? If so can someone explain how theday:starttime:endtime:cause[,day:starttime:endtime:cause] gets filled it?I need it to be every weekday in the evenings and nights as well as every weekend.I had almost the same issue : do not display databases connection errors during the night backup, here we go : ip.ip.ip.ip name # conn foo bar NAME:"Nice Name"DOWNTIME=*:1930:0730:MyReasonThat's it ;)Test this : DOWNTIME=*:1930:0730:MyReason,5:0000:2359:OffSaturday,5:0000:2359:OffSunday What do you think about this one ? ;) -- Josh Luthman Office: XXX-XXX-XXXX Direct: XXX-XXX-XXXX XXXX Wayne St Suite XXXX Troy, OH XXXXX Those who don't understand UNIX are condemned to reinvent it, poorly. --- Henry Spencer -- Josh Luthman Office: XXX-XXX-XXXX Direct: XXX-XXX-XXXX XXXX Wayne St Suite XXXX Troy, OH XXXXX Those who don't understand UNIX are condemned to reinvent it, poorly. --- Henry Spencer
-- Josh Luthman Office: XXX-XXX-XXXX Direct: XXX-XXX-XXXX XXXX Wayne St Suite XXXX Troy, OH XXXXX Those who don't understand UNIX are condemned to reinvent it, poorly. --- Henry Spencer
list Henrik Størner
In <user-3152f2cc61f7@xymon.invalid> "Josh Luthman" <user-4c45a83f15cb@xymon.invalid> writes:
Neither of these two complained:
DOWNTIME=0:0000:2359:OffSunday,6:0830:2359:OffSaturday DOWNTIME=0:0000:2359:OffSunday,1:1930:0730:nightlyoff,2:1930:0730:nightlyoff,3:1930:0730:nightlyoff,4:1930:0730:nightlyoff,5:1930:0730:nightlyoff,6:0830:2359:OffSaturday
The latter one could be shorter: DOWNTIME=0:0000:2359:OffSunday,W:1930:0730:nightlyoff,6:0830:2359:OffSaturday
▸
However that second one didn't disable the host, should it be as it is obviously within that time frame?
Note that with DOWNTIME, the hosts will only go blue (disabled) if they are actually detected as being down. So if you're just rebooting them (which takes a couple of minutes) then you may not see anything blue during the period. Of course, there should not be anything red. Regards Henrik
list Darin D [eit] Dugan
If memory serves, when I was configuring DOWNTIME I found that if you specify the optional reason you must also specify the optional service. Could be mistaken, of course...this is what works for me: DOWNTIME=*:6:0125:0225:"reason goes here" Cheers.
▸
From: Josh Luthman [mailto:user-4c45a83f15cb@xymon.invalid]
Sent: Friday, May 02, 2008 1:42 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Disabling alert nightly
Neither of these two complained:
DOWNTIME=0:0000:2359:OffSunday,6:0830:2359:OffSaturday
DOWNTIME=0:0000:2359:OffSunday,1:1930:0730:nightlyoff,2:1930:0730:nightlyoff,3:1930:0730:nightlyoff,4:1930:0730:nightlyoff,5:1930:0730:nightlyoff,6:0830:2359:OffSaturday
However that second one didn't disable the host, should it be as it is obviously within that time frame?
Does anyone have a working example by chance?
Thanks for the suggestion, Allan!
Josh
On Fri, May 2, 2008 at 1:38 AM, Allan Spencer <user-42a3456c44ef@xymon.invalid> wrote:
The only thing I can think is the * overides/conflicts with the individual day entries and it doesnt like this ?
What if you leave it with just the Saturday and Sunday Entries ?
Allan
Josh Luthman wrote:
I am having some issues with this one...
DOWNTIME=*:1930:0730:nightlyoff,6:0830:2359:OffSaturday,0:0000:2359:OffSunday
Info page says:
All days:1930:0730:nightlyoff, Sat:0830:2359:OffSaturday, Sun:0000:2359:OffSunday
But hobbitd is complaining:
Latest errormessages:
Bad timespec (missing colon or wrong weekdays): 1930:0730:nightlyoff
Is there something wrong with the *?
On Thu, May 1, 2008 at 11:11 AM, Josh Luthman <user-4c45a83f15cb@xymon.invalid <mailto:user-4c45a83f15cb@xymon.invalid>> wrote:
Thanks again!
DOWNTIME=*:1930:0730:nightlyoff,5:0000:2359:OffSaturday,6:0000:2359:OffSunday
6:0000:2359:OffSunday <--that is my only question before I try it
- shouldn't it be 6 for Sunday and 5 for Saturday?
Josh
On Thu, May 1, 2008 at 10:44 AM, L.M.J <user-78bb6d5d9024@xymon.invalid
<mailto:user-78bb6d5d9024@xymon.invalid>> wrote:
Hi again,
Le Thu, 1 May 2008 09:27:19 -0400,
"Josh Luthman" <user-4c45a83f15cb@xymon.invalid
<mailto:user-4c45a83f15cb@xymon.invalid>> a écrit :
LMJ,
Excellent! That answers half my question - but now I need to
disable it all
day on the weekends; can you have two time frames in one
downtime statement?
Josh
On Thu, May 1, 2008 at 4:49 AM, L.M.J
<user-78bb6d5d9024@xymon.invalid <mailto:user-78bb6d5d9024@xymon.invalid>> wrote:Hi Josh Le Thu, 1 May 2008 00:44:04 -0400, "Josh Luthman" <user-4c45a83f15cb@xymon.invalid
<mailto:user-4c45a83f15cb@xymon.invalid>> a écrit :
I have a device that shuts down at 7:30pm and comes back up at 7:30am. What is the best way to disable this host every single night? I would like it to be marked as disabled during this time, but I definitely do not want the bb.html, bb2.html and bb.wml showing up red - red is bad! I also need it to stop sending email alerts. Would DOWNTIME= be what am I looking for? If so can someone explain how the
day:starttime:endtime:cause[,day:starttime:endtime:cause] gets
filled it?I need it to be every weekday in the evenings and nights as well as every weekend.I had almost the same issue : do not display databases connection errors during the night backup, here we go : ip.ip.ip.ip name # conn foo bar NAME:"Nice Name"
DOWNTIME=*:1930:0730:MyReason
That's it ;)
Test this :
DOWNTIME=*:1930:0730:MyReason,5:0000:2359:OffSaturday,5:0000:2359:OffSunday
What do you think about this one ? ;)
-- Josh Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX
Those who don't understand UNIX are condemned to reinvent it, poorly.
--- Henry Spencer
--
Josh Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX
Those who don't understand UNIX are condemned to reinvent it, poorly.
--- Henry Spencer
--
Josh Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX
Those who don't understand UNIX are condemned to reinvent it, poorly.
--- Henry Spencer
list Josh Luthman
Strange...I am going to try out: DOWNTIME=0:0000:2359:OffSunday,W:1930:0730:nightlyoff,6:0830:2359:OffSaturday tonight as Henrik suggested (which to my understand is just a shorter version). The host in question is definitely down between those times and was down this morning at 2AM when I was watching it. Thing still wouldn't go blue, hmm... Thanks for the help guys, I'll let you know what happens probably on Sunday. On Fri, May 2, 2008 at 9:29 AM, Dugan, Darin D [EIT] <user-b33a1547d27a@xymon.invalid>
▸
wrote:
If memory serves, when I was configuring DOWNTIME I found that if you specify the optional reason you must also specify the optional service. Could be mistaken, of course…this is what works for me: DOWNTIME=*:6:0125:0225:"reason goes here" Cheers. *From:* Josh Luthman [mailto:user-4c45a83f15cb@xymon.invalid] *Sent:* Friday, May 02, 2008 1:42 AM *To:* user-ae9b8668bcde@xymon.invalid *Subject:* Re: [hobbit] Disabling alert nightly Neither of these two complained: DOWNTIME=0:0000:2359:OffSunday,6:0830:2359:OffSaturday DOWNTIME=0:0000:2359:OffSunday,1:1930:0730:nightlyoff,2:1930:0730:nightlyoff,3:1930:0730:nightlyoff,4:1930:0730:nightlyoff,5:1930:0730:nightlyoff,6:0830:2359:OffSaturday However that second one didn't disable the host, should it be as it is obviously within that time frame? Does anyone have a working example by chance? Thanks for the suggestion, Allan! Josh On Fri, May 2, 2008 at 1:38 AM, Allan Spencer <user-42a3456c44ef@xymon.invalid> wrote: The only thing I can think is the * overides/conflicts with the individual day entries and it doesnt like this ? What if you leave it with just the Saturday and Sunday Entries ? Allan Josh Luthman wrote: I am having some issues with this one... DOWNTIME=*:1930:0730:nightlyoff,6:0830:2359:OffSaturday,0:0000:2359:OffSunday Info page says: All days:1930:0730:nightlyoff, Sat:0830:2359:OffSaturday, Sun:0000:2359:OffSunday But hobbitd is complaining: Latest errormessages: Bad timespec (missing colon or wrong weekdays): 1930:0730:nightlyoff Is there something wrong with the *?
On Thu, May 1, 2008 at 11:11 AM, Josh Luthman <user-4c45a83f15cb@xymon.invalid<mailto:
▸
user-4c45a83f15cb@xymon.invalid>> wrote: Thanks again! DOWNTIME=*:1930:0730:nightlyoff,5:0000:2359:OffSaturday,6:0000:2359:OffSunday 6:0000:2359:OffSunday <--that is my only question before I try it - shouldn't it be 6 for Sunday and 5 for Saturday? Josh On Thu, May 1, 2008 at 10:44 AM, L.M.J <user-78bb6d5d9024@xymon.invalid <mailto:user-78bb6d5d9024@xymon.invalid>> wrote: Hi again, Le Thu, 1 May 2008 09:27:19 -0400, "Josh Luthman" <user-4c45a83f15cb@xymon.invalid <mailto:user-4c45a83f15cb@xymon.invalid>> a écrit :LMJ, Excellent! That answers half my question - but now I need to disable it all day on the weekends; can you have two time frames in one downtime statement? Josh On Thu, May 1, 2008 at 4:49 AM, L.M.J<user-78bb6d5d9024@xymon.invalid <mailto:user-78bb6d5d9024@xymon.invalid>> wrote:Hi Josh Le Thu, 1 May 2008 00:44:04 -0400, "Josh Luthman" <user-4c45a83f15cb@xymon.invalid<mailto:user-4c45a83f15cb@xymon.invalid>> a écrit :I have a device that shuts down at 7:30pm and comes back up at 7:30am. What is the best way to disable this host every single night? I would like it to be marked as disabled during this time, but I definitely do not want the bb.html, bb2.html and bb.wml showing up red - red is bad! I also need it to stop sending email alerts. Would DOWNTIME= be what am I looking for? If so can someone explain how theday:starttime:endtime:cause[,day:starttime:endtime:cause] gets filled it?I need it to be every weekday in the evenings and nights as well as every weekend.I had almost the same issue : do not display databases connection errors during the night backup, here we go : ip.ip.ip.ip name # conn foo bar NAME:"Nice Name"DOWNTIME=*:1930:0730:MyReasonThat's it ;)Test this : DOWNTIME=*:1930:0730:MyReason,5:0000:2359:OffSaturday,5:0000:2359:OffSunday What do you think about this one ? ;) -- Josh Luthman Office: XXX-XXX-XXXX Direct: XXX-XXX-XXXX XXXX Wayne St Suite XXXX Troy, OH XXXXX Those who don't understand UNIX are condemned to reinvent it, poorly. --- Henry Spencer -- Josh Luthman Office: XXX-XXX-XXXX Direct: XXX-XXX-XXXX XXXX Wayne St Suite XXXX Troy, OH XXXXX Those who don't understand UNIX are condemned to reinvent it, poorly. --- Henry Spencer -- Josh Luthman Office: XXX-XXX-XXXX Direct: XXX-XXX-XXXX XXXX Wayne St Suite XXXX Troy, OH XXXXX Those who don't understand UNIX are condemned to reinvent it, poorly. --- Henry Spencer
-- Josh Luthman Office: XXX-XXX-XXXX Direct: XXX-XXX-XXXX XXXX Wayne St Suite XXXX Troy, OH XXXXX Those who don't understand UNIX are condemned to reinvent it, poorly. --- Henry Spencer
list Josh Luthman
Very weird.. The device in question went down/up for 12 minutes outside of the time frame specified by the DOWNTIME statement. After it went down hobbitd complained with the following error, minutes afterward the device did come back up. The error still stands. Latest errormessages: Bad timespec (missing colon or no starttime): W Bad timespec (missing colon or wrong weekdays): 0830:2359:OffSaturday Bad timespec (missing colon or no starttime): W Bad timespec (missing colon or wrong weekdays): 0830:2359:OffSaturday Bad timespec (missing colon or no starttime): W Bad timespec (missing colon or wrong weekdays): 0830:2359:OffSaturday Bad timespec (missing colon or no starttime): W Bad timespec (missing colon or wrong weekdays): 0830:2359:OffSaturday Bad timespec (missing colon or no starttime): W Bad timespec (missing colon or wrong weekdays): 0830:2359:OffSaturday Bad timespec (missing colon or no starttime): W Bad timespec (missing colon or wrong weekdays): 0830:2359:OffSaturday I'm very confused now =) On Fri, May 2, 2008 at 10:23 AM, Josh Luthman <user-4c45a83f15cb@xymon.invalid>
▸
wrote:
Strange...I am going to try out: DOWNTIME=0:0000:2359:OffSunday,W:1930:0730:nightlyoff,6:0830:2359:OffSaturday tonight as Henrik suggested (which to my understand is just a shorter version). The host in question is definitely down between those times and was down this morning at 2AM when I was watching it. Thing still wouldn't go blue, hmm... Thanks for the help guys, I'll let you know what happens probably on Sunday. On Fri, May 2, 2008 at 9:29 AM, Dugan, Darin D [EIT] <user-b33a1547d27a@xymon.invalid> wrote:If memory serves, when I was configuring DOWNTIME I found that if you specify the optional reason you must also specify the optional service. Could be mistaken, of course…this is what works for me: DOWNTIME=*:6:0125:0225:"reason goes here" Cheers. *From:* Josh Luthman [mailto:user-4c45a83f15cb@xymon.invalid] *Sent:* Friday, May 02, 2008 1:42 AM *To:* user-ae9b8668bcde@xymon.invalid *Subject:* Re: [hobbit] Disabling alert nightly Neither of these two complained: DOWNTIME=0:0000:2359:OffSunday,6:0830:2359:OffSaturday DOWNTIME=0:0000:2359:OffSunday,1:1930:0730:nightlyoff,2:1930:0730:nightlyoff,3:1930:0730:nightlyoff,4:1930:0730:nightlyoff,5:1930:0730:nightlyoff,6:0830:2359:OffSaturday However that second one didn't disable the host, should it be as it is obviously within that time frame? Does anyone have a working example by chance? Thanks for the suggestion, Allan! Josh On Fri, May 2, 2008 at 1:38 AM, Allan Spencer <user-42a3456c44ef@xymon.invalid> wrote: The only thing I can think is the * overides/conflicts with the individual day entries and it doesnt like this ? What if you leave it with just the Saturday and Sunday Entries ? Allan Josh Luthman wrote: I am having some issues with this one... DOWNTIME=*:1930:0730:nightlyoff,6:0830:2359:OffSaturday,0:0000:2359:OffSunday Info page says: All days:1930:0730:nightlyoff, Sat:0830:2359:OffSaturday, Sun:0000:2359:OffSunday But hobbitd is complaining: Latest errormessages: Bad timespec (missing colon or wrong weekdays): 1930:0730:nightlyoff Is there something wrong with the *? On Thu, May 1, 2008 at 11:11 AM, Josh Luthman < user-4c45a83f15cb@xymon.invalid <mailto:user-4c45a83f15cb@xymon.invalid>> wrote: Thanks again! DOWNTIME=*:1930:0730:nightlyoff,5:0000:2359:OffSaturday,6:0000:2359:OffSunday 6:0000:2359:OffSunday <--that is my only question before I try it - shouldn't it be 6 for Sunday and 5 for Saturday? Josh On Thu, May 1, 2008 at 10:44 AM, L.M.J <user-78bb6d5d9024@xymon.invalid <mailto:user-78bb6d5d9024@xymon.invalid>> wrote: Hi again, Le Thu, 1 May 2008 09:27:19 -0400, "Josh Luthman" <user-4c45a83f15cb@xymon.invalid <mailto:user-4c45a83f15cb@xymon.invalid>> a écrit :LMJ, Excellent! That answers half my question - but now I need to disable it all day on the weekends; can you have two time frames in one downtime statement? Josh On Thu, May 1, 2008 at 4:49 AM, L.M.J<user-78bb6d5d9024@xymon.invalid <mailto:user-78bb6d5d9024@xymon.invalid>> wrote:Hi Josh Le Thu, 1 May 2008 00:44:04 -0400, "Josh Luthman" <user-4c45a83f15cb@xymon.invalid<mailto:user-4c45a83f15cb@xymon.invalid>> a écrit :I have a device that shuts down at 7:30pm and comes back up at 7:30am. What is the best way to disable this host every single night? I would like it to be marked as disabled during this time, but I definitely do not want the bb.html, bb2.html and bb.wml showing up red - red is bad! I also need it to stop sending email alerts. Would DOWNTIME= be what am I looking for? If so can someone explain how theday:starttime:endtime:cause[,day:starttime:endtime:cause] gets filled it?I need it to be every weekday in the evenings and nights as well as every weekend.I had almost the same issue : do not display databases connection errors during the night backup, here we go : ip.ip.ip.ip name # conn foo bar NAME:"Nice Name"DOWNTIME=*:1930:0730:MyReasonThat's it ;)Test this : DOWNTIME=*:1930:0730:MyReason,5:0000:2359:OffSaturday,5:0000:2359:OffSunday What do you think about this one ? ;) -- Josh Luthman Office: XXX-XXX-XXXX Direct: XXX-XXX-XXXX XXXX Wayne St Suite XXXX Troy, OH XXXXX Those who don't understand UNIX are condemned to reinvent it, poorly. --- Henry Spencer -- Josh Luthman Office: XXX-XXX-XXXX Direct: XXX-XXX-XXXX XXXX Wayne St Suite XXXX Troy, OH XXXXX Those who don't understand UNIX are condemned to reinvent it, poorly. --- Henry Spencer -- Josh Luthman Office: XXX-XXX-XXXX Direct: XXX-XXX-XXXX XXXX Wayne St Suite XXXX Troy, OH XXXXX Those who don't understand UNIX are condemned to reinvent it, poorly. --- Henry Spencer-- Josh Luthman Office: XXX-XXX-XXXX Direct: XXX-XXX-XXXX XXXX Wayne St Suite XXXX Troy, OH XXXXX Those who don't understand UNIX are condemned to reinvent it, poorly. --- Henry Spencer
-- Josh Luthman Office: XXX-XXX-XXXX Direct: XXX-XXX-XXXX XXXX Wayne St Suite XXXX Troy, OH XXXXX Those who don't understand UNIX are condemned to reinvent it, poorly. --- Henry Spencer
list Josh Luthman
As very early this morning it is telling me...
▸
Latest errormessages:
Bad timespec (missing colon or wrong weekdays): W
Bad timespec (missing colon or wrong weekdays): 0830:2359:OffSaturday
On Fri, May 2, 2008 at 3:53 PM, Josh Luthman <user-4c45a83f15cb@xymon.invalid>
▸
wrote:
Very weird.. The device in question went down/up for 12 minutes outside of the time frame specified by the DOWNTIME statement. After it went down hobbitd complained with the following error, minutes afterward the device did come back up. The error still stands. Latest errormessages: Bad timespec (missing colon or no starttime): W Bad timespec (missing colon or wrong weekdays): 0830:2359:OffSaturday Bad timespec (missing colon or no starttime): W Bad timespec (missing colon or wrong weekdays): 0830:2359:OffSaturday Bad timespec (missing colon or no starttime): W Bad timespec (missing colon or wrong weekdays): 0830:2359:OffSaturday Bad timespec (missing colon or no starttime): W Bad timespec (missing colon or wrong weekdays): 0830:2359:OffSaturday Bad timespec (missing colon or no starttime): W Bad timespec (missing colon or wrong weekdays): 0830:2359:OffSaturday Bad timespec (missing colon or no starttime): W Bad timespec (missing colon or wrong weekdays): 0830:2359:OffSaturday I'm very confused now =) On Fri, May 2, 2008 at 10:23 AM, Josh Luthman <user-4c45a83f15cb@xymon.invalid> wrote:Strange...I am going to try out: DOWNTIME=0:0000:2359:OffSunday,W:1930:0730:nightlyoff,6:0830:2359:OffSaturday tonight as Henrik suggested (which to my understand is just a shorter version). The host in question is definitely down between those times and was down this morning at 2AM when I was watching it. Thing still wouldn't go blue, hmm... Thanks for the help guys, I'll let you know what happens probably on Sunday. On Fri, May 2, 2008 at 9:29 AM, Dugan, Darin D [EIT] < user-b33a1547d27a@xymon.invalid> wrote:If memory serves, when I was configuring DOWNTIME I found that if you specify the optional reason you must also specify the optional service. Could be mistaken, of course…this is what works for me: DOWNTIME=*:6:0125:0225:"reason goes here" Cheers. *From:* Josh Luthman [mailto:user-4c45a83f15cb@xymon.invalid] *Sent:* Friday, May 02, 2008 1:42 AM *To:* user-ae9b8668bcde@xymon.invalid *Subject:* Re: [hobbit] Disabling alert nightly Neither of these two complained: DOWNTIME=0:0000:2359:OffSunday,6:0830:2359:OffSaturday DOWNTIME=0:0000:2359:OffSunday,1:1930:0730:nightlyoff,2:1930:0730:nightlyoff,3:1930:0730:nightlyoff,4:1930:0730:nightlyoff,5:1930:0730:nightlyoff,6:0830:2359:OffSaturday However that second one didn't disable the host, should it be as it is obviously within that time frame? Does anyone have a working example by chance? Thanks for the suggestion, Allan! Josh On Fri, May 2, 2008 at 1:38 AM, Allan Spencer <user-42a3456c44ef@xymon.invalid> wrote: The only thing I can think is the * overides/conflicts with the individual day entries and it doesnt like this ? What if you leave it with just the Saturday and Sunday Entries ? Allan Josh Luthman wrote: I am having some issues with this one... DOWNTIME=*:1930:0730:nightlyoff,6:0830:2359:OffSaturday,0:0000:2359:OffSunday Info page says: All days:1930:0730:nightlyoff, Sat:0830:2359:OffSaturday, Sun:0000:2359:OffSunday But hobbitd is complaining: Latest errormessages: Bad timespec (missing colon or wrong weekdays): 1930:0730:nightlyoff Is there something wrong with the *? On Thu, May 1, 2008 at 11:11 AM, Josh Luthman < user-4c45a83f15cb@xymon.invalid <mailto:user-4c45a83f15cb@xymon.invalid>> wrote: Thanks again! DOWNTIME=*:1930:0730:nightlyoff,5:0000:2359:OffSaturday,6:0000:2359:OffSunday 6:0000:2359:OffSunday <--that is my only question before I try it - shouldn't it be 6 for Sunday and 5 for Saturday? Josh On Thu, May 1, 2008 at 10:44 AM, L.M.J <user-78bb6d5d9024@xymon.invalid <mailto:user-78bb6d5d9024@xymon.invalid>> wrote: Hi again, Le Thu, 1 May 2008 09:27:19 -0400, "Josh Luthman" <user-4c45a83f15cb@xymon.invalid <mailto:user-4c45a83f15cb@xymon.invalid>> a écrit :LMJ, Excellent! That answers half my question - but now I need to disable it all day on the weekends; can you have two time frames in one downtime statement? Josh On Thu, May 1, 2008 at 4:49 AM, L.M.J<user-78bb6d5d9024@xymon.invalid <mailto:user-78bb6d5d9024@xymon.invalid>> wrote:Hi Josh Le Thu, 1 May 2008 00:44:04 -0400, "Josh Luthman" <user-4c45a83f15cb@xymon.invalid<mailto:user-4c45a83f15cb@xymon.invalid>> a écrit :I have a device that shuts down at 7:30pm and comes back up at 7:30am. What is the best way to disable this host every single night? I would like it to be marked as disabled during this time, but I definitely do not want the bb.html, bb2.html and bb.wml showing up red - red is bad! I also need it to stop sending email alerts. Would DOWNTIME= be what am I looking for? If so can someone explain how theday:starttime:endtime:cause[,day:starttime:endtime:cause] gets filled it?I need it to be every weekday in the evenings and nights as well as every weekend.I had almost the same issue : do not display databases connection errors during the night backup, here we go : ip.ip.ip.ip name # conn foo bar NAME:"Nice Name"DOWNTIME=*:1930:0730:MyReasonThat's it ;)Test this : DOWNTIME=*:1930:0730:MyReason,5:0000:2359:OffSaturday,5:0000:2359:OffSunday What do you think about this one ? ;) -- Josh Luthman Office: XXX-XXX-XXXX Direct: XXX-XXX-XXXX XXXX Wayne St Suite XXXX Troy, OH XXXXX Those who don't understand UNIX are condemned to reinvent it, poorly. --- Henry Spencer -- Josh Luthman Office: XXX-XXX-XXXX Direct: XXX-XXX-XXXX XXXX Wayne St Suite XXXX Troy, OH XXXXX Those who don't understand UNIX are condemned to reinvent it, poorly. --- Henry Spencer -- Josh Luthman Office: XXX-XXX-XXXX Direct: XXX-XXX-XXXX XXXX Wayne St Suite XXXX Troy, OH XXXXX Those who don't understand UNIX are condemned to reinvent it, poorly. --- Henry Spencer-- Josh Luthman Office: XXX-XXX-XXXX Direct: XXX-XXX-XXXX XXXX Wayne St Suite XXXX Troy, OH XXXXX Those who don't understand UNIX are condemned to reinvent it, poorly. --- Henry Spencer-- Josh Luthman Office: XXX-XXX-XXXX Direct: XXX-XXX-XXXX XXXX Wayne St Suite XXXX Troy, OH XXXXX Those who don't understand UNIX are condemned to reinvent it, poorly. --- Henry Spencer
-- Josh Luthman Office: XXX-XXX-XXXX Direct: XXX-XXX-XXXX XXXX Wayne St Suite XXXX Troy, OH XXXXX Those who don't understand UNIX are condemned to reinvent it, poorly. --- Henry Spencer
list Henrik Størner
▸
In <user-a773e7d6df4e@xymon.invalid> "Josh Luthman" <user-4c45a83f15cb@xymon.invalid> writes:
Latest errormessages: Bad timespec (missing colon or wrong weekdays): W Bad timespec (missing colon or wrong weekdays): 0830:2359:OffSaturday
Does it change if you remove the "OffSaturday" text, i.e. just "W:0830:2359" Henrik
list Josh Luthman
I dropped the comments at the end of each of the three statements so it is now: DOWNTIME=0:0000:2359,W:1930:0730,6:0830:2359 Let's see how this goes! Thanks a lot for the help, Henrik, I appreciate it! Josh
▸
On Sat, May 3, 2008 at 12:54 PM, Henrik Stoerner <user-ce4a2c883f75@xymon.invalid> wrote:
In <user-a773e7d6df4e@xymon.invalid> "Josh Luthman" <user-4c45a83f15cb@xymon.invalid> writes:Latest errormessages: Bad timespec (missing colon or wrong weekdays): W Bad timespec (missing colon or wrong weekdays): 0830:2359:OffSaturdayDoes it change if you remove the "OffSaturday" text, i.e. just "W:0830:2359" Henrik
-- Josh Luthman Office: XXX-XXX-XXXX Direct: XXX-XXX-XXXX XXXX Wayne St Suite XXXX Troy, OH XXXXX Those who don't understand UNIX are condemned to reinvent it, poorly. --- Henry Spencer
list Josh Luthman
It has been working perfectly since Saturday. It seems that the DOWNTIME tag doesn't agree with the comment field. Thanks for the help, each of you! Josh On Sat, May 3, 2008 at 2:36 PM, Josh Luthman <user-4c45a83f15cb@xymon.invalid>
▸
wrote:
I dropped the comments at the end of each of the three statements so it is now: DOWNTIME=0:0000:2359,W:1930:0730,6:0830:2359 Let's see how this goes! Thanks a lot for the help, Henrik, I appreciate it! Josh On Sat, May 3, 2008 at 12:54 PM, Henrik Stoerner <user-ce4a2c883f75@xymon.invalid> wrote:In <user-a773e7d6df4e@xymon.invalid> "Josh Luthman" <user-4c45a83f15cb@xymon.invalid> writes:Latest errormessages: Bad timespec (missing colon or wrong weekdays): W Bad timespec (missing colon or wrong weekdays): 0830:2359:OffSaturdayDoes it change if you remove the "OffSaturday" text, i.e. just "W:0830:2359" Henrik-- Josh Luthman Office: XXX-XXX-XXXX Direct: XXX-XXX-XXXX XXXX Wayne St Suite XXXX Troy, OH XXXXX Those who don't understand UNIX are condemned to reinvent it, poorly. --- Henry Spencer
-- Josh Luthman Office: XXX-XXX-XXXX Direct: XXX-XXX-XXXX XXXX Wayne St Suite XXXX Troy, OH XXXXX Those who don't understand UNIX are condemned to reinvent it, poorly. --- Henry Spencer
list Anna Jonna Armannsdottir
On lau, 2008-05-03 at 14:36 -0400, Josh Luthman wrote:
DOWNTIME=0:0000:2359,W:1930:0730,6:0830:2359
This seems to be useful. Search machines will find the DOWNTIME but not the file it should be in. I guess this goes into hobbit-clients.cfg . Do you have an example of how this is used? -- Kindest Regards, Anna Jonna Ármannsdóttir, %& A: Because people read from top to bottom. Unix System Aministration, Computing Services, %& Q: Why is top posting bad? University of Iceland.
list Josh Luthman
This is in bb-hosts On Tue, May 6, 2008 at 2:42 PM, Anna Jonna Armannsdottir <user-a8cde33204f6@xymon.invalid>
▸
wrote:
On lau, 2008-05-03 at 14:36 -0400, Josh Luthman wrote:DOWNTIME=0:0000:2359,W:1930:0730,6:0830:2359This seems to be useful. Search machines will find the DOWNTIME but not the file it should be in. I guess this goes into hobbit-clients.cfg . Do you have an example of how this is used? -- Kindest Regards, Anna Jonna Ármannsdóttir, %& A: Because people read from top to bottom. Unix System Aministration, Computing Services, %& Q: Why is top posting bad? University of Iceland.
-- Josh Luthman Office: XXX-XXX-XXXX Direct: XXX-XXX-XXXX XXXX Wayne St Suite XXXX Troy, OH XXXXX Those who don't understand UNIX are condemned to reinvent it, poorly. --- Henry Spencer