grafana-checkmk-datasource icon indicating copy to clipboard operation
grafana-checkmk-datasource copied to clipboard

CheckMK - Grafana - Process Discovery

Open KSJakobsen opened this issue 4 years ago • 2 comments
trafficstars

Hi,

I have been using CheckMK and the corresponding CheckMK-Grafana Plugin for visualizing a sort of Network/Host Monitoring. And now i ran into a problem.

I’ve added the checks for some processes on our Windows Server 2019 machines. While the processes are running everything works as expected and i can visualize the Check in Grafana. (Green for process is running). Once the process is not running, i would assume that the check would go red, since there is no process running but grafana throws an exception that it “cannot read property “meta” of undefined”.

i tried the enforced service and it is working more consistently, but there is still 1 problem.

If the process is running and you select the metric within Grafana, the number of processes is at position 5 or so within the possible metrics. If the process is not running there is only 1 metric left and so Grafana can not find the 5th metric within the service and and therefore throws another exception. “e is undefined”.

We’re running on CheckMK-Raw-2.0.0p7.

Kind Regards Kai Jakobsen

KSJakobsen avatar Aug 03 '21 09:08 KSJakobsen

I have also opened up a troubleshooting post in the CheckMK Forum.

https://forum.checkmk.com/t/checkmk-grafana-process-discovery/26247/4

KSJakobsen avatar Sep 07 '21 11:09 KSJakobsen

Can you still reproduce this issue with Checkmk >= 2.1.0 and the current stable release of this plugin?

BenediktSeidl avatar May 30 '23 13:05 BenediktSeidl