QoS Statistics with external tool

Reply
Highlighted
L0 Member

QoS Statistics with external tool

Hello,

QoS statistics  is an excellent tool to check the realtime bandwidth divided by assigned classes.

It's possible using of external monitoring tools (Ex. Nagios, Cacti, PandoraFMS, ), to obtain the same graph to have an history of bandwidth divided by class?

Highlighted
L7 Applicator

There are no OID Objects for SNMP queries for this level of detail, so SNMP is out of the picture.

There was a similar post here:

Re: SNMP QoS

You could explore scripting expect commands to extract information from cli commands like

> show qos interface ethernet1/1 counter

> show qos interface ethernet1/1 throughput 0

Unfortunately the API queries are not working for these operational commands:

Command:

curl -k "https://<FIREWALL_IP>/api/?type=op&cmd=<show><qos><interface><ethernet1/1><counter></counter></ethernet1/1></interface></qos></show>&key=<API_KEY>&client=curl"

Response:

<response status = 'error' code = '400'><result><msg>Illegal parameter [request]</msg></result></response>

Command:

curl -k "https://<FIREWALL_IP>/api/?type=op&cmd=<show><qos><interface><ethernet1/1><throughput><0></0></throughput></ethernet1/1></interface></qos></show>&key=<API_KEY>&client=curl"

Response:

<response status = 'error' code = '400'><result><msg>Illegal parameter [request]</msg></result></response>

Note: The <API_KEY> needs to be generated before-hand. You can generate it using cURL:

curl -k "https://<IP_PAN>/api/?type=keygen&user=<your_user>&password=<your_password>"

Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the Live Community as a whole!

The Live Community thanks you for your participation!