Xymon Mailing List Archive search

Alert ignore question

7 messages in this thread

list Russell Blumenthal · Wed, 7 May 2014 16:54:35 +0000 ·
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 · Wed, 7 May 2014 17:32:19 +0000 ·
Looks to me like days are week days only not days of the month.

The explanation is in the man page for hosts.cfg.
quoted from Russell Blumenthal

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 · Wed, 11 Jun 2014 07:40:33 -0500 ·
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 · Wed, 11 Jun 2014 13:07:31 +0000 ·
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.
quoted from Kevin VerMeer

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]
quoted from Kevin VerMeer

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 · Wed, 11 Jun 2014 08:34:36 -0500 ·
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.
quoted from Paul Root

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]
quoted from Paul Root

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 · Wed, 11 Jun 2014 13:36:39 +0000 ·
Oh sorry, didn't look at that.

You want the *:2345:0245
quoted from Kevin VerMeer

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 · Wed, 11 Jun 2014 08:38:09 -0500 ·
Thanks again.
I should be able to verify the results tonight.
quoted from Paul Root

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]
quoted from Paul Root

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.