Alert ignore question
list Russell Blumenthal
Is it possible to set an alert to ignore only on the first Tuesday and Wednesday of the month between 6-7am? This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by e-mail and destroy all copies of the original.
list Paul Root
Looks to me like days are week days only not days of the month. The explanation is in the man page for hosts.cfg.
▸
From: Xymon [mailto:xymon-bounces at xymon.com] On Behalf Of Blumenthal, Russell
Sent: Wednesday, May 07, 2014 11:55 AM
To: xymon at xymon.com
Subject: [Xymon] Alert ignore question
Is it possible to set an alert to ignore only on the first Tuesday and Wednesday of the month between 6-7am?
This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by e-mail and destroy all copies of the original.
list Kevin VerMeer
I have one client that has a maintentance window every night.
I have two questions related to the IGNORE alert option.
1. Is the time specified in the IGNORE the server time or the client time?
2. The time I would like to ignore wraps around midnight. Do I need two separate IGNORE statements for that? Below are the pertinent lines in alert.cfg, and an error being generated to /var/log/xymon/alert.log
HOST=* SERVICE=linkthreads COLOR=red
## ignore linkthreads on 10144 for this duration
IGNORE HOST=CCHWOOPNL TIME=2345:0245
SCRIPT /usr/local/xymonutil/alertscripts/daemondown.sh internal REPEAT=15 RECOVERED
2014-06-11 07:41:38 Bad timespec (missing colon or no endtime): 2345:0245
Thanks,
Kevin VerMeer
[cid:image001.jpg at 01CF8537.E6D7C6B0]
XXXX Baker Road, Minnetonka, MN XXXXX
TOLL FREE XXX-XXX-XXXX x 520 | FAX XXX-XXX-XXXX
www.peoplenetonline.com<http://www.peoplenetonline.com/>
PeopleNet is the leading provider of fleet mobility systems to the transportation industry, including truckload, LTL, private, and energy service fleets.
list Paul Root
I'm going to guess on question one. I'd say it would be the servers time, since the evaluation is going on on the server. For the second question, no, you don't need 2. Ignore time wraps around. Paul.
▸
From: Xymon [mailto:xymon-bounces at xymon.com] On Behalf Of Kevin VerMeer
Sent: Wednesday, June 11, 2014 7:41 AM
To: xymon at xymon.com
Subject: [Xymon] alert IGNORE question
I have one client that has a maintentance window every night.
I have two questions related to the IGNORE alert option.
1. Is the time specified in the IGNORE the server time or the client time?
2. The time I would like to ignore wraps around midnight. Do I need two separate IGNORE statements for that? Below are the pertinent lines in alert.cfg, and an error being generated to /var/log/xymon/alert.log
HOST=* SERVICE=linkthreads COLOR=red
## ignore linkthreads on 10144 for this duration
IGNORE HOST=CCHWOOPNL TIME=2345:0245
SCRIPT /usr/local/xymonutil/alertscripts/daemondown.sh internal REPEAT=15 RECOVERED
2014-06-11 07:41:38 Bad timespec (missing colon or no endtime): 2345:0245
Thanks,
Kevin VerMeer
[Description: PeopleNet Logo 2 Color Small]
▸
XXXX Baker Road, Minnetonka, MN XXXXX TOLL FREE XXX-XXX-XXXX x 520 | FAX XXX-XXX-XXXX www.peoplenetonline.com<http://www.peoplenetonline.com/>; PeopleNet is the leading provider of fleet mobility systems to the transportation industry, including truckload, LTL, private, and energy service fleets.
list Kevin VerMeer
Thanks. Any idea on the error message? Is "TIME=2345:0245" valid? That seems to be what the error message is complaining about. Maybe I need the day-of-week specified? Is 1-7: 2345:0245 or *:2345:0245 the right format? I have not been able to find that.
▸
From: Root, Paul T [mailto:user-76fdb6883669@xymon.invalid]
Sent: Wednesday, June 11, 2014 8:08 AM
To: Kevin VerMeer; 'xymon at xymon.com'
Subject: RE: alert IGNORE question
I'm going to guess on question one. I'd say it would be the servers time, since the evaluation is going on on the server.
For the second question, no, you don't need 2. Ignore time wraps around.
Paul.
From: Xymon [mailto:xymon-bounces at xymon.com] On Behalf Of Kevin VerMeer
Sent: Wednesday, June 11, 2014 7:41 AM
To: xymon at xymon.com
Subject: [Xymon] alert IGNORE question
I have one client that has a maintentance window every night.
I have two questions related to the IGNORE alert option.
1. Is the time specified in the IGNORE the server time or the client time?
2. The time I would like to ignore wraps around midnight. Do I need two separate IGNORE statements for that? Below are the pertinent lines in alert.cfg, and an error being generated to /var/log/xymon/alert.log
HOST=* SERVICE=linkthreads COLOR=red
## ignore linkthreads on 10144 for this duration
IGNORE HOST=CCHWOOPNL TIME=2345:0245
SCRIPT /usr/local/xymonutil/alertscripts/daemondown.sh internal REPEAT=15 RECOVERED
2014-06-11 07:41:38 Bad timespec (missing colon or no endtime): 2345:0245
Thanks,
Kevin VerMeer
[cid:image001.jpg at 01CF854E.E603B660]
▸
XXXX Baker Road, Minnetonka, MN XXXXX TOLL FREE XXX-XXX-XXXX x 520 | FAX XXX-XXX-XXXX www.peoplenetonline.com<http://www.peoplenetonline.com/>; PeopleNet is the leading provider of fleet mobility systems to the transportation industry, including truckload, LTL, private, and energy service fleets.
list Paul Root
Oh sorry, didn't look at that. You want the *:2345:0245
▸
From: Kevin VerMeer [mailto:user-169ead9c8f04@xymon.invalid] Sent: Wednesday, June 11, 2014 8:35 AM To: Root, Paul T; 'xymon at xymon.com' Subject: RE: alert IGNORE question Thanks. Any idea on the error message? Is "TIME=2345:0245" valid? That seems to be what the error message is complaining about. Maybe I need the day-of-week specified? Is 1-7: 2345:0245 or *:2345:0245 the right format? I have not been able to find that. From: Root, Paul T [mailto:user-76fdb6883669@xymon.invalid] Sent: Wednesday, June 11, 2014 8:08 AM To: Kevin VerMeer; 'xymon at xymon.com' Subject: RE: alert IGNORE question I'm going to guess on question one. I'd say it would be the servers time, since the evaluation is going on on the server. For the second question, no, you don't need 2. Ignore time wraps around. Paul. From: Xymon [mailto:xymon-bounces at xymon.com] On Behalf Of Kevin VerMeer Sent: Wednesday, June 11, 2014 7:41 AM To: xymon at xymon.com<mailto:xymon at xymon.com> Subject: [Xymon] alert IGNORE question I have one client that has a maintentance window every night. I have two questions related to the IGNORE alert option. 1. Is the time specified in the IGNORE the server time or the client time? 2. The time I would like to ignore wraps around midnight. Do I need two separate IGNORE statements for that? Below are the pertinent lines in alert.cfg, and an error being generated to /var/log/xymon/alert.log HOST=* SERVICE=linkthreads COLOR=red ## ignore linkthreads on 10144 for this duration IGNORE HOST=CCHWOOPNL TIME=2345:0245 SCRIPT /usr/local/xymonutil/alertscripts/daemondown.sh internal REPEAT=15 RECOVERED 2014-06-11 07:41:38 Bad timespec (missing colon or no endtime): 2345:0245 Thanks, Kevin VerMeer [Description: PeopleNet Logo 2 Color Small] XXXX Baker Road, Minnetonka, MN XXXXX TOLL FREE XXX-XXX-XXXX x 520 | FAX XXX-XXX-XXXX www.peoplenetonline.com<http://www.peoplenetonline.com/>; PeopleNet is the leading provider of fleet mobility systems to the transportation industry, including truckload, LTL, private, and energy service fleets.
list Kevin VerMeer
Thanks again. I should be able to verify the results tonight.
▸
From: Root, Paul T [mailto:user-76fdb6883669@xymon.invalid]
Sent: Wednesday, June 11, 2014 8:37 AM
To: Kevin VerMeer; 'xymon at xymon.com'
Subject: RE: alert IGNORE question
Oh sorry, didn't look at that.
You want the *:2345:0245
From: Kevin VerMeer [mailto:user-169ead9c8f04@xymon.invalid]
Sent: Wednesday, June 11, 2014 8:35 AM
To: Root, Paul T; 'xymon at xymon.com'
Subject: RE: alert IGNORE question
Thanks.
Any idea on the error message? Is "TIME=2345:0245" valid? That seems to be what the error message is complaining about.
Maybe I need the day-of-week specified? Is 1-7: 2345:0245 or *:2345:0245 the right format?
I have not been able to find that.
From: Root, Paul T [mailto:user-76fdb6883669@xymon.invalid]
Sent: Wednesday, June 11, 2014 8:08 AM
To: Kevin VerMeer; 'xymon at xymon.com'
Subject: RE: alert IGNORE question
I'm going to guess on question one. I'd say it would be the servers time, since the evaluation is going on on the server.
For the second question, no, you don't need 2. Ignore time wraps around.
Paul.
From: Xymon [mailto:xymon-bounces at xymon.com] On Behalf Of Kevin VerMeer
Sent: Wednesday, June 11, 2014 7:41 AM
To: xymon at xymon.com<mailto:xymon at xymon.com>
Subject: [Xymon] alert IGNORE question
I have one client that has a maintentance window every night.
I have two questions related to the IGNORE alert option.
1. Is the time specified in the IGNORE the server time or the client time?
2. The time I would like to ignore wraps around midnight. Do I need two separate IGNORE statements for that? Below are the pertinent lines in alert.cfg, and an error being generated to /var/log/xymon/alert.log
HOST=* SERVICE=linkthreads COLOR=red
## ignore linkthreads on 10144 for this duration
IGNORE HOST=CCHWOOPNL TIME=2345:0245
SCRIPT /usr/local/xymonutil/alertscripts/daemondown.sh internal REPEAT=15 RECOVERED
2014-06-11 07:41:38 Bad timespec (missing colon or no endtime): 2345:0245
Thanks,
Kevin VerMeer
[cid:image001.jpg at 01CF8550.7974A840]
▸
XXXX Baker Road, Minnetonka, MN XXXXX TOLL FREE XXX-XXX-XXXX x 520 | FAX XXX-XXX-XXXX www.peoplenetonline.com<http://www.peoplenetonline.com/>; PeopleNet is the leading provider of fleet mobility systems to the transportation industry, including truckload, LTL, private, and energy service fleets.