From: SourceForge.net <no...@so...> - 2010-10-19 19:59:34
|
Bugs item #3061435, was opened at 2010-09-07 21:15 Message generated for change (Comment added) made by klc1sha You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=112694&aid=3061435&group_id=12694 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: snmptrapd Group: None Status: Open Resolution: None Priority: 8 Private: No Submitted By: claus klein (klc1sha) Assigned to: Nobody/Anonymous (nobody) Summary: notification log mib only partly filled Initial Comment: he snmptrapd V5.5 seems to have a problem with the notification-log- mib: # my snmptrapd.conf: disableAuthorization yes doNotRetainNotificationLogs NO # I do NOT disable support for the NOTIFICATION-LOG-MIB. Normally the snmptrapd program keeps a record of the traps received, which can be retrieved by querying the nlmLogTable and nlmLogvariableTable tables. But the version v5.5 does not work! The snmptrapd register the nlmLogvariableTable and the nlmLogTable but thy are only partly filled! ---------------------------------------------------------------------- >Comment By: claus klein (klc1sha) Date: 2010-10-19 21:59 Message: This BUG happens with version 5.4, 5.5 and 5.6 if snmp V1 Trapse are used! ---------------------------------------------------------------------- Comment By: claus klein (klc1sha) Date: 2010-09-07 22:30 Message: with version V5.6.pre3 it works! $ snmptable -C b -r 0 -n '' localhost nlmLogvariableTable SNMP table: NOTIFICATION-LOG-MIB::nlmLogVariableTable ID ValueType Counter32Val Unsigned32Val TimeTicksVal Integer32Val OctetStringVal IpAddressVal OidVal Counter64Val OpaqueVal DISMAN-EVENT-MIB::sysUpTimeInstance timeTicks ? ? 0:0:00:00.07 ? ? ? ? ? ? SNMPv2-MIB::snmpTrapEnterprise.0 objectId ? ? ? ? ? ? NET-SNMP-MIB::netSnmpAgentOIDs.255 ? ? $ snmptable -C b -r 0 -n '' localhost nlmLogTable SNMP table: NOTIFICATION-LOG-MIB::nlmLogTable Time DateAndTime EngineID EngineTAddress EngineTDomain ContextEngineID ContextName NotificationID 0:0:00:00.07 2010-9-7,22:15:28.0,-2:0 "" ? ? "" SNMPv2-MIB::coldStart $ snmpwalk localhost version UCD-SNMP-MIB::versionIndex.0 = INTEGER: 1 UCD-SNMP-MIB::versionTag.0 = STRING: 5.6.pre3 UCD-SNMP-MIB::versionDate.0 = STRING: $Date: 2010-01-24 03:41:03 -0800 (Sun, 24 Jan 2010) $ UCD-SNMP-MIB::versionCDate.0 = STRING: Tue Sep 7 22:25:05 2010 UCD-SNMP-MIB::versionIdent.0 = STRING: $Id: versioninfo.c 18044 2010-01-24 11:41:03Z bvassche $ UCD-SNMP-MIB::versionConfigureOptions.0 = STRING: '--cache-file=config.cache' '--with-persistent-directory=/var/db/net-snmp' '--with-defaults' '--without-rpm' '--with-out-mib-modules=host ucd-snmp/diskio' '--with-out-mib-modules=mibII/icmp host/hr_swrun' '--with-out-mib-modules=disman/event disman/schedule' '--without-kmem-usage' '--disable-deprecated' '--enable-ipv6' '--with-transports=TCPIPv6 UDPIPv6' '--with-mib-modules=agentx notification notification-log-mib target ucd-snmp/proxy' UCD-SNMP-MIB::versionClearCache.0 = INTEGER: 0 UCD-SNMP-MIB::versionUpdateConfig.0 = INTEGER: 0 UCD-SNMP-MIB::versionRestartAgent.0 = INTEGER: 0 UCD-SNMP-MIB::versionSavePersistentData.0 = INTEGER: 0 UCD-SNMP-MIB::versionDoDebugging.0 = INTEGER: 0 ---------------------------------------------------------------------- Comment By: claus klein (klc1sha) Date: 2010-09-07 21:50 Message: the same problems hapens on older version too: claus-kleins-macbook-pro:~ clausklein$ snmpwalk -r 0 -v2c -c private localhost notifications LLDP-MIB::lldpNotificationsGroup = No Such Object available on this agent at this OID claus-kleins-macbook-pro:~ clausklein$ snmpwalk -r 0 -v2c -c private localhost notificationslogmib notificationslogmib: Unknown Object Identifier (Sub-id not found: (top) -> notificationslogmib) claus-kleins-macbook-pro:~ clausklein$ snmpwalk -r 0 -v2c -c private localhost notificationlogmib NOTIFICATION-LOG-MIB::nlmConfigGlobalEntryLimit.0 = Gauge32: 1000 NOTIFICATION-LOG-MIB::nlmConfigGlobalAgeOut.0 = Gauge32: 1440 minutes NOTIFICATION-LOG-MIB::nlmStatsGlobalNotificationsLogged.0 = Counter32: 1 notifications NOTIFICATION-LOG-MIB::nlmStatsGlobalNotificationsBumped.0 = Counter32: 0 notifications NOTIFICATION-LOG-MIB::nlmLogTime."default".1 = Timeticks: (12) 0:00:00.12 NOTIFICATION-LOG-MIB::nlmLogDateAndTime."default".1 = STRING: 2010-9-7,21:27:45.0,+1:0 claus-kleins-macbook-pro:~ clausklein$ snmpwalk -r 0 -v2c -c private localhost version UCD-SNMP-MIB::versionIndex.0 = INTEGER: 1 UCD-SNMP-MIB::versionTag.0 = STRING: 5.4.2.1 UCD-SNMP-MIB::versionDate.0 = STRING: $Date: 2006-09-14 17:48:50 -0700 (Thu, 14 Sep 2006) $ UCD-SNMP-MIB::versionCDate.0 = STRING: Tue Sep 7 21:49:34 2010 UCD-SNMP-MIB::versionIdent.0 = STRING: $Id: versioninfo.c 15220 2006-09-15 00:48:50Z tanders $ UCD-SNMP-MIB::versionConfigureOptions.0 = STRING: '--prefix=/usr' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--disable-dependency-tracking' '--sysconfdir=/etc' '--with-install-prefix=/BinaryCache/net_snmp/net_snmp-122.1~2/Root' '--with-default-snmp-version=2' '--with-persistent-directory=/var/db/net-snmp' '--with-defaults' '--without-rpm' '--with-sys-contact=pos...@ex...' '--with-mib-modules=host ucd-snmp/diskio ucd-snmp/loadave ucd-snmp/lmSensorsTables' '--disable-static' '--enable-ipv6' '--with-perl-modules' '--disable-embedded-perl' '--without-kmem-usage' 'CFLAGS=-arch i386 -arch ppc -g -Os -pipe -DBUILD=122 -DMACOSX_DEPLOYMENT_TARGET=10.5 -F/System/Library/PrivateFrameworks/ -F/System/Library/Frameworks/ -arch i386 -arch ppc -pipe' 'CXXFLAGS=-arch i386 -arch ppc -g -Os -pipe -DBUILD=122 -DMACOSX_DEPLOYMENT_TARGET=10.5 -F/System/Library/PrivateFrameworks/ -F/System/Library/Frameworks/ -arch i386 -arch ppc -pipe' 'LDFLAGS=-arch i386 -arch ppc ' UCD-SNMP-MIB::versionClearCache.0 = INTEGER: 0 UCD-SNMP-MIB::versionUpdateConfig.0 = INTEGER: 0 UCD-SNMP-MIB::versionRestartAgent.0 = INTEGER: 0 UCD-SNMP-MIB::versionSavePersistentData.0 = INTEGER: 0 UCD-SNMP-MIB::versionDoDebugging.0 = INTEGER: 0 claus-kleins-macbook-pro:~ clausklein$ ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=112694&aid=3061435&group_id=12694 |