Possible bugs in NET-SNMP ver5.6 release

"Matsushita, Nobuo" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <E91527EDBCDB854FBDA657672EE386CA42220B3D@TCHEXMBCCR2.thechildrenshospital.org>
HI,

After the installation of net-snmp ver. 5.6 (This is under Solaris 10), I started testing it  with DISMAN-EVENT-MIB. In my snmpd.conf, I have following configurations:


disk  /var  99%
monitor -i -r 300 -o dskPath.3 -o dskErrorMsg.3 "Var " dskErrorFlag.3 != 0
repeat 200 UCD-SNMP-MIB::versionUpdateConfig.0 = 1

And I captured traps using tcpdump. I am attaching this information at bottom of this email.

It looks like working first 2 "repeat". But after 2nd "repeat", snmpd is sending multiple traps on same information within a few milliseconds.  After 7th "repeat", it looks like snmpd is resetting.

Is this a bug or my configuration errors?

Thanks in advance

Nobuo

Following are tcpdump information:

 08:44:21.708510 IP unixtst02.51638 > nagiosl3.snmptrap:  V2Trap(80)  system.sysUpTime.0=11 S:1.1.4.1.0=S:1.1.5.1 S:1.1.4.3.0=E:8072.3.2.3
08:44:21.721185 IP unixtst02.51638 > nagiosl3.snmptrap:  V2Trap(221)  system.sysUpTime.0=12 S:1.1.4.1.0=88.2.0.1 88.2.1.1.0="Root " 88.2.1.2.0="" 88.2.1.3.0="" 88.2.1.4.0=E:2021.9.1.100.2 88.2.1.5.0=1 E:2021.9.1.2.2="/var" E:2021.9.1.101.2="/var: less than 99% free (= 5%)"


08:47:41.697123 IP unixtst02.51640 > nagiosl3.snmptrap:  V2Trap(222)  system.sysUpTime.0=20010 S:1.1.4.1.0=88.2.0.1 88.2.1.1.0="Root " 88.2.1.2.0="" 88.2.1.3.0="" 88.2.1.4.0=E:2021.9.1.100.2 88.2.1.5.0=1 E:2021.9.1.2.2="/var" E:2021.9.1.101.2="/var: less than 99% free (= 5%)"




08:51:01.700803 IP unixtst02.51644 > nagiosl3.snmptrap:  V2Trap(223)  system.sysUpTime.0=40010 S:1.1.4.1.0=88.2.0.1 88.2.1.1.0="Root " 88.2.1.2.0="" 88.2.1.3.0="" 88.2.1.4.0=E:2021.9.1.100.2 88.2.1.5.0=1 E:2021.9.1.2.2="/var" E:2021.9.1.101.2="/var: less than 99% free (= 5%)"


Start sending multiple traps

08:54:21.705230 IP unixtst02.51652 > nagiosl3.snmptrap:  V2Trap(223)  system.sysUpTime.0=60011 S:1.1.4.1.0=88.2.0.1 88.2.1.1.0="Root " 88.2.1.2.0="" 88.2.1.3.0="" 88.2.1.4.0=E:2021.9.1.100.2 88.2.1.5.0=1 E:2021.9.1.2.2="/var" E:2021.9.1.101.2="/var: less than 99% free (= 5%)"
08:54:22.072587 IP unixtst02.51654 > nagiosl3.snmptrap:  V2Trap(223)  system.sysUpTime.0=60048 S:1.1.4.1.0=88.2.0.1 88.2.1.1.0="Root " 88.2.1.2.0="" 88.2.1.3.0="" 88.2.1.4.0=E:2021.9.1.100.2 88.2.1.5.0=1 E:2021.9.1.2.2="/var" E:2021.9.1.101.2="/var: less than 99% free (= 5%)"



08:57:41.721073 IP unixtst02.51669 > nagiosl3.snmptrap:  V2Trap(223)  system.sysUpTime.0=80013 S:1.1.4.1.0=88.2.0.1 88.2.1.1.0="Root " 88.2.1.2.0="" 88.2.1.3.0="" 88.2.1.4.0=E:2021.9.1.100.2 88.2.1.5.0=1 E:2021.9.1.2.2="/var" E:2021.9.1.101.2="/var: less than 99% free (= 5%)"
08:57:42.091624 IP unixtst02.51673 > nagiosl3.snmptrap:  V2Trap(223)  system.sysUpTime.0=80050 S:1.1.4.1.0=88.2.0.1 88.2.1.1.0="Root " 88.2.1.2.0="" 88.2.1.3.0="" 88.2.1.4.0=E:2021.9.1.100.2 88.2.1.5.0=1 E:2021.9.1.2.2="/var" E:2021.9.1.101.2="/var: less than 99% free (= 5%)"



