Xymon Mailing List Archive search

Ignore pattern help

4 messages in this thread

list Paul Root · Tue, 11 Dec 2012 16:54:22 +0000 ·
I have this line in the analsys.cfg file:

        LOG /opt/netcool/omnibus/log/MNS_NFMS_GW.log Error: COLOR=red IGNORE="%Writer|Reader|SQL"

And when this line shows up:

12/11/12 06:37:07: Error: E-NGOBJSE-102-140: [ngobjserv]: ObjectServerA: No results have been returned in response to the cache details select SQL command. (0:No error)

We get paged.

I've changed the ignore pattern to "%Writer|%Reader|%SQL". This is a new error, that isn't an error for us.

Will that change work, or does anyone have a better pattern?

Thanks,
Paul.
list John Rothlisberger · Tue, 11 Dec 2012 17:03:51 +0000 ·
Drop the double quotes (I don't use them):

LOG /opt/netcool/omnibus/log/MNS_NFMS_GW.log Error: COLOR=red IGNORE=%Writer|Reader|SQL

If not that, is there another LOG rule that could be picking up the error and generating the page?
Thanks,
John
Upcoming PTO: None
John Rothlisberger
IT Strategy, Infrastructure & Security - Technology Growth Platform
TGP for Business Process Outsourcing
Accenture
XXX.XXX.XXXX office
quoted from Paul Root

From: xymon-bounces at xymon.com [mailto:xymon-bounces at xymon.com] On Behalf Of Root, Paul
Sent: Tuesday, December 11, 2012 10:54 AM
To: 'xymon >> xymon at xymon.com'
Subject: [Xymon] Ignore pattern help

I have this line in the analsys.cfg file:

        LOG /opt/netcool/omnibus/log/MNS_NFMS_GW.log Error: COLOR=red IGNORE="%Writer|Reader|SQL"

And when this line shows up:

12/11/12 06:37:07: Error: E-NGOBJSE-102-140: [ngobjserv]: ObjectServerA: No results have been returned in response to the cache details select SQL command. (0:No error)

We get paged.

I've changed the ignore pattern to "%Writer|%Reader|%SQL". This is a new error, that isn't an error for us.

Will that change work, or does anyone have a better pattern?

Thanks,
Paul.


This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of the e-mail by you is prohibited.

Where allowed by local law, electronic communications with Accenture and its affiliates, including e-mail and instant messaging (including content), may be scanned by our systems for the purposes of information security and assessment of internal compliance with Accenture policy.


www.accenture.com
list David Baldwin · Wed, 12 Dec 2012 10:21:50 +1100 ·
Paul,

I've just been picking up a few of these I had wrong too. I really
should set up a syntax checker on my config files to alert me to these ...
quoted from John Rothlisberger
I have this line in the analsys.cfg file:

 
        LOG /opt/netcool/omnibus/log/MNS_NFMS_GW.log Error: COLOR=red
IGNORE="%Writer|Reader|SQL"
The correct form for IGNORE with quotes (or anything else - EXHOST, etc)
is around the whole option - so:

"IGNORE=%Writer|Reader|SQL"

If you don't have any spaces you can dispense with the double quotes as
someone suggested, but you're likely going to want to handle them some
time...

David.
quoted from John Rothlisberger
 
And when this line shows up:

 
12/11/12 06:37:07: Error: E-NGOBJSE-102-140: [ngobjserv]:
ObjectServerA: No results have been returned in response to the cache
details select SQL command. (0:No error)

 
We get paged.

 
I’ve changed the ignore pattern to “%Writer|%Reader|%SQL”. This is a
new error, that isn’t an error for us.

 
Will that change work, or does anyone have a better pattern?

 
Thanks,

Paul.

 
-- 

David Baldwin - Senior Systems Administrator (Datacentres + Networks)
Information and Communication Technology Services
Australian Sports Commission          http://ausport.gov.au
Tel 02 62147830 Fax 02 62141830       PO Box 176 Belconnen ACT 2616
user-cbbf693f2c89@xymon.invalid          Leverrier Street Bruce ACT 2617


Keep up to date with what's happening in Australian sport visit http://www.ausport.gov.au

This message is intended for the addressee named and may contain confidential and privileged information. If you are not the intended recipient please note that any form of distribution, copying or use of this communication or the information in it is strictly prohibited and may be unlawful. If you receive this message in error, please delete it and notify the sender.
list Paul Root · Wed, 12 Dec 2012 03:57:47 +0000 ·
Thanks David.
quoted from David Baldwin

From: David Baldwin [mailto:user-cbbf693f2c89@xymon.invalid]
Sent: Tuesday, December 11, 2012 5:22 PM
To: Root, Paul
Cc: 'xymon >> xymon at xymon.com'
Subject: Re: [Xymon] Ignore pattern help

Paul,

I've just been picking up a few of these I had wrong too. I really should set up a syntax checker on my config files to alert me to these ...
I have this line in the analsys.cfg file:

        LOG /opt/netcool/omnibus/log/MNS_NFMS_GW.log Error: COLOR=red IGNORE="%Writer|Reader|SQL"

The correct form for IGNORE with quotes (or anything else - EXHOST, etc) is around the whole option - so:

"IGNORE=%Writer|Reader|SQL"

If you don't have any spaces you can dispense with the double quotes as someone suggested, but you're likely going to want to handle them some time...

David.


And when this line shows up:

12/11/12 06:37:07: Error: E-NGOBJSE-102-140: [ngobjserv]: ObjectServerA: No results have been returned in response to the cache details select SQL command. (0:No error)

We get paged.

I’ve changed the ignore pattern to “%Writer|%Reader|%SQL”. This is a new error, that isn’t an error for us.

Will that change work, or does anyone have a better pattern?

Thanks,
Paul.


--

David Baldwin - Senior Systems Administrator (Datacentres + Networks)

Information and Communication Technology Services

Australian Sports Commission          http://ausport.gov.au

Tel 02 62147830 Fax 02 62141830       PO Box 176 Belconnen ACT 2616

user-cbbf693f2c89@xymon.invalid<mailto:user-cbbf693f2c89@xymon.invalid>          Leverrier Street Bruce ACT 2617

Keep up to date with what's happening in Australian sport visit www.ausport.gov.au<http://www.ausport.gov.au>;
quoted from David Baldwin

This message is intended for the addressee named and may contain confidential and privileged information. If you are not the intended recipient please note that any form of distribution, copying or use of this communication or the information in it is strictly prohibited and may be unlawful. If you receive this message in error, please delete it and notify the sender.