Xymon Mailing List Archive search

Need help on "Bad timespec (missing colon or wrong weekdays):" error message

3 messages in this thread

list T.J. Yang · Thu, 4 Jun 2009 22:56:06 -0500 ·

My hobbit server is suffering following error message in page.log file.

1. Current error messages in page.log, not like the other problem on this list,
I don't have anything after ":" character to help me debug.

hobbit$ tail page.log
2009-06-04 22:22:28 Bad timespec (missing colon or wrong weekdays):
2009-06-04 22:22:28 Bad timespec (missing colon or wrong weekdays):
2009-06-04 22:22:28 Bad timespec (missing colon or wrong weekdays):
2009-06-04 22:22:28 Bad timespec (missing colon or wrong weekdays):
2009-06-04 22:22:28 Bad timespec (missing colon or wrong weekdays):
2009-06-04 22:22:28 Bad timespec (missing colon or wrong weekdays):
2009-06-04 22:22:28 Bad timespec (missing colon or wrong weekdays):
2009-06-04 22:22:28 Bad timespec (missing colon or wrong weekdays):
2009-06-04 22:22:28 Bad timespec (missing colon or wrong weekdays):
2009-06-04 22:22:28 Bad timespec (missing colon or wrong weekdays):
hobbit$

2. After RTFM, Following is an expanded debug log after I added "--debug" at page daemon in hobbitlaunch.cfg.
(11 days ago)

2.1 in following log, do this mean the tsail-c's TIME=W:0080:1800 macro has syntax issue ?


2009-05-22 23:59:16 cleanup_alert called for host tsail-c.test.com, test memory
2009-05-22 23:59:16 Found a first matching rule
2009-05-22 23:59:16 Bad timespec (missing colon or wrong weekdays):
2009-05-22 23:59:16 Weekday does not match
2009-05-22 23:59:16 No more secondary matching rule
2009-05-22 23:59:16 Found no first matching rule
2009-05-22 23:59:16 cleanup_alert called for host turn50.test.com, test conn

2.2 following are more clueless  error, it didn't show any host information
and it says "00:01:34 Found a first matching rule" and then "00:01:34 Bad timespec (missing colon or wrong weekdays):"


2009-05-23 00:01:34 Weekday does not match
2009-05-23 00:01:34 No more secondary matching rule
2009-05-23 00:01:34 Found a first matching rule
2009-05-23 00:01:34 Weekday does not match
2009-05-23 00:01:34 No more secondary matching rule
2009-05-23 00:01:34 Found a first matching rule
2009-05-23 00:01:34 Weekday does not match
2009-05-23 00:01:34 Found a secondary matching rule
2009-05-23 00:01:34 Found a first matching rule
2009-05-23 00:01:34 Weekday does not match
2009-05-23 00:01:34 Found a secondary matching rule
2009-05-23 00:01:34 Found a first matching rule
2009-05-23 00:01:34 Found a first matching rule
2009-05-23 00:01:34 Found a first matching rule
2009-05-23 00:01:34 Found a first matching rule
2009-05-23 00:01:34 start,end,current time = 0, 1439, 1 - found=1
2009-05-23 00:01:34 No more secondary matching rule
2009-05-23 00:01:34 Found a first matching rule
2009-05-23 00:01:34 Bad timespec (missing colon or wrong weekdays):
2009-05-23 00:01:34 Weekday does not match
2009-05-23 00:01:34 No more secondary matching rule
2009-05-23 00:01:34 Found a first matching rule
2009-05-23 00:01:34 Found a first matching rule
2009-05-23 00:01:34 Found a first matching rule
2009-05-23 00:01:34 Bad timespec (missing colon or wrong weekdays):
2009-05-23 00:01:34 Weekday does not match
2009-05-23 00:01:34 No more secondary matching rule
2009-05-23 00:01:34 Found a first matching rule
2009-05-23 00:01:34 Weekday does not match
2009-05-23 00:01:34 No more secondary matching rule
2009-05-23 00:01:34 Found a first matching rule
2009-05-23 00:01:34 start,end,current time = 0, 1439, 1 - found=1
2009-05-23 00:01:34 Found a first matching rule
2009-05-23 00:01:34 Weekday does not match
2009-05-23 00:01:34 No more secondary matching rule


3. I tried commented out all the "DOWNTIME" entries in bb-hosts* files, but "Bad timespec ..."
still keep spitting into page.log.


4. Seems to me both DOWNTIME(bb-host*) and TIME (in hobbit-alerts.cfg*) both generate same kind of error message.


T.J. Yang


Insert movie times and more without leaving Hotmail®. 
http://windowslive.com/Tutorial/Hotmail/QuickAdd?ocid=TXT_TAGLM_WL_HM_Tutorial_QuickAdd_062009
list Joost Deheer · Fri, 5 Jun 2009 10:57:10 +0200 ·
quoted from T.J. Yang
My hobbit server is suffering following error message in page.log file.

1. Current error messages in page.log, not like the other problem on this list, I don't have anything after ":" character to help me debug.
page.log is for alerts. Please give your hobbit-alerts.cfg file, without this help is impossible.

Joost
-- 
Joost de Heer, Getronics, user-2f9e177ba6f2@xymon.invalid
PO Box 154, 6400AD  Heerlen, The Netherlands
list T.J. Yang · Fri, 5 Jun 2009 06:45:01 -0500 ·
quoted from Joost Deheer
From: user-2f9e177ba6f2@xymon.invalid
To: user-ae9b8668bcde@xymon.invalid
Date: Fri, 5 Jun 2009 10:57:10 +0200
Subject: [hobbit] RE: Need help on "Bad timespec (missing colon or wrong weekdays):" error message
My hobbit server is suffering following error message in
page.log file.

1. Current error messages in page.log, not like the other
problem on this list, I don't have anything after ":"
character to help me debug.
page.log is for alerts. Please give your hobbit-alerts.cfg file, without this help is impossible.
Joost

both my bb-hosts* and hobbit-alert* INCLUDE subones. I have been focused on checking bb-hosts* files.
I will direct the attention to hobbit-alert* files. Looks like I have one of  TIME macros has syntax error.

Thanks for the good pointer.

tj
quoted from Joost Deheer
Joost
--
Joost de Heer, Getronics, user-2f9e177ba6f2@xymon.invalid
PO Box 154, 6400AD Heerlen, The Netherlands

Hotmail® has ever-growing storage! Don’t worry about storage limits. 
http://windowslive.com/Tutorial/Hotmail/Storage?ocid=TXT_TAGLM_WL_HM_Tutorial_Storage_062009