09:01:01.758247 IP unixtst02.51699 > nagiosl3.snmptrap:  V2Trap(223)  system.sysUpTime.0=100016 S:1.1.4.1.0=88.2.0.1 88.2.1.1.0="Root " 88.2.1.2.0="" 88.2.1.3.0="" 88.2.1.4.0=E:2021.9.1.100.2 88.2.1.5.0=1 E:2021.9.1.2.2="/var" E:2021.9.1.101.2="/var: less than 99% free (= 5%)"
09:01:02.159093 IP unixtst02.51707 > nagiosl3.snmptrap:  V2Trap(223)  system.sysUpTime.0=100057 S:1.1.4.1.0=88.2.0.1 88.2.1.1.0="Root " 88.2.1.2.0="" 88.2.1.3.0="" 88.2.1.4.0=E:2021.9.1.100.2 88.2.1.5.0=1 E:2021.9.1.2.2="/var" E:2021.9.1.101.2="/var: less than 99% free (= 5%)"



09:04:21.756622 IP unixtst02.51729 > nagiosl3.snmptrap:  V2Trap(223)  system.sysUpTime.0=120016 S:1.1.4.1.0=88.2.0.1 88.2.1.1.0="Root " 88.2.1.2.0="" 88.2.1.3.0="" 88.2.1.4.0=E:2021.9.1.100.2 88.2.1.5.0=1 E:2021.9.1.2.2="/var" E:2021.9.1.101.2="/var: less than 99% free (= 5%)"
09:04:21.764912 IP unixtst02.51733 > nagiosl3.snmptrap:  V2Trap(223)  system.sysUpTime.0=120017 S:1.1.4.1.0=88.2.0.1 88.2.1.1.0="Root " 88.2.1.2.0="" 88.2.1.3.0="" 88.2.1.4.0=E:2021.9.1.100.2 88.2.1.5.0=1 E:2021.9.1.2.2="/var" E:2021.9.1.101.2="/var: less than 99% free (= 5%)"
09:04:21.773746 IP unixtst02.51737 > nagiosl3.snmptrap:  V2Trap(223)  system.sysUpTime.0=120018 S:1.1.4.1.0=88.2.0.1 88.2.1.1.0="Root " 88.2.1.2.0="" 88.2.1.3.0="" 88.2.1.4.0=E:2021.9.1.100.2 88.2.1.5.0=1 E:2021.9.1.2.2="/var" E:2021.9.1.101.2="/var: less than 99% free (= 5%)"
09:04:21.783085 IP unixtst02.51741 > nagiosl3.snmptrap:  V2Trap(223)  system.sysUpTime.0=120019 S:1.1.4.1.0=88.2.0.1 88.2.1.1.0="Root " 88.2.1.2.0="" 88.2.1.3.0="" 88.2.1.4.0=E:2021.9.1.100.2 88.2.1.5.0=1 E:2021.9.1.2.2="/var" E:2021.9.1.101.2="/var: less than 99% free (= 5%)"
09:04:21.794913 IP unixtst02.51747 > nagiosl3.snmptrap:  V2Trap(223)  system.sysUpTime.0=120020 S:1.1.4.1.0=88.2.0.1 88.2.1.1.0="Root " 88.2.1.2.0="" 88.2.1.3.0="" 88.2.1.4.0=E:2021.9.1.100.2 88.2.1.5.0=1 E:2021.9.1.2.2="/var" E:2021.9.1.101.2="/var: less than 99% free (= 5%)"
09:04:21.810242 IP unixtst02.51755 > nagiosl3.snmptrap:  V2Trap(223)  system.sysUpTime.0=120022 S:1.1.4.1.0=88.2.0.1 88.2.1.1.0="Root " 88.2.1.2.0="" 88.2.1.3.0="" 88.2.1.4.0=E:2021.9.1.100.2 88.2.1.5.0=1 E:2021.9.1.2.2="/var" E:2021.9.1.101.2="/var: less than 99% free (= 5%)"
09:04:21.818677 IP unixtst02.51759 > nagiosl3.snmptrap:  V2Trap(223)  system.sysUpTime.0=120023 S:1.1.4.1.0=88.2.0.1 88.2.1.1.0="Root " 88.2.1.2.0="" 88.2.1.3.0="" 88.2.1.4.0=E:2021.9.1.100.2 88.2.1.5.0=1 E:2021.9.1.2.2="/var" E:2021.9.1.101.2="/var: less than 99% free (= 5%)"
09:04:21.825865 IP unixtst02.51761 > nagiosl3.snmptrap:  V2Trap(223)  system.sysUpTime.0=120023 S:1.1.4.1.0=88.2.0.1 88.2.1.1.0="Root " 88.2.1.2.0="" 88.2.1.3.0="" 88.2.1.4.0=E:2021.9.1.100.2 88.2.1.5.0=1 E:2021.9.1.2.2="/var" E:2021.9.1.101.2="/var: less than 99% free (= 5%)"
09:04:22.243748 IP unixtst02.51777 > nagiosl3.snmptrap:  V2Trap(223)  system.sysUpTime.0=120065 S:1.1.4.1.0=88.2.0.1 88.2.1.1.0="Root " 88.2.1.2.0="" 88.2.1.3.0="" 88.2.1.4.0=E:2021.9.1.100.2 88.2.1.5.0=1 E:2021.9.1.2.2="/var" E:2021.9.1.101.2="/var: less than 99% free (= 5%)"

