Google Answers Logo
View Question
Q: SNMP trapping log file messages? ( No Answer,   0 Comments )
Subject: SNMP trapping log file messages?
Category: Computers > Operating Systems
Asked by: lost_and_found-ga
List Price: $10.00
Posted: 14 Aug 2006 10:47 PDT
Expires: 13 Sep 2006 10:47 PDT
Question ID: 755885
How can I trigger an SNMP trap if a particular string shows up in a
log file on a unix host?

For example, let's say I have an application that writes an error
"critical alert: blah" to /var/log/blah.  I'd like to have some way to
trigger an snmptrap that will notify another host.

I can find plenty of info about how to trigger traps for conditions
that are pre-defined in a MIB, but I'm confused how I'd trigger a
trap for something of this sort that is arbitrary and undefined.
There is no answer at this time.

There are no comments at this time.

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  

Google Home - Answers FAQ - Terms of Service - Privacy Policy