Re: Logfile monitoring

John Rouillard <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
On Tue, Oct 02, 2007 at 04:28:29PM -0400, Dawn Keenan wrote:
> Joe Warren-Meeks wrote:
> > Hey guys,
> > 
> > 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?
> 
> The Perl module File::Tail (find it on CPAN) or one of the logtail 
> programs (logtail.org and fourmilab.ch have different versions) might 
> come in handy.

Also you can ue SEC (Simple event correlator) at
<http://www.estpak.ee/~risto/sec/> to analyze the log files and use
snmptrap to send a trap when you sense a problem.

--
				-- rouilj

John Rouillard
System Administrator
Renesys Corporation
603-643-9300 x 111

-------------------------------------------------------------------------
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.