Re: Logfile monitoring
Max <[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. - Max ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ 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