Check-mk - influxdb - grafana

Servus,

cee: 2.2.0p7

I have created a Dashboard in Grafana which uses InfluxDB as a Datasource to catch the Metrics for Network Interfaces ( Cisco ) . ( sent by check-mk )

In addition i have created a infinity Datasource to pull Status and Summary ( with IfAlias ) as a Dashboard Selection for the selected Host and Interface from checkmk view via csv/json plugin.

The reason for this is, that we want some “Customer Description” used in the Dashboard and the User selects this Description only without knowing or showing the releated host and interface . And the Dashboard does not need any change - adding the correct Interface Alias on the Router enables all.

This works all well, but now i have some difficulties to understand the Values stored in the InfluxDB or the Unit shown/used in Grafana .

What kind of Values are forwarded from check-mk to influxDB for the SNMP Interface in / out ?

And in check-mk i have last values like this:

grafik

checkmk Mbit/s Output goes ~ 200 .

grafana : Mb/s Ouptut gotes to 20-30 .

In Grafana i used Standard options → Unit: bits/sec(SI)

Anyone who tried plotting Network Interfaces in grafana polled by check-mk via influxdb ?

thx for your help, Best regards Dietmar

Hi,

My first Dashboard looks then like this

3 Dashboad Variables ( infinity - checkmk view json/csv ( has hostname , interface_name, summary)
1 regex summary to get User Description (csv)
2 get hostname where summary like query1 (json)
3 get interface_name where summary like query1 (json)

78 Interfaces Summary Status ( check-mk view - infinity pull service_state )
78 Lines with Service_State + regex from Summary in Table ( check-mk view - inifity state+summary)
( Datalink sets User Description which sets host_name and interface_name )
3 Influx Query over time on Status, In and Out, and Interface Errors with $hostname and $interface as filter.

Still beginner, but anyway needed still some weeks to get there where i am now lol .
( starting point 0 for influx/grafana )

What took me long was to use infinity instead of csv.

So maybe this helps someone to do something similar.

Why going thru this

  • Customer should not access Admin Monitoring tool
  • Customer should not see related Host and Interface
  • Not another Polling as we have ( check-mk )
  • If new Line/Interface is deployed correctly no Configurations needs to be done. ( ifAlias match )

The Unit Messurement is the only point with i do not understand currently …

thx, Dietmar