Menu

#2188 net-snmp-5.6.rc2 nlmLogNotificationID not readable (cygwin)

open
nobody
agent (1105)
8
2012-11-08
2010-09-09
claus klein
No

under cygwin the notificationLogMib is only partly filled:

$ cat /tmp/snmp-test-T058agentauthtrap2_simple-2564/output-simple_run2564-2
RUNNING: snmpwalk -r 0 -t 5 -v 3 -u unsec -l noAuthNoPriv -n snmptrapd udp:127.0.0.1: NOTIFICATION-LOG-MIB::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: (346) 0:00:03.46
NOTIFICATION-LOG-MIB::nlmLogDateAndTime."default".1 = STRING: 2010-9-9,12:4:48.0
NOTIFICATION-LOG-MIB::nlmLogEngineID."default".1 = ""
NOTIFICATION-LOG-MIB::nlmLogEngineTAddress."default".1 = Hex-STRING: 01 00 00 7F 3A 0E
NOTIFICATION-LOG-MIB::nlmLogEngineTDomain."default".1 = OID: SNMPv2-TM::snmpUDPDomain
NOTIFICATION-LOG-MIB::nlmLogContextEngineID."default".1 = ""
NOTIFICATION-LOG-MIB::nlmLogContextName."default".1 = STRING:

my configura args:
./configure --cache-file=config.cache \ --with-mib-modules="agentx notification notification-log-mib target ucd-snmp/proxy examples/ucdDemoPublic examples/example" \ --with-out-mib-modules="host host/hr_network host/hr_swrun ucd-snmp/diskio " \ --with-out-mib-modules="disman/event disman/schedule" \ --with-defaults \ --without-rpm \ --with-libs="-lws2_32" \ --disable-embedded-perl --without-perl-modules \ --without-python-modules --disable-deprecated \ --enable-ipv6 --with-transports="TCPIPv6 UDPIPv6" \ --enable-developer \ ###XXX --enable-mini-agent

It happens to with min-agent enabled!

Discussion

  • claus klein

    claus klein - 2010-09-09

    my test script

     
  • claus klein

    claus klein - 2010-09-09

    Note that the nlmLogVariableTable does not exists!

     
  • claus klein

    claus klein - 2010-09-09

    modified test case to show the error too

     
  • claus klein

    claus klein - 2010-09-10

    The same happens on my macbook (darvin i386) too!

     
  • claus klein

    claus klein - 2010-10-19

    This BUG happens with 5.6 release version too an MACOS too.
    It happens only if SNMP V1 Traps are used!

     

Log in to post a comment.