Griesbacher / nagflux

A connector which copies performancedata from Nagios / Icinga(2) / Naemon to InfluxDB
GNU General Public License v2.0
66 stars 32 forks source link

Accessing livestatus data #48

Open SchiSchi2 opened 5 years ago

SchiSchi2 commented 5 years ago

Hello,

I'm currently using nagflux together with Checkmk Raw edition (which uses a Nagios core) which works quite cool.

How is the livestatus data gathered with nagflux?

On the Checkmk console I can query the API to gather livestatus data:

OMD[MYSITE]:~$ lq "GET hosts\nColumns: name"
myserver1
myserver2
myserver3
...

But how can I do this on the Grafana/Influx side? Is this data generally stored?

The data I want to gather is how many hosts, how many services, etc... not data from a single host but from the whole monitoring.

Regards SchiSchi