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

No error when wrong influxdb credentials #49

Open Niecke opened 5 years ago

Niecke commented 5 years ago

When the credentials in the nagflux config for accessing influxdb are wrong then there is nothing in the logs.

Example: If the config for nagflux looks like the following and there is no account with name admin and pw admin then nagflux seems to fail silently.

[InfluxDB "nagflux"]
    Enabled = true
    Version = 1.0
    Address = "http://127.0.0.1:8086"
    Arguments = "precision=ms&u=admin&p=admin&db=nagflux"
    StopPullingDataIfDown = true

Even setting log level of nagflux to debug does not show anything.