We are not getting alerts for the word "error" appearing in /var/adm/messages. How would we go about troubleshooting this?
Regards,
Nick
Do you want to match just "error" or error, Error and ERROR - it is down to the regexp used in analysis.cfg provided you are monitoring the log in client-local.cfg.
%error wuill match all instances.
-----Original Message----- From: xymon-bounces at xymon.com [mailto:xymon-bounces at xymon.com] On Behalf Of Nick Pettefar Sent: 11 December 2012 16:44 To: xymon Subject: [Xymon] Troubleshooting
We are not getting alerts for the word "error" appearing in /var/adm/messages. How would we go about troubleshooting this?
Regards,
Nick
Xymon mailing list Xymon at xymon.com http://lists.xymon.com/mailman/listinfo/xymon
The information contained in this email is intended only for the use of the intended recipient at the email address to which it has been addressed. If the reader of this message is not an intended recipient, you are hereby notified that you have received this document in error and that any review, dissemination or copying of the message or associated attachments is strictly prohibited. If you have received this email in error, please contact the sender by return email or call 01793 877777 and ask for the sender and then delete it immediately from your system.Please note that neither the RWE Group of Companies nor the sender accepts any responsibility for viruses and it is your responsibility to scan attachments (if any).
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
pcretest helps one to test whether or not they're on track with their regex's (and Perl-compatible is the type of regex used here). It's been awhile since I used it, but I believe you type a string you're looking for and then enter the regex and it will tell you if it matches.
Incidentally, your opening message wasn't terribly clear -- I skipped it 'cuz I wasn't sure what it meant.
On 12/11/2012 12:06 PM, Chris.Morris at rwe.com wrote:
Do you want to match just "error" or error, Error and ERROR - it is down to the regexp used in analysis.cfg provided you are monitoring the log in client-local.cfg.
%error wuill match all instances.
-----Original Message----- From: xymon-bounces at xymon.com [mailto:xymon-bounces at xymon.com] On Behalf Of Nick Pettefar Sent: 11 December 2012 16:44 To: xymon Subject: [Xymon] Troubleshooting
We are not getting alerts for the word "error" appearing in /var/adm/messages. How would we go about troubleshooting this?
Regards,
Nick _______________________________________________ Xymon mailing list Xymon at xymon.com http://lists.xymon.com/mailman/listinfo/xymon
The information contained in this email is intended only for the
use of the intended recipient at the email address to which it has been addressed. If the reader of this message is not an intended recipient, you are hereby notified that you have received this document in error and that any review, dissemination or copying of the message or associated attachments is strictly prohibited. If you have received this email in error, please contact the sender by return email or call 01793 877777 and ask for the sender and then delete it immediately from your system.Please note that neither the RWE Group of Companies nor the sender accepts any responsibility for viruses and it is your responsibility to scan attachments (if any).
_______________________________________________ Xymon mailing list Xymon at xymon.com http://lists.xymon.com/mailman/listinfo/xymon
- ---- _ _ _ _ ___ _ _ _ |Y#| | | |\/| | \ |\ | | |Ryan Novosielski - Sr. Systems Programmer |$&| |__| | | |__/ | \| _| |novosirj at umdnj.edu - 973/972.0922 (2-0922) \__/ Univ. of Med. and Dent.|IST/EI-Academic Svcs. - ADMC 450, Newark -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with undefined - http://www.enigmail.net/
iEYEARECAAYFAlDHbFUACgkQmb+gadEcsb6BnwCggcfktHZ0XwNXoGZsgaY3myty wlkAniO08MGZULe0H6z+ONkO0t8vkOuQ =C2JM -----END PGP SIGNATURE-----
Do you have a rule in analysis.cfg telling Xymon to look for "error"? You need one, it would look something like this:
CLASS=aix LOG /var/adm/messages "%(error|critical)" COLOR=red IGNORE="%(vgptool|Cannot open logfile)" LOG /var/adm/messages "%(warning)" COLOR=yellow
Thanks, Larry Barber
On Tue, Dec 11, 2012 at 10:43 AM, Nick Pettefar <Nick at pettefar.com> wrote:
We are not getting alerts for the word "error" appearing in /var/adm/messages. How would we go about troubleshooting this?
Regards,
Nick
Xymon mailing list Xymon at xymon.com http://lists.xymon.com/mailman/listinfo/xymon
participants (4)
-
Chris.Morris@rwe.com
-
lebarber@gmail.com
-
Nick@Pettefar.com
-
novosirj@umdnj.edu