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
JJX
(JJX)
November 22, 2019, 3:25pm
2
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.
r.sander
(Robert Sander)
November 22, 2019, 4:14pm
3
We use http://cachethq.io for a public dashboard and trigger the API via notification plugin.
1 Like
Norm
(Norman Kühnberger)
November 25, 2019, 11:47am
4
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
3 Likes
BH2005
(Bernd Holzhauer)
February 15, 2020, 6:54am
5
Hi Robert,
can you give a small example howto …
i`m searching for a good Board for our ServiceDesk for Information
r.sander
(Robert Sander)
February 15, 2020, 2:26pm
6
1 Like