notificationlogmib question

Claus Klein <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Hello

I'm working with net-snmp 5.6 and I checked all with the notification- 
log-mib.
How can it be that the nlmLogNotificationID  is missing while walk?

I can see the initialisation and the adding of a trap at the logfile,  
but the nlmlogVariableTable and tha nlmLogNotificationID is always  
missing while walk:

snmpwalk -r 0 -t 5 -v 3 -u unsec -l noAuthNoPriv -n snmptrapd udp:127.0.0.1:8767 
  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: (22)  
0:00:00.22
NOTIFICATION-LOG-MIB::nlmLogDateAndTime."default".1 = STRING:  
2010-10-17,21:10:34.0,-2:0
NOTIFICATION-LOG-MIB::nlmLogEngineID."default".1 = ""
NOTIFICATION-LOG-MIB::nlmLogEngineTAddress."default".1 = Hex-STRING:  
01 00 00 7F EB C3
NOTIFICATION-LOG-MIB::nlmLogEngineTDomain."default".1 = OID: SNMPv2- 
TM::snmpUDPDomain
NOTIFICATION-LOG-MIB::nlmLogContextEngineID."default".1 = ""
NOTIFICATION-LOG-MIB::nlmLogContextName."default".1 = STRING:

notification_log: registering with '(null)' context
initialize_table_nlmLogVariableTable: adding index nlmLogName of type  
ASN_OCTET_STR to table nlmLogVariableTable
initialize_table_nlmLogVariableTable: adding index nlmLogIndex of type  
ASN_UNSIGNED to table nlmLogVariableTable
initialize_table_nlmLogVariableTable: adding index nlmLogVariableIndex  
of type ASN_UNSIGNED to table nlmLogVariableTable
initialize_table_nlmLogVariableTable: adding column  
nlmLogVariableIndex (#1) of type ASN_UNSIGNED to table  
nlmLogVariableTable
initialize_table_nlmLogVariableTable: adding column nlmLogVariableID  
(#2) of type ASN_OBJECT_ID to table nlmLogVariableTable
initialize_table_nlmLogVariableTable: adding column  
nlmLogVariableValueType (#3) of type ASN_INTEGER to table  
nlmLogVariableTable
initialize_table_nlmLogVariableTable: adding column  
nlmLogVariableCounter32Val (#4) of type ASN_COUNTER to table  
nlmLogVariableTable
initialize_table_nlmLogVariableTable: adding column  
nlmLogVariableUnsigned32Val (#5) of type ASN_UNSIGNED to table  
nlmLogVariableTable
initialize_table_nlmLogVariableTable: adding column  
nlmLogVariableTimeTicksVal (#6) of type ASN_TIMETICKS to table  
nlmLogVariableTable
initialize_table_nlmLogVariableTable: adding column  
nlmLogVariableInteger32Val (#7) of type ASN_INTEGER to table  
nlmLogVariableTable
initialize_table_nlmLogVariableTable: adding column  
nlmLogVariableOctetStringVal (#8) of type ASN_OCTET_STR to table  
nlmLogVariableTable
initialize_table_nlmLogVariableTable: adding column  
nlmLogVariableIpAddressVal (#9) of type ASN_IPADDRESS to table  
nlmLogVariableTable
initialize_table_nlmLogVariableTable: adding column  
nlmLogVariableOidVal (#10) of type ASN_OBJECT_ID to table  
nlmLogVariableTable
initialize_table_nlmLogVariableTable: adding column  
nlmLogVariableCounter64Val (#11) of type ASN_COUNTER64 to table  
nlmLogVariableTable
initialize_table_nlmLogVariableTable: adding column  
nlmLogVariableOpaqueVal (#12) of type ASN_OPAQUE to table  
nlmLogVariableTable
initialize_table_nlmLogTable: adding index nlmLogName of type  
ASN_OCTET_STR to table nlmLogTable
initialize_table_nlmLogTable: adding index nlmLogIndex of type  
ASN_UNSIGNED to table nlmLogTable
initialize_table_nlmLogTable: adding column nlmLogTime (#2) of type  
ASN_TIMETICKS to table nlmLogTable
initialize_table_nlmLogTable: adding column nlmLogDateAndTime (#3) of  
type ASN_OCTET_STR to table nlmLogTable
initialize_table_nlmLogTable: adding column nlmLogEngineID (#4) of  
type ASN_OCTET_STR to table nlmLogTable
initialize_table_nlmLogTable: adding column nlmLogEngineTAddress (#5)  
of type ASN_OCTET_STR to table nlmLogTable
initialize_table_nlmLogTable: adding column nlmLogEngineTDomain (#6)  
of type ASN_OBJECT_ID to table nlmLogTable
initialize_table_nlmLogTable: adding column nlmLogContextEngineID (#7)  
of type ASN_OCTET_STR to table nlmLogTable
initialize_table_nlmLogTable: adding column nlmLogContextName (#8) of  
type ASN_OCTET_STR to table nlmLogTable
initialize_table_nlmLogTable: adding column nlmLogNotificationID (#9)  
of type ASN_OBJECT_ID to table nlmLogTable

...

netsnmp_udp: send 96 bytes from 0x808ba0 to UDP: [127.0.0.1]:162- 
 >[0.0.0.0]:0 on fd 6
notification_log: logging something
notification_log: adding a row to the variables table
notification_log: adding a row to the variables table
notification_log: logged notifications 1; max 1000
notification_log: done logging something
NET-SNMP version 5.6


Do someone work with snmptrapd or with notificationLogMib enabled on  
snmpd?

Regards,

Claus


------------------------------------------------------------------------------
Download new Adobe(R) Flash(R) Builder(TM) 4
The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly 
Flex(R) Builder(TM)) enable the development of rich applications that run
across multiple browsers and platforms. Download your free trials today!
http://p.sf.net/sfu/adobe-dev2dev
_______________________________________________
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.