On Thu, 2005-04-14 at 08:10, Kelvin Moss wrote:
> I have used Unsigned32 counter type in my mib
> When I later retrive it using snmpwalk/snmpget,
> it gets reported as Gauge32
> What is the reason for this ?

Because the two types are exactly the same thing.
>From RFC 2578 (defining SMIv2):

Gauge32 ::=
    [APPLICATION 2]
        IMPLICIT INTEGER (0..4294967295)
                                                                                
-- an unsigned 32-bit quantity
-- indistinguishable from Gauge32   <======
Unsigned32 ::=
    [APPLICATION 2]
        IMPLICIT INTEGER (0..4294967295)
                                                                                
We could switch to reporting everything as
Unsigned32 rather than Gauge32, I suppose.
But it hardly seems worth it.

Dave



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to