I use checkmk and created a dashboard in grafana to show service states from checkmk.
I have a http check configured to check a sting contained in the website for example „free shipping“. The http checks in checkmk containing always also the response time of the website. So I let show me the check in my grafana dashboard. All is looking good but if the string is not there anymore grafana shows the response time from the website and it is not visible that the string is not there anymore.
Inside checkmk the check is shown as crit. Is there a possibility to show the service state of the check in Grafenau and not the response time or a possibility to show that the string is not there anymore if the check goes on crit in checkmk.
thank you very much for your description. Seems with this method there are some other cool posibilities to add checkmk services to grafana views.
I add Infinity plugin and configured to get the datas from checkmk. But i still have some questions to finish your directions.
Can you please describe what i have to fill in “headers, request params” to get the view like you? I still have the complete csv data tabs in the upper view as you see here:
i used basic authorization headers to pass my automation user and key, you can also pass the user and key in the url, so it depends on your preference:
i am using the organize fields transformation to select only the field i am interested in, namely the svc_long_plugin output.
Then i used an override, regex value mapping, to filter only the part out of the long output that I am interested in.
so query the api, narrow down the data you receive to only one column, and then narrow that down further to only get the text string.