Hi Dave,

I saw you opened Bugs item #1814048. Is there any update on this one:
https://sourceforge.net/tracker/?fun...id=1814048&gro
up_id=12694

Thanks
Emi
-----Original Message-----
From: Emi Yanagi
Sent: Tuesday, April 15, 2008 4:21 PM
To: 'Magnus Fromreide'
Cc: net-snmp-coders@lists.sourceforge.net
Subject: RE: Where is the patch for [ net-snmp-Bugs-1758212
]notification-log agent does not support all variable types

Hi Maqnus,

Thanks for your quick response. The patch seems didn't fix the following
problem:

Snmpwalk could NOT populate nlmLogVariableTimeTicksVal and
nlmLogVariableOidVal, although using snmpget I can get these two
objects.

# snmpwalk localhost nlmLog
NOTIFICATION-LOG-MIB::nlmLogTime."".1 = Timeticks: (213) 0:00:02.13
NOTIFICATION-LOG-MIB::nlmLogTime."".2 = Timeticks: (4088) 0:00:40.88
NOTIFICATION-LOG-MIB::nlmLogDateAndTime."".1 = STRING:
2008-4-15,21:4:37.0,+0:0
NOTIFICATION-LOG-MIB::nlmLogDateAndTime."".2 = STRING:
2008-4-15,21:5:15.0,+0:0
NOTIFICATION-LOG-MIB::nlmLogEngineID."".1 = ""
NOTIFICATION-LOG-MIB::nlmLogEngineID."".2 = ""
NOTIFICATION-LOG-MIB::nlmLogVariableID."".1.1 = OID:
RFC1213-MIB::sysUpTime.0
NOTIFICATION-LOG-MIB::nlmLogVariableID."".1.2 = OID:
SNMPv2-MIB::snmpTrapEnterprise.0
NOTIFICATION-LOG-MIB::nlmLogVariableID."".2.1 = OID:
RFC1213-MIB::sysUpTime.0
NOTIFICATION-LOG-MIB::nlmLogVariableValueType."".1.1 = INTEGER:
timeTicks(3)
NOTIFICATION-LOG-MIB::nlmLogVariableValueType."".1.2 = INTEGER:
objectId(7)
NOTIFICATION-LOG-MIB::nlmLogVariableValueType."".2.1 = INTEGER:
timeTicks(3)
#
# snmpget localhost nlmLogVariableTimeTicksVal.0.1.1
NOTIFICATION-LOG-MIB::nlmLogVariableTimeTicksVal."".1.1 = Timeticks:
(213) 0:00:02.13
# snmpget localhost nlmLogVariableTimeTicksVal.0.2.1
NOTIFICATION-LOG-MIB::nlmLogVariableTimeTicksVal."".2.1 = Timeticks:
(4088) 0:00:40.88
# snmpget localhost nlmLogVariableOidVal.0.1.2
NOTIFICATION-LOG-MIB::nlmLogVariableOidVal."".1.2 = OID:
NET-SNMP-TC::linux

It seems snmpgetnext did NOT get the next object correctly:

# snmpgetnext localhost nlmLogVariableValueType.0.2.1
RFC1155-SMI::enterprises.2021.10.1.1.1 = INTEGER: 1
#

Thanks for your support.
Emi

-----Original Message-----
From: Magnus Fromreide [mailto:magfr@lysator.liu.se]
Sent: Tuesday, April 15, 2008 2:50 PM
To: Emi Yanagi
Cc: net-snmp-coders@lists.sourceforge.net
Subject: Re: Where is the patch for [ net-snmp-Bugs-1758212
]notification-log agent does not support all variable types


On tis, 2008-04-15 at 12:11 -0700, Emi Yanagi wrote:
> Hi Dave,
>
> I am glad to know this bug was fixed, but I couldn't find the patch.
> Could you please point me where I can download the patch for 5.3.1. I
> am using Net-SNMP 5.3.1.


Revision 16759

The best fit for a single patch would be
http://net-snmp.svn.sourceforge.net/...es/V5-3-patche
s/net-snmp/agent/mibgroup/notification-log-mib/notification_log.c?r1=167
59&r2=16758&view=patch&pathrev=16759 but it is important to notice that
the patch might depend on other changes. 5.3.1 is r14898.

I think your best bet would be to download the latest version of the 5.3
branch as that contains the patch.

/MF



-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757...un.com/javaone
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/...et-snmp-coders