Re: Logfile monitoring

2007-10-03 Thread Joe Warren-Meeks
On 3 Oct 2007, at 03:45, Max wrote: 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

Re: Logfile monitoring

2007-10-03 Thread Dawn Keenan
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

Re: Logfile monitoring

2007-10-03 Thread Max Schubert
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

Re: Logfile monitoring

2007-10-03 Thread John Rouillard
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

Logfile monitoring

2007-10-02 Thread Joe Warren-Meeks
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? For example, every now and then I might get the following in my logfile: MyApplicationAlert: foo not found MyApplicationAlert: bar located So, I

RE: Logfile monitoring

2007-10-02 Thread Mike Ayers
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On 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 not the sort

Re: Logfile monitoring

2007-10-02 Thread Max
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

Re: question on logfile monitoring

2005-02-21 Thread Robert Story
On Sun, 20 Feb 2005 22:36:48 +0100 Denis wrote: DG To have the snmpd daemon send a trap as soon as DG messages containing a certain string are written DG to logfiles. DG Strings like error or warning and so on. DG DG Ah. nope, we don't have anything like that. Shouldn't be too DG hard

RE: question on logfile monitoring

2005-02-20 Thread Denis Grannell
Hi Robert, Monitoring for what? To have the snmpd daemon send a trap as soon as messages containing a certain string are written to logfiles. Strings like error or warning and so on. Ah. nope, we don't have anything like that. Shouldn't be too hard to add, though. Patches

Re: question on logfile monitoring

2005-02-16 Thread Robert Story
On Tue, 15 Feb 2005 18:39:38 +0100 Denis wrote: DG Monitoring for what? DG To have the snmpd daemon send a trap as soon as DG messages containing a certain string are written DG to logfiles. DG Strings like error or warning and so on. Ah. nope, we don't have anything like that. Shouldn't be too

RE: question on logfile monitoring

2005-02-15 Thread Denis Grannell
Hi, Monitoring for what? To have the snmpd daemon send a trap as soon as messages containing a certain string are written to logfiles. Strings like error or warning and so on. See the snmpd.conf man page for how to monitor a file for growth beyond a specified size. I'll look at that.

RE: question on logfile monitoring

2005-02-15 Thread Denis Grannell
Hi, Monitoring for what? To have the snmpd daemon send a trap as soon as messages containing a certain string are written to logfiles. Strings like error or warning and so on. See the snmpd.conf man page for how to monitor a file for growth beyond a specified size. I'll look at that.

Re: question on logfile monitoring

2005-02-14 Thread Robert Story
On Sat, 29 Jan 2005 18:55:54 +0100 Denis wrote: DG I've been searching through the FAQs looking for DG any documentation on the subject of logfile DG monitoring with net-snmp but I haven't found anything. Monitoring for what? See the snmpd.conf man page for how to monitor a file for growth beyond

question on logfile monitoring

2005-01-31 Thread Denis Grannell
Hello, I've been searching through the FAQs looking for any documentation on the subject of logfile monitoring with net-snmp but I haven't found anything. Are there extensions to the agent that implement a file monitoring function? If there is such a beast, where can I read up on it? thanks

question on logfile monitoring

2005-01-29 Thread Denis Grannell
Hello, I've been searching through the FAQs looking for any documentation on the subject of logfile monitoring with net-snmp but I haven't found anything. Are there extensions to the agent that implement a file monitoring function? If there is such a beast, where can I read up on it? thanks