Checkmk / grafana-checkmk-datasource

CheckMK data source for Grafana
Apache License 2.0
85 stars 14 forks source link

Host metrics pollute graph and metric dropdowns #212

Open sowdenraymond opened 1 year ago

sowdenraymond commented 1 year ago

Hi,

Packet loss, Roundtrip average, Roundtrip minimum and Roundtrip maximum do not show any data on windows hosts.

Checkmk Raw edition, 2.2.0p1, Plugin version 3.1

The services display to be selected as metrics, but they do not show any data.

Raymond

BenediktSeidl commented 1 year ago

can you provide some screenshots from the metrics/graphs in checkmk? what service are we talking about? i checked our internal checkmk instance, but the windows hosts available there do not have any of those metrics. i currently have no idea what the problem could be, so i need more context, maybe also a screenshot of the query in grafana.

sowdenraymond commented 1 year ago

Hi Benedikt,

Thanks for coming back to me!

If you look in CheckMK at a host and follow the breadcrumbs as in the below screenshot:

[image: image.png]

You get the option for the status of the host. This then gives you the agent statistics for the ping round trip times, as well as packet loss, between the agent and the CheckMK host:

[image: image.png] These metrics do show up in Grafana regardless of the service you choose:

[image: image.png]

But when you select any of these you get no data:

[image: image.png]

Also it does not seem to just be related to windows hosts only, I cannot get these metrics on any host since using the new plugin.

Let me know if you need anything further!

Really appreciate your assistance :)

On Mon, Jul 17, 2023 at 1:42 PM Benedikt Seidl @.***> wrote:

can you provide some screenshots from the metrics/graphs in checkmk? what service are we talking about? i checked our internal checkmk instance, but the windows hosts available there do not have any of those metrics. i currently have no idea what the problem could be, so i need more context, maybe also a screenshot of the query in grafana.

— Reply to this email directly, view it on GitHub https://github.com/Checkmk/grafana-checkmk-datasource/issues/212#issuecomment-1637960077, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFKSRAH74KSCUIGA2WJC6RLXQUQLRANCNFSM6AAAAAA2HETPLQ . You are receiving this because you authored the thread.Message ID: @.***>

BenediktSeidl commented 1 year ago

Looks like the mail to issue gateway does not support attachments, but the text was enough to make me understand your issue better.

As far as I know we currently don't support host metrics (in raw edition). I will discuss this internally and see if we can come up with a solution.

sowdenraymond commented 1 year ago

Any updates on this?

BenediktSeidl commented 1 year ago

We spoke about this, but did not find an easy solution. We will fix this eventually, but it will take some time.

sowdenraymond commented 12 months ago

Any updates yet?

sowdenraymond commented 8 months ago

Hi, any updates yet?

michaelmikeh commented 8 months ago

Is there any sort of feedback or update for this?

SoCalledPlacid commented 8 months ago

Any feedback?

Round trip average and network info not working.

godspeed-you commented 8 months ago

Currently, we're working on another problem. After solving that one, we can take a look here. If we can do a quick fix, we would just remove the entries of the hosts for now. The decision if we want to support host metrics is another one and potentially needs to be done afterwards.

I can only ask you for some more patience.

sowdenraymond commented 7 months ago

The reason I logged this issue was to get the host metrics working, not to remove them. The information like round trip average, packet loss etc. is very valuable for agent based monitoring, especially on remote areas.

I will be patient :)

SoCalledPlacid commented 4 months ago

This metric is also valuable to my use case.