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
logMatchFileName -o logMatchCurrentCount -o logMatchRegEx "Log Match"
!= logMatchCurrentCount -u internal
----------------------------

Actually, it doesn't happen if i just comment out the "monitor" line.
In this case, I can see oid defined for logMatch.

The snmpd.conf configuration file also works with PrTable and
DskTable, I have not seen any problem for those two so far.

Here is the configure command:

./configure --prefix=/opt/snmp --with-perl-modules
--with-mibs="IP-MIB:IF-MIB:TCP-MIB:UDP-MIB:SNMPv2-MIB:RFC1213-MIB:"
--with-mib-modules="disman/event disman/schedule host ucd-snmp/diskio
ucd_snmp ucd-snmp/disk ucd-snmp/proc ucd-snmp/logmatch mibII smux
agent_mibs"   --with-default-snmp-version="2"
--with-logfile="/var/log/snmpd.log"


The /var/log/messages shows the following segfault:

snmpd[24353]: segfault at 0000000000000002 rip 00002b053049713a rsp
00007fff7aacfb50 error 4


I'd really appreciate if you guys can  give me some hints or the fix.

Regards,

James

------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to