At the end of this (following output) sessions, it looks like resetting snmpd process

09:07:41.762582 IP unixtst02.51795 > nagiosl3.snmptrap:  V2Trap(223)  system.sysUpTime.0=140017 S:1.1.4.1.0=88.2.0.1 88.2.1.1.0="Root " 88.2.1.2.0="" 88.2.1.3.0="" 88.2.1.4.0=E:2021.9.1.100.2 88.2.1.5.0=1 E:2021.9.1.2.2="/var" E:2021.9.1.101.2="/var: less than 99% free (= 5%)"
09:07:41.778255 IP unixtst02.51801 > nagiosl3.snmptrap:  V2Trap(223)  system.sysUpTime.0=140019 S:1.1.4.1.0=88.2.0.1 88.2.1.1.0="Root " 88.2.1.2.0="" 88.2.1.3.0="" 88.2.1.4.0=E:2021.9.1.100.2 88.2.1.5.0=1 E:2021.9.1.2.2="/var" E:2021.9.1.101.2="/var: less than 99% free (= 5%)"
09:07:41.790186 IP unixtst02.51805 > nagiosl3.snmptrap:  V2Trap(223)  system.sysUpTime.0=140020 S:1.1.4.1.0=88.2.0.1 88.2.1.1.0="Root " 88.2.1.2.0="" 88.2.1.3.0="" 88.2.1.4.0=E:2021.9.1.100.2 88.2.1.5.0=1 E:2021.9.1.2.2="/var" E:2021.9.1.101.2="/var: less than 99% free (= 5%)"
09:07:41.939646 IP unixtst02.51863 > nagiosl3.snmptrap:  V2Trap(223)  system.sysUpTime.0=140035 S:1.1.4.1.0=88.2.0.1 88.2.1.1.0="Root " 88.2.1.2.0="" 88.2.1.3.0="" 88.2.1.4.0=E:2021.9.1.100.2 88.2.1.5.0=1 E:2021.9.1.2.2="/var" E:2021.9.1.101.2="/var: less than 99% free (= 5%)"
09:07:41.990115 IP unixtst02.51879 > nagiosl3.snmptrap:  V2Trap(223)  system.sysUpTime.0=140040 S:1.1.4.1.0=88.2.0.1 88.2.1.1.0="Root " 88.2.1.2.0="" 88.2.1.3.0="" 88.2.1.4.0=E:2021.9.1.100.2 88.2.1.5.0=1 E:2021.9.1.2.2="/var" E:2021.9.1.101.2="/var: less than 99% free (= 5%)"
09:07:43.534683 IP unixtst02.51895 > nagiosl3.snmptrap:  V2Trap(80)  system.sysUpTime.0=12 S:1.1.4.1.0=S:1.1.5.1 S:1.1.4.3.0=E:8072.3.2.3
09:07:43.562786 IP unixtst02.51895 > nagiosl3.snmptrap:  V2Trap(221)  system.sysUpTime.0=15 S:1.1.4.1.0=88.2.0.1 88.2.1.1.0="Root " 88.2.1.2.0="" 88.2.1.3.0="" 88.2.1.4.0=E:2021.9.1.100.2 88.2.1.5.0=1 E:2021.9.1.2.2="/var" E:2021.9.1.101.2="/var: less than 99% free (= 5%)"


Next couple sessions are OK


09:11:03.529509 IP unixtst02.51916 > nagiosl3.snmptrap:  V2Trap(222)  system.sysUpTime.0=20012 S:1.1.4.1.0=88.2.0.1 88.2.1.1.0="Root " 88.2.1.2.0="" 88.2.1.3.0="" 88.2.1.4.0=E:2021.9.1.100.2 88.2.1.5.0=1 E:2021.9.1.2.2="/var" E:2021.9.1.101.2="/var: less than 99% free (= 5%)"



09:14:23.533594 IP unixtst02.51934 > nagiosl3.snmptrap:  V2Trap(223)  system.sysUpTime.0=40012 S:1.1.4.1.0=88.2.0.1 88.2.1.1.0="Root " 88.2.1.2.0="" 88.2.1.3.0="" 88.2.1.4.0=E:2021.9.1.100.2 88.2.1.5.0=1 E:2021.9.1.2.2="/var" E:2021.9.1.101.2="/var: less than 99% free (= 5%)"

Start sending multiple traps again

09:17:43.537862 IP unixtst02.51951 > nagiosl3.snmptrap:  V2Trap(223)  system.sysUpTime.0=60013 S:1.1.4.1.0=88.2.0.1 88.2.1.1.0="Root " 88.2.1.2.0="" 88.2.1.3.0="" 88.2.1.4.0=E:2021.9.1.100.2 88.2.1.5.0=1 E:2021.9.1.2.2="/var" E:2021.9.1.101.2="/var: less than 99% free (= 5%)"
09:17:43.901286 IP unixtst02.51953 > nagiosl3.snmptrap:  V2Trap(223)  system.sysUpTime.0=60049 S:1.1.4.1.0=88.2.0.1 88.2.1.1.0="Root " 88.2.1.2.0="" 88.2.1.3.0="" 88.2.1.4.0=E:2021.9.1.100.2 88.2.1.5.0=1 E:2021.9.1.2.2="/var" E:2021.9.1.101.2="/var: less than 99% free (= 5%)"



09:21:03.538771 IP unixtst02.51962 > nagiosl3.snmptrap:  V2Trap(223)  system.sysUpTime.0=80013 S:1.1.4.1.0=88.2.0.1 88.2.1.1.0="Root " 88.2.1.2.0="" 88.2.1.3.0="" 88.2.1.4.0=E:2021.9.1.100.2 88.2.1.5.0=1 E:2021.9.1.2.2="/var" E:2021.9.1.101.2="/var: less than 99% free (= 5%)"
09:21:03.908876 IP unixtst02.51966 > nagiosl3.snmptrap:  V2Trap(223)  system.sysUpTime.0=80050 S:1.1.4.1.0=88.2.0.1 88.2.1.1.0="Root " 88.2.1.2.0="" 88.2.1.3.0="" 88.2.1.4.0=E:2021.9.1.100.2 88.2.1.5.0=1 E:2021.9.1.2.2="/var" E:2021.9.1.101.2="/var: less than 99% free (= 5%)"
09:21:03.913223 IP unixtst02.51968 > nagiosl3.snmptrap:  V2Trap(223)  system.sysUpTime.0=80051 S:1.1.4.1.0=88.2.0.1 88.2.1.1.0="Root " 88.2.1.2.0="" 88.2.1.3.0="" 88.2.1.4.0=E:2021.9.1.100.2 88.2.1.5.0=1 E:2021.9.1.2.2="/var" E:2021.9.1.101.2="/var: less than 99% free (= 5%)"
09:21:03.920115 IP unixtst02.51972 > nagiosl3.snmptrap:  V2Trap(223)  system.sysUpTime.0=80051 S:1.1.4.1.0=88.2.0.1 88.2.1.1.0="Root " 88.2.1.2.0="" 88.2.1.3.0="" 88.2.1.4.0=E:2021.9.1.100.2 88.2.1.5.0=1 E:2021.9.1.2.2="/var" E:2021.9.1.101.2="/var: less than 99% free (= 5%)"





</pre>---------------------------------------------------------------------------------------------------------------------<br>
CONFIDENTIALITY NOTICE: This e-mail is confidential, may be legally privileged, <br>
and for the intended recipient only. Access, disclosure, copying, forwarding and <br>
distribution by any means is strictly prohibited. If received in error, <br>
do not read but delete and e-mail confirmation to the sender. <br> 
==========================================================<br><pre>

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb

_______________________________________________
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.