logmatch is working now!!!
"Kevin Zhang" <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <20A3B15FFC02244484902AB384BDBE0D0171B80C@usexchange4.cblan.mblox.com> |
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 followings: (1) Comment out the snmp_alarm_register section in the routine of "logmatch_parse_config"; (2) Changed the "case LOGMATCH_ERR" to if(logmatch->matchCounter > 0) Long_ret = 1; else Long_ret = 0; return (U_char *) & long_ret; (3) Edited snmpd.conf as trapcommunity xxxxxxxx trapsink qsv-rhmon2 createUser _internal MD5 "the first sign of madness" iquerySecName _internal rouser _internal defaultMonitors yes linkUpDownNotifications yes logmatch test /var/log/testlog 5 .* monitor -r 5 -o logMatchName -o logMatchRegExCompilation "logmatch table" logMatchCounter != 0 Kevin SZ -----Original Message----- From: Wes Hardaker [mailto:[email protected]] Sent: Monday, July 10, 2006 5:47 AM To: Kevin Zhang Cc: [email protected] Subject: Re: logmatch >>>>> 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 getting silly and you've been told multiple times to wait patiently for a response and there is no way to force one out of the list. -- Wes Hardaker Sparta, Inc. ------------------------------------------------------------------------- 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 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ 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