Public dashboard

is there a way to create public dashboards without having to publish usernames and passwords (even without speacial created users)
Or maybe there is a way to hide those behind a proxy.

my use case would be something like having a public webpage at https://status.domain.com

1 Like

Hi,
for the proxy aproach you can create a dedicated user with minimal permissions just enought to create the dashboard. Then use the url https://yourhost/yoursite/check_mk/yourdashboard.py?user=youruser&password=yoursupersecurepw as a backend url in your reverse proxy. This should work wit Apache mod_proxy, nginx, haproxy, pound, …

Maybe @Norm can clarify the use of username and password parameters in the url.

We use http://cachethq.io for a public dashboard and trigger the API via notification plugin.

1 Like

As @JJX already said you can provide login credentials inurl to your dashboard as a oneliner.

But bevore you start, please create a View Only user for this and do not use a user with admin privileges!!!

Quick Example:

https://YOURCHECKMKSERVER/YOURSITENAME/check_mk/login.py?_username=YOURVIEWONLYUSER&_password=YOURSECRETPASSWORD&_login=1&_origtarget=dashboard.py%3Fname=DASHBOARDNAME

You can also do this for your NagVis Maps like this:

https://YOURCHECKMKSERVER/YOURSITENAME/check_mk/login.py?_username=YOURVIEWONLYUSER&_password=YOURSECRETPASSWORD&_login=1&_origtarget=?start_url=%2FYOURSITENAME%2Fnagvis%2Ffrontend%2Fnagvis-js%2Findex.php%3Fmod%3DMap%26act%3Dview%26show%3DNAGVISMAPNAME

Besides from that you can try to use the Grafana Integration with CheckMK if you want. I thinks it’s currently WIP but you can already try it. Take a look at → GitHub - tribe29/grafana-checkmk-datasource: CheckMK data source for Grafana

Maybe this meets your requirements.
Or you work with the API of CheckMK and build your own thing.

I hope this helps a bit :sweat_smile:

3 Likes

Hi Robert,

can you give a small example howto …

i`m searching for a good Board for our ServiceDesk for Information

Have a look at https://github.com/HeinleinSupport/check_mk_extensions/tree/master/alert_handlers/cachet_alert

1 Like