Hi All,
SNMPWALK shows only few values when I fetch notificationLogMIB.
Below are the traps and snmpwalk cmd that I used to get the nlmLog objects-
Note: rocommunity public,
rwcommunity private,
com2sec public-traps //community set for nlmLogTable - SNMP v2c
snmptrap -v2c -cpublic localhost "" .1.3.6.1.4.1.33830.3.1.18.0.5
.1.3.6.1.4.1.33830.3.1.1.2 s "java" .1.3.6.1.4.1.33830.3.1.1.1 i 1211
.1.3.6.1.4.1.33830.3.1.1.20 i 1 .1.3.6.1.4.1.33830.3.1.1.19 s "java
1211" .1.3.6.1.4.1.33830.3.1.1.21 i 1
snmptrap -v1 -cpublic localhost .1.3.6.1.4.1.2628.2.2.6 localhost 6 1223 ""
snmpwalk -v2c -c public-traps localhost notificationLogMIB
NOTIFICATION-LOG-MIB::
nlmConfigGlobalEntryLimit.0 = Gauge32: 1000
NOTIFICATION-LOG-MIB::nlmConfigGlobalAgeOut.0 = Gauge32: 1440 minutes
NOTIFICATION-LOG-MIB::nlmStatsGlobalNotificationsLogged.0 = Counter32: 2
notifications
NOTIFICATION-LOG-MIB::nlmStatsGlobalNotificationsBumped.0 = Counter32: 0
notifications
NOTIFICATION-LOG-MIB::nlmLogTime."default".1 = Timeticks: (587245) 1:37:52.45
NOTIFICATION-LOG-MIB::nlmLogTime."default".2 = Timeticks: (588077) 1:38:00.77
NOTIFICATION-LOG-MIB::nlmLogDateAndTime."default".1 = STRING:
2010-3-22,15:0:6.0,+5:30
NOTIFICATION-LOG-MIB::nlmLogDateAndTime."default".2 = STRING:
2010-3-22,15:0:14.0,+5:30
Above command doesn't show nlmLogNotificationID and nlmLogVariableTable
data.
I also tried setting nlmConfigLogTable and snmpNotifyFilterTable
as suggested in RFC3014 Section 2.2.3. Log.
But I am not able to set these tables.
snmpset -v2c -c private localhost nlmConfigLogFilterName.5.108.105.110.107.115
s "link-status"
Error in packet.
Reason: notWritable (That object does not support modification)
Failed object: NOTIFICATION-LOG-MIB::nlmConfigLogFilterName."links"
snmpset -v2c -c private localhost
snmpNotifyFilterMask.11.108.105.110.107.45.115.116.97.116.117.115 s ''H
Error in packet.
Reason: (noSuchName) There is no such variable name in this MIB.
Failed object: SNMP-NOTIFICATION-MIB::snmpNotifyFilterMask."link-status"
Please help me.
Thanks
Vivek
The INTERNET now has a personality. YOURS! See your Yahoo! Homepage.
http://in.yahoo.com/
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users