Send trap with logmatch and monitor

2019-12-04 Thread Armando Mártires
view            systemView    included    .1 trapcommunity    private trap2sync              192.168.1.100 logmatch  myLogWatcher    /var/logs/mylog.log    10    FAILED.* monitor -r 5 -o logMarchName "Something failed" logMatchCounter > 0 access     accessGroup    ""    any  

Re: missing information in logmatch trap data

2019-09-13 Thread Thommandra Gowtham
Hi everyone, Can I please get a response on the query? Regards, Gowtham On Tue, Sep 10, 2019, 21:20 Thommandra Gowtham wrote: > Hi > > I am using net-snmp 5.7.3 on Ubuntu and have a few questions regarding > logmatch trap > > - How can we get more information in a logmatch t

missing information in logmatch trap data

2019-09-10 Thread Thommandra Gowtham
Hi I am using net-snmp 5.7.3 on Ubuntu and have a few questions regarding logmatch trap - How can we get more information in a logmatch trap other than the pattern matched? For example if we have below configuration logmatch loginFailure /var/log/auth.log 30 Failed password monitor -r 10 -o

Restarting a process on Linux based on REGEX in LogMatch

2014-04-01 Thread Lists
Hi, I would like to know if it is possible to trigger a process restart based on entries in a log file, using logmatch? I am trying to use logmatch to monitor a log file and look for " ldap_search() failed: Time limit exceeded" and then if that error occurs do something like /sb

Last match text for logMatch

2012-06-15 Thread jregovic
I see there is no MIB entry for tracking the last text matched by a log match entry.Has anyone ever added this? Is this on any road map?It would be incredibly useful when sending traps to send the entire line that matched to an NMS in order to extract fields from the match. ---

5.4.2.1: segfault with logMatch monitor on centos 5.3/5.2

2009-05-08 Thread Shaofeng Yang
snmpd got segfault when I enable the logMatch feature in snmpd.conf. Here is the configuration part logmatch RPCError /var/adm/messages 10 RPC: Timed out notificationEvent TESTLOGMATCH 1.3.6.1.4.1.2021.16 monitor -s -D -r 10 -e TESTLOGMATCH -o logMatchName -o

problems with logmatch in debian etch

2008-11-06 Thread Michael Schwartzkopff
Hi, I used logMatch in OpenSuSE with no problems. Now I switched some servers to debian etch and the logMatch doesn't work any more. The figures are juse "0" always. See output below. Is this a known bug? A feature? Thanks for any enlightening comments. UCD-SNMP-MIB::logMa

logmatch is working now!!!

2006-07-10 Thread Kevin Zhang
Hi Wes, Sorry for the previous emails. I need to be more considerate about the users in this list. However, the good news is that after doing couple of things, Logmatch start to work! I have to modify some areas in logmatch.c and logmatch.h to make it to work. The main things are listed in the

Re: logmatch

2006-07-10 Thread Wes Hardaker
> On Fri, 7 Jul 2006 11:46:59 -0700, "Kevin Zhang" <[EMAIL PROTECTED]> said: Kevin> again If you continue to send you questions every day instead of being patient, we will have to ban you from the list. Which would be a first because we're generally pretty laid back. However, this is gettin

logmatch trap problem

2006-07-09 Thread Kevin Zhang
Hi there,I have been testing logmatch for a while and have some problems.Here is what I did:/etc/snmp/snmpd.confauthtrapenable 1  trapcommunity publictrapsink localhost#trap2sink localhost#informsink localhost

Re: logmatch

2006-07-07 Thread Thomas Anders
Kevin Zhang wrote: > again [...] > Again, can someone help with this? I am using net-snmp-5.3.0.1 and > failed to make it to work. [...] > I need help with how to configure logmatch, could someone help? http://www.net-snmp.org/support/mailinglists.html#guidelines http://www.catb.

RE: logmatch

2006-07-07 Thread Kevin Zhang
again   From: Kevin Zhang Sent: Wednesday, July 05, 2006 9:20 AM To: 'net-snmp-users@lists.sourceforge.net' Subject: RE: logmatch   Again, can someone help with this? I am using net-snmp-5.3.0.1 and failed to make it to work.   Kevin SZ   From: Kevin Z

RE: logmatch

2006-07-06 Thread Kevin Zhang
I really need some help with logmatch. Did anyone succeed to make it to work?   Kevin SZ   From: Kevin Zhang Sent: Monday, July 03, 2006 9:42 AM To: 'net-snmp-users@lists.sourceforge.net' Cc: Kevin Zhang Subject: logmatch   I need help with how to configur

RE: logmatch

2006-07-05 Thread Kevin Zhang
Again, can someone help with this? I am using net-snmp-5.3.0.1 and failed to make it to work.   Kevin SZ   From: Kevin Zhang Sent: Monday, July 03, 2006 9:42 AM To: 'net-snmp-users@lists.sourceforge.net' Cc: Kevin Zhang Subject: logmatch   I need help w

logmatch

2006-07-03 Thread Kevin Zhang
I need help with how to configure logmatch, could someone help?     Kevin SZ Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1

logmatch

2006-06-30 Thread Kevin Zhang
I am going to use logmatch, but don’t know how to Could anyone help?       Kevin SZ Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server

Re: logmatch?

2004-10-08 Thread Dave Shield
[ Sorry for the delay in responding to this ] > I just happened to notice 'logmatch' listed in the MIB; I'm intrigued > (if it does what I think), but there's no doc - can anyone shed some > light on it, short of me just grubbing through the code? You

logmatch?

2004-08-20 Thread Benjamin Ritcey
I just happened to notice 'logmatch' listed in the MIB; I'm intrigued (if it does what I think), but there's no doc - can anyone shed some light on it, short of me just grubbing through the code? Apparently, it's been there since 2001, but I've never h