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

[Question] Can nagflux and pnp4nagios use same spool folder / perf data ? #39

Closed bingoarun closed 6 years ago

bingoarun commented 6 years ago

In the manual setup instructions - https://exchange.nagios.org/directory/Documentation/Nagios-with-InfluxDB,-nagflux-and-Grafana/details, I can see there are additional steps to make a copy of the spool folder so that pnp4nagios and nagflux use different folders.

Whereas when enabling the nagflux using latest version of omd (omd config set NAGFLUX on), I can see that both pnp4nagios and nagflux are using the same spool folders and both the graphs are working fine.
Can nagflux and pnp4nagios use same spool folder ?

Griesbacher commented 6 years ago

They can use both the same folder but they should not run at the same time. Each tool deletes the spoolfiles after the read, therefore only Nagflux or PNP4Nagios receives the data.

If you want to use both, copy the data to two different directories, where each tool can collect the spoolfiles.

bingoarun commented 6 years ago

Thank you. We can close this issue.