- Steps to reproduce an issue.
Polling multiple Cisco ASR903s on Cisco IOS-XE 15.5(3)S6 (UNIVERSALK9_NPE)
Several interfaces have multiple CBQoS configured.
Select the device
Select ports
Select the port you want to view
Select CBQoS
Here you can see the policies listed. Each time you click on any of them you get directed to the home page of the LibreNMS installation.
If i run: /opt/librenms/poller.php -h device.domain.co.uk -d -f -m cisco-cbqos I can see the poller collecting the information on the individual classes, example:
Component: 11421
Class-Map: CM-MATCH-DFES4610-NOQOS
SPID.SPOBJ: 16.720896
PostBytes: 1.3.6.1.4.1.9.9.166.1.15.1.1.10.16.720896 = 9265257644
BufferDrops: 1.3.6.1.4.1.9.9.166.1.15.1.1.21.16.720896 = 0
QOSDrops: 1.3.6.1.4.1.9.9.166.1.15.1.1.17.16.720896 = 0
RRD[^[[0;32mupdate device.domain.co.uk/port-1-cbqos-16-720896.rrd N:9265257644:0:0 --daemon unix:/var/run/rrdcached/rrdcached.sock]
The database has the information stored and the id.
mysql> select * from component where label='CM-MATCH-MYSHOP-QOS'
-> ;
+-------+-----------+-------------+---------------------+--------+----------+--------+-------+
| id | device_id | type | label | status | disabled | ignore | error |
+-------+-----------+-------------+---------------------+--------+----------+--------+-------+
| 11434 | 69 | Cisco-CBQOS | CM-MATCH-MYSHOP-QOS | 0 | 0 | 0 | |
+-------+-----------+-------------+---------------------+--------+----------+--------+-------+
Then constructing the URL manually using the id as the policy id, it seems to give the desired graphs and their glorious data.
These ID’s can also be seen in the components section under edit device.
https://mysite/device/device=69/tab=port/port=2539/view=cbqos/policy=11435/
- The output of ./validate.php
Component | Version |
---|---|
LibreNMS | 1.39-37-g5fd81db |
DB Schema | 249 |
PHP | 7.0.28-0ubuntu0.16.04.1 |
MySQL | 5.7.22-0ubuntu0.16.04.1 |
RRDTool | 1.5.5 |
SNMP | NET-SNMP 5.7.3 |
====================================
[OK] Composer Version: 1.0.0-beta2
[OK] Dependencies up-to-date.
[OK] Database connection successful
[OK] Database schema correct