No password URL for digital signage dashboards?

Hello LibreNMS gurus of the world…

Im testing and setting up a librenms instance in small network.
I was looking into using Screenly on a large screen, since it can display URLs and media. I also run another brand propietary monitoring software that also has a dashboard webb based view, and screenly can switch between them.

But… im stuck with a login page on the display and it does allow keyboard input.
Screenly seems to work with Nagios. I found this:
https://www.screenly.io/use-cases/dashboard/nagios/

but i dont really know how to make it work on LibreNMS.
How can i get a full url with hardcoded authentication or not needing authentication to feed into a “kiosk” or digital signage viewer?

all ideas, suggestions are welcomed. thanks

You can grab graphs directly by url.

Also, you can allow unauthenticated graphs from a specific IP.
$config['allow_unauth_graphs_cidr'] = array('192.168.1.4/32')

1 Like

Oh that sounds interesting.

What do you mean by graphs? Single individual graphs or dashboards?

If it’s single individual graphs how do I get the URL? I could build my own HTML with them I guess?

Where can I find examples or documentation?
I appreciate the prompt reply.
Thansk

If you want to just build a straight forward html page then use the config murrant suggested, then right click any image you want and copy image url, paste into your html page (if it has from= and to= remove those params).

You could also use the api but that requires programming a page to pull the data in.

For direct access to a dashboard, you can pass the username and password in the page url like: https:/URL/overview/dashboard=187&username=USERNAME&password=PASSWORD

1 Like

This could work for me. I tried it with no luck, do i need to enable something somewhere first? I just get the login screen.
I tried the url after login and apparently there´s an error on the URL… the dashboard does exist, im asuming its the syntax? See this screencap https://screencast.com/t/x4i46Ww3r

Edit found this URL with similar issue Unauth/public dashboards · Issue #2154 · librenms/librenms · GitHub
Can someone test it on their instance please?

thanks

You are mixing things up here. You need to use ? if you are going to use &.

like this https:/URL/overview/?dashboard=187&username=USERNAME&password=PASSWORD

Aha! It
It worked!
I really appreciate the help!

Thanks

Is this still a valid authentication method?

We used this for a couple of weeks, but now nginx throws a 302…
Is this an expected behavior? Has something changed?

What can we do to achieve auto-login for a headless browser on an info-terminal?

Thank you!

Best regards,

  • awaum

I’ve tested
https:/demo.librenms.org/overview/?dashboard=1&username=demo&password=demo

and it doesn’t work… Is it supposed to?