Cisco-CBQOS policies link to homepage not graph

- 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 -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: = 9265257644
    BufferDrops: = 0
    QOSDrops: = 0
RRD[^[[0;32mupdate 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.


- 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


[OK] Composer Version: 1.0.0-beta2
[OK] Dependencies up-to-date.
[OK] Database connection successful
[OK] Database schema correct

These have suddenly started working.