[j-nsp] poll physical GigE and all its VLAN sub-interfaces counters over SNMP with single SNMP GetRequest query

Martin T m4rtntns at gmail.com
Tue May 6 05:46:39 EDT 2014


Saku,

as you mentioned in your initial letter, I should have used 64 bit counters:

$ for i in ifDescr ifHCInOctets ifHCInUcastPkts; do snmpget -Oq -v 2c
-c public 10.10.10.254 "$i".723; done
IF-MIB::ifDescr.723 ge-0/0/3
IF-MIB::ifHCInOctets.723 409375455731913
IF-MIB::ifHCInUcastPkts.723 374757384876
$

Sorry for overlooking this. However, I'm afraid that 5 second interval
is too long for me in this case and I'll still need to log into router
and parse the output of CLI command.


regards,
Martin

On 5/6/14, Saku Ytti <saku at ytti.fi> wrote:
> On (2014-05-05 18:39 +0000), Martin T wrote:
>
> Hi Martin,
>
>> Still, ifInOctets and ifInUcastPkts differ in orders of magnitude from
>> "Input  bytes" and "Input  packets" counter values in "show interfaces
>> ge-0/0/3 extensive" output. Any ideas?
>
> Sorry no ideas, maybe JTAC time.
>
> --
>   ++ytti
> _______________________________________________
> juniper-nsp mailing list juniper-nsp at puck.nether.net
> https://puck.nether.net/mailman/listinfo/juniper-nsp
>


More information about the juniper-nsp mailing list