- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
Content translations are temporarily unavailable due to site maintenance. We apologize for any inconvenience.
12-04-2014 12:50 AM
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?
12-08-2014 03:22 PM
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:
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>"
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 LIVEcommunity as a whole!
The LIVEcommunity thanks you for your participation!