We use Grafana extensively for our dashboards, and while it’s great to be be able to show performance metrics (via Infuxdb connection) how do we show data from livestatus, for instance, we want to show all services that are CRIT with a
host tag of SERVER as a counter in Grafana.
Anyone achieved this?
Gavin
Hi Gavin,
I think for such a datasource plugin the livestatus data must be available thru a restful API.
Sven Nierlein from ConSol wrote such a restful API for his Thruk frontend. Thruk by itself uses Livestatus for all the status data in the background.
Take a look at his github repo https://github.com/sni/grafana-thruk-datasource
If you have some free time try to connect a Thruk webfrontend to one of your monitoring servers and then use the Grafana connector to Thruk 
Best regards
Andreas





···
Am Do., 14. März 2019 um 13:49 Uhr schrieb Gavin Hill gavin@highpeak.co.za:
We use Grafana extensively for our dashboards, and while it’s great to be be able to show performance metrics (via Infuxdb connection) how do we show data from livestatus, for instance, we want to show all services that are CRIT with a
host tag of SERVER as a counter in Grafana.
Anyone achieved this?
Gavin
–
Gavin Hill | Director
m: +27 83 601 8181
t: +27 10 020 5959
<img src="cid:1697ced976ec204bfcc1">[<img src="cid:1697ced9770c204bfcc2">](https://www.linkedin.com/company/highpeak-pty-ltd/)<img src="cid:1697ced9770c204bfcc3">[<img src="cid:1697ced9770c204bfcc4">](https://www.highpeak.co.za/)
![]()
checkmk-en mailing list
checkmk-en@lists.mathias-kettner.de
Manage your subscription or unsubscribe
https://lists.mathias-kettner.de/cgi-bin/mailman/listinfo/checkmk-en
Thanks Andreas. So install Thruk and then use the grafana plugin for Thruk? Seem a bit convoluted but I’ll give it a try and see if I can get some useful data out.
Gavin





···
From: Andreas Döhler andreas.doehler@gmail.com
Sent: Thursday, March 14, 2019 6:04 pm
To: Gavin Hill
Cc: checkmk-en@lists.mathias-kettner.de
Subject: Re: [Check_mk (english)] Livestatus & Grafana
Hi Gavin,
I think for such a datasource plugin the livestatus data must be available thru a restful API.
Sven Nierlein from ConSol wrote such a restful API for his Thruk frontend. Thruk by itself uses Livestatus for all the status data in the background.
Take a look at his github repo https://github.com/sni/grafana-thruk-datasource
If you have some free time try to connect a Thruk webfrontend to one of your monitoring servers and then use the Grafana connector to Thruk 
Best regards
Andreas
Am Do., 14. März 2019 um 13:49 Uhr schrieb Gavin Hill gavin@highpeak.co.za:
We use Grafana extensively for our dashboards, and while it’s great to be be able to show performance metrics (via Infuxdb connection) how do we show data from livestatus, for instance, we want to show all services that are CRIT with a
host tag of SERVER as a counter in Grafana.
Anyone achieved this?
Gavin
–
Gavin Hill | Director
m:
+27 83 601 8181
t:
+27 10 020 5959
checkmk-en mailing list
checkmk-en@lists.mathias-kettner.de
Manage your subscription or unsubscribe
https://lists.mathias-kettner.de/cgi-bin/mailman/listinfo/checkmk-en
I don’t know if this work as you expected 
It was only a thought i had for your problem.
To test with Thruk i would use the OMD build from ConSol in a single view only site and connect Thruk with Livestatus to your real site.
Then you can test a little bit with the Thruk API.
Best regards
Andreas






···
Am Do., 14. März 2019 um 19:13 Uhr schrieb Gavin Hill gavin@highpeak.co.za:
Thanks Andreas. So install Thruk and then use the grafana plugin for Thruk? Seem a bit convoluted but I’ll give it a try and see if I can get some useful data out.
Gavin
–
Gavin Hill | Director
m: +27 83 601 8181
t: +27 10 020 5959
<img src="cid:x0zwIYcwpUCRV3bFXKBcLwHighpeak_email_jpg">[<img src="cid:KF9kNHjAcUqV5S1Sn4kp2QHighpeak_linkedin_jpg">](https://www.linkedin.com/company/highpeak-pty-ltd/)<img src="cid:EUHUM8JeTkSvrQBDJwocgHighpeak_skype_jpg">[<img src="cid:98hc0eVBU2HC7FTwAIuAHighpeak_web_jpg">](https://www.highpeak.co.za/)
![]()
From: Andreas Döhler andreas.doehler@gmail.com
Sent: Thursday, March 14, 2019 6:04 pm
To: Gavin Hill
Cc: checkmk-en@lists.mathias-kettner.de
Subject: Re: [Check_mk (english)] Livestatus & Grafana
Hi Gavin,
I think for such a datasource plugin the livestatus data must be available thru a restful API.
Sven Nierlein from ConSol wrote such a restful API for his Thruk frontend. Thruk by itself uses Livestatus for all the status data in the background.
Take a look at his github repo https://github.com/sni/grafana-thruk-datasource
If you have some free time try to connect a Thruk webfrontend to one of your monitoring servers and then use the Grafana connector to Thruk 
Best regards
Andreas
Am Do., 14. März 2019 um 13:49 Uhr schrieb Gavin Hill gavin@highpeak.co.za:
We use Grafana extensively for our dashboards, and while it’s great to be be able to show performance metrics (via Infuxdb connection) how do we show data from livestatus, for instance, we want to show all services that are CRIT with a
host tag of SERVER as a counter in Grafana.
Anyone achieved this?
Gavin
–
Gavin Hill | Director
m:
+27 83 601 8181
t:
+27 10 020 5959
![]()
![]()
![]()
![]()
![]()
checkmk-en mailing list
checkmk-en@lists.mathias-kettner.de
Manage your subscription or unsubscribe
https://lists.mathias-kettner.de/cgi-bin/mailman/listinfo/checkmk-en
So it seems Thruk reports to InfluxDB and can use the Histou plugin for Grafana to help create some templates, but this is all for performance data. I can’t see to find anywhere to get real time
status data for display on a Grafana dashboard.
How are others presenting wallboards/large format displays with status data from check_mk?
Gavin





···
Gavin Hill | Director
m: +27 83 601 8181
t: +27 10 020 5959
[](https://www.linkedin.com/company/highpeak-pty-ltd/)[](https://www.highpeak.co.za/)
From: checkmk-en checkmk-en-bounces@lists.mathias-kettner.de
On Behalf Of Gavin Hill
Sent: Thursday, 14 March 2019 8:13 PM
To: Andreas Döhler andreas.doehler@gmail.com
Cc: checkmk-en@lists.mathias-kettner.de
Subject: Re: [Check_mk (english)] Livestatus & Grafana
Thanks Andreas. So install Thruk and then use the grafana plugin for Thruk? Seem a bit convoluted but I’ll give it a try and see if I can get some useful data out.
Gavin
–
Gavin Hill | Director
m: +27 83 601 8181
t: +27 10 020 5959
From: Andreas Döhler andreas.doehler@gmail.com
Sent: Thursday, March 14, 2019 6:04 pm
To: Gavin Hill
Cc: checkmk-en@lists.mathias-kettner.de
Subject: Re: [Check_mk (english)] Livestatus & Grafana
Hi Gavin,
I think for such a datasource plugin the livestatus data must be available thru a restful API.
Sven Nierlein from ConSol wrote such a restful API for his Thruk frontend. Thruk by itself uses Livestatus for all the status data in the background.
Take a look at his github repo https://github.com/sni/grafana-thruk-datasource
If you have some free time try to connect a Thruk webfrontend to one of your monitoring servers and then use the Grafana connector to Thruk 
Best regards
Andreas
Am Do., 14. März 2019 um 13:49 Uhr schrieb Gavin Hill gavin@highpeak.co.za:
We use Grafana extensively for our dashboards, and while it’s great to be be able to show performance metrics (via Infuxdb connection) how do we show data from livestatus, for instance,
we want to show all services that are CRIT with a host tag of SERVER as a counter in Grafana.
Anyone achieved this?
Gavin
–
Gavin Hill | Director
m: +27 83 601 8181
t: +27 10 020 5959
checkmk-en mailing list
checkmk-en@lists.mathias-kettner.de
Manage your subscription or unsubscribe
https://lists.mathias-kettner.de/cgi-bin/mailman/listinfo/checkmk-en
Hi Gavin,
I tested this setup with Grafana - Thruk + Thruk API - Livestatus Connection from Thruk to existing Check_MK site.
It is only possible to display status with this setup and no performance data! Thruk is only working as a broker between Check_MK and Grafana. There is no other TSB or anything like that involved.
Steps i had done.
Use actual OMD laps edition to create a site with Thruk web front end and without any hosts. Create Livestatus connection from Thruk to your existing site.
All your hosts should be visible inside Thruk
Setup the Thruk plugin for Grafana - https://grafana.com/plugins/sni-thruk-datasource
Explore your data from Grafana.
Best regards
Andreas










···
Am Di., 19. März 2019 um 10:43 Uhr schrieb Gavin Hill gavin@highpeak.co.za:
So it seems Thruk reports to InfluxDB and can use the Histou plugin for Grafana to help create some templates, but this is all for performance data. I can’t see to find anywhere to get real time
status data for display on a Grafana dashboard.
How are others presenting wallboards/large format displays with status data from check_mk?
Gavin
–
Gavin Hill | Director
m: +27 83 601 8181
t: +27 10 020 5959
<img src="cid:169976b2e0fc204bfcc6">[<img src="cid:169976b2e0fc204bfcc7">](https://www.linkedin.com/company/highpeak-pty-ltd/)<img src="cid:169976b2e0fc204bfcc8">[<img src="cid:169976b2e0fc204bfcc9">](https://www.highpeak.co.za/)
![]()
From: checkmk-en checkmk-en-bounces@lists.mathias-kettner.de
On Behalf Of Gavin Hill
Sent: Thursday, 14 March 2019 8:13 PM
To: Andreas Döhler andreas.doehler@gmail.com
Cc: checkmk-en@lists.mathias-kettner.de
Subject: Re: [Check_mk (english)] Livestatus & Grafana
Thanks Andreas. So install Thruk and then use the grafana plugin for Thruk? Seem a bit convoluted but I’ll give it a try and see if I can get some useful data out.
Gavin
–
Gavin Hill | Director
m: +27 83 601 8181
t: +27 10 020 5959
From: Andreas Döhler andreas.doehler@gmail.com
Sent: Thursday, March 14, 2019 6:04 pm
To: Gavin Hill
Cc: checkmk-en@lists.mathias-kettner.de
Subject: Re: [Check_mk (english)] Livestatus & Grafana
Hi Gavin,
I think for such a datasource plugin the livestatus data must be available thru a restful API.
Sven Nierlein from ConSol wrote such a restful API for his Thruk frontend. Thruk by itself uses Livestatus for all the status data in the background.
Take a look at his github repo https://github.com/sni/grafana-thruk-datasource
If you have some free time try to connect a Thruk webfrontend to one of your monitoring servers and then use the Grafana connector to Thruk 
Best regards
Andreas
Am Do., 14. März 2019 um 13:49 Uhr schrieb Gavin Hill gavin@highpeak.co.za:
We use Grafana extensively for our dashboards, and while it’s great to be be able to show performance metrics (via Infuxdb connection) how do we show data from livestatus, for instance,
we want to show all services that are CRIT with a host tag of SERVER as a counter in Grafana.
Anyone achieved this?
Gavin
–
Gavin Hill | Director
m: +27 83 601 8181
t: +27 10 020 5959
checkmk-en mailing list
checkmk-en@lists.mathias-kettner.de
Manage your subscription or unsubscribe
https://lists.mathias-kettner.de/cgi-bin/mailman/listinfo/checkmk-en