Re: Logfile monitoring

"Max Schubert" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Hi,

> > Behalf Of Joe Warren-Meeks
> > Sent: Tuesday, October 02, 2007 8:11 AM
>
> > Is it possible to configure net-snmp to tail a logfile and each time
> > it finds a regexp match, send a trap with the text to a traphost?

This is a TODO on the Net-SNMP development page:

Log File Monitoring
TODO

    file FILE [MAXSIZE]

    logmatch NAME PATH CYCLETIME REGEX

The only commercial agent I like as much as Net-SNMP does log file
monitoring well (feel free to write me off list if interested in the
name) .. but it is expensive ($2-3k).

There are (as Mike suggested) many external tools that do log
monitoring well, I maintain one (it is GPL/$0) that is pretty
lightweight and flexible, LMF

http://lmf.sf.net/

I agree with Mikes' suggestions for integration of a log file monitor
with SNMP, ideally having redistributable code (rather than a separate
tool like LMF) that can be packaged with your agent for the hosts you
monitor if you monitor a large number of hosts makes maintenance
easier.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.