I’ve found a bit of an annoyance and was hoping someone could point me in the right direction of a resolution.
When creating a dashboard and adding a graph widget for a munin graph, everything appears to work correctly. Until you click on that graph. Then I get a “Error You have insufficient permissions to view this page” message, even though I’m an admin and can navigate to the same said munin graph manually.
I’ve tracked what I believe the issue is, to the url the widget uses. I’m getting the below (with my specific fqdn replaced)
Munin Widget’s link, which does not work:
https://nms.example.net/graphs/device=83&plugin=custom-resources/type=munin_graph/from=1521031200
Which differs from the link that works when navigating manually:
https://nms.example.net/graphs/type=munin_graph/device=83/plugin=custom-resources/to=1522240800/from=1522154400/
What I can’t figure out is if this is a .htaccess issue, or if there’s some code somewhere that needs tweaking.
Steps to reproduce:
- Create a munin graph via the Unix Agent
- Create a widget that references the graph
- Click on it
validate.php output:
root@nms:/opt/librenms# ./validate.php
Component | Version |
---|---|
LibreNMS | 1.37-110-ge814cd8 |
DB Schema | 247 |
PHP | 7.0.28-0ubuntu0.16.04.1 |
MySQL | 5.7.21-0ubuntu0.16.04.1 |
RRDTool | 1.5.5 |
SNMP | NET-SNMP 5.7.3 |
====================================
[OK] Composer Version: 1.6.3
[OK] Dependencies up-to-date.
[OK] Database connection successful
[OK] Database schema correct
Thanks in advance!!