Dear Ole

Thanks for your great guide, I want a tool that works on vpp stable/18.04.

I find a dump_stats_table command in vpp_api_test, but when I used it in 
vpp_api_test it returns:
"dump_stats_table:6242: dump_stats_table supported only in JSON format".

How can I use this api?

Thanks,
Sincerely
________________________________
From: Ole Troan <otr...@employees.org>
Sent: Monday, July 16, 2018 12:46 PM
To: Rubina Bianchi
Cc: vpp-dev@lists.fd.io
Subject: Re: [vpp-dev] Interface Mib II counters

Hi Rubina,

> I wanna extract stats of vpp interfaces (specially information about traffic, 
> ie. bytes out, bytes in, ...) and set them to relevant snmp oid.
> Is there any VPP infrastructure to do that?
> If not, what is the efficient way to extract data?

The most efficient (and new) way to extract stats is through the shared memory 
segment for counters.
See commit 048a4e5a.

Then you could build an external SNMP agent scraping counters. There is an 
example usage in the stats_client.c file.
I'm also working on building more client support, including for Python. I just 
need to get back from holidays first.

Cheers,
Ole
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#9847): https://lists.fd.io/g/vpp-dev/message/9847
Mute This Topic: https://lists.fd.io/mt/23483393/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to