I'm not sure why you think you need a 64 bit counter -- it should
rollover, and most packages should handle that...

I think the net-snmp package bundled is a bit out of date, so that
could be part of it...

On Fri, Jul 16, 2010 at 11:08 AM, melbogia <melbo...@gmail.com> wrote:
> I originally posted this in opensolaris->discuss but that list seems to be 
> going downhill so I am reposting here
>
> I am using snmp to get a graph the network traffic from our servers. I looked 
> at /etc/sma/snmp/mibs/IF-MIB.txt and it mentions two counters
>
> ifInOctets Counter32
> ifHCInOctets Counter64
>
> Since the interfaces are connected to gigE link I need the 64 bit counter to 
> get any valid data but it doesn't seem to be there when I snmpwalk
>
> root:/etc/sma/snmp/mibs# snmpwalk -v1 -c public localhost iso | grep -i octets
> IF-MIB::ifInOctets.1 = Counter32: 0
> IF-MIB::ifInOctets.2 = Counter32: 2745997873
> IF-MIB::ifOutOctets.1 = Counter32: 0
> IF-MIB::ifOutOctets.2 = Counter32: 493562995
>
> root:/etc/sma/snmp/mibs# snmpwalk -v2c -c public localhost iso | grep -i 
> octets
> IF-MIB::ifInOctets.1 = Counter32: 0
> IF-MIB::ifInOctets.2 = Counter32: 2910951603
> IF-MIB::ifOutOctets.1 = Counter32: 0
> IF-MIB::ifOutOctets.2 = Counter32: 523063265
>
> I could get it from kstats but I'll have to write a script and put it in 
> snmpd.conf. But does anyone know why it's not in snmp already, or am I doing 
> something wrong?
> --
> This message posted from opensolaris.org
> _______________________________________________
> sysadmin-discuss mailing list
> sysadmin-discuss@opensolaris.org
> http://mail.opensolaris.org/mailman/listinfo/sysadmin-discuss
>
_______________________________________________
sysadmin-discuss mailing list
sysadmin-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/sysadmin-discuss

Reply via email to