Thanks for the information. It was very helpful.

Compiled net-snmp software with new version v5.2-rc1
----------------------------------------------------------------------------

Also changed the monitor directives to use the -i switch with the individual OID instead of the group OID.

Spurious traps are no longer received.

However, duplicate traps are received (same timestamp) with a 127.0.0.1 trap source address instead of the actual trap source address. The older version of the software did not have this issue.
NOW 4 traps are received instead of the expected 1 traps for monitor directives.
2 traps are received for a coldstart instead of 1 trap.



Am I missing something in the snmpd.conf or is this a software related issue ?


SNMP Versions Supported: 1 2c 3
Net-SNMP Version: 5.2.rc1
Building for: solaris2
Network transport support: Callback Unix TCP UDP
SNMPv3 Security Modules: usm
Agent MIB code: mibII ucd_snmp snmpv3mibs notification target agen
t_mibs agentx utilities host disman/event-mib ucd-snmp/diskio smux agentx mibII/
mta_sendmail
SNMP Perl modules: disabled
Embedded perl support: disabled
Authentication support: MD5
Encryption support:


Thanks for your assistance.

Nancy S

Here is an example of a trap received at the SNMP management station from the SNMP agent which reports an IP of 127.0.0.1. Also, 4 traps instead of the expected 1 trap (with identical time stamp).

20041027 155511 SNMP 127.0.0.1 Trap(dismanEventMIBNotificationPrefix-6.1) mteHotTrigger="var File System" mteHotTargetName= mteHotContextName= mteHotOID=dskErrorFlag.3 mteHotValue=1 dskPath.3=/var dskErrorMsg.3="/var: less than 90% free (= 18%)" Addr:000.49.2.4 Int:6 Int:1 Tick:00:02:00
20041027 155511 SNMP 127.0.0.1 Trap(dismanEventMIBNotificationPrefix-6.1) mteHotTrigger="var File System" mteHotTargetName= mteHotContextName= mteHotOID=dskErrorFlag.3 mteHotValue=1 dskPath.3=/var dskErrorMsg.3="/var: less than 90% free (= 18%)" Addr:000.49.2.4 Int:6 Int:1 Tick:00:02:00
20041027 155511 SNMP 127.0.0.1 Trap(dismanEventMIBNotificationPrefix-6.1) mteHotTrigger="var File System" mteHotTargetName= mteHotContextName= mteHotOID=dskErrorFlag.3 mteHotValue=1 dskPath.3=/var dskErrorMsg.3="/var: less than 90% free (= 18%)" Addr:000.49.2.4 Int:6 Int:1 Tick:00:02:00
20041027 155511 SNMP 127.0.0.1 Trap(dismanEventMIBNotificationPrefix-6.1) mteHotTrigger="var File System" mteHotTargetName= mteHotContextName= mteHotOID=dskErrorFlag.3 mteHotValue=1 dskPath.3=/var dskErrorMsg.3="/var: less than 90% free (= 18%)" Addr:000.49.2.4 Int:6 Int:1 Tick:00:02:00
20041027 155311 SNMP 127.0.0.1 Trap(coldStart) Addr:000.49.2.4 Int:0 Int:0 Tick:00:00:00
20041027 155311 SNMP 127.0.0.1 Trap(coldStart) Addr:000.49.2.4 Int:0 Int:0 Tick:00:00:00
20041027 154945 SNMP Trap Server Plugin: Started listening (162)




From: Bruce Shaw <[EMAIL PROTECTED]>
To: 'Nancy S' <[EMAIL PROTECTED]>, [EMAIL PROTECTED]
Subject: RE: Net-SNMP v 5.1.2 - Spurious traps for trap directives - Solaris 2.8 Date: Fri, 22 Oct 2004 15:17:56 -0600


This is a known bug that has been fixed in 5.2 and the 5.1 stream on CVS.
See the long explanation in README.solaris (CVS version).
(http://cvs.sourceforge.net/viewcvs.py/net-snmp/net-snmp/README.solaris?view
=markup)

>Solaris trap issues - lots of spurious traps - help appreciated to resolve
issue
----------------------------------------------------------------------------
--------------------------------
>Net-SNMP V 5.1.2 build for Solaris 2.8 - using agent snmpd with WhatsUp
Gold
- configured snmpd.conf with v1 traps


>disk  / 20%
>disk  /usr 20%
>disk  /var 20%
>disk  /disk 20%
>load  1.5 2.0 2.5
>agentSecName xusr8
>rouser xusr8 noauth
>monitor -r 120 -o dskPath -o dskErrorMsg "dskTable" dskErrorFlag != 0
>monitor -r 120 -o laNames -o laErrMessage "laTable" laErrorFlag != 0

The last two lines are the problem.  Use the -i feature and catch the
individual OID, not the group OID.

This communication is intended for the use of the recipient to which it is
addressed, and may contain confidential, personal and or privileged
information. Please contact us immediately if you are not the intended
recipient of this communication, and do not copy, distribute, or take action
relying on it. Any communication received in error, or subsequent reply,
should be deleted or destroyed.



_________________________________________________________________
Check out Election 2004 for up-to-date election news, plus voter tools and more! http://special.msn.com/msn/election2004.armx




-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
_______________________________________________
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

Reply via email to