ptarmiganlabs / butler-sos

Butler SenseOps Stats ("Butler-SOS") is a microservice publishing operational Qlik Sense metrics to InfluxDB, Prometheus and New Relic. Add Grafana for great looking dashboards and you get real-time monitoring of what happens inside a Qlik Sense environment.
https://butler-sos.ptarmiganlabs.com
MIT License
27 stars 13 forks source link

Lookup of available InfluxDB databases even if InfluxDB is disabled in config file #931

Closed mountaindude closed 3 weeks ago

mountaindude commented 4 weeks ago

What version of Butler SOS are you using?

11.0.2

What version of Node.js are you using? Not applicable if you use the standalone version of Butler SOS.

No response

What command did you use to start Butler SOS?

-

What operating system are you using?

-

What CPU architecture are you using?

-

What Qlik Sense versions are you using?

-

Describe the Bug

Butler SOS tries to connect to InfluxDB to get a list of available databases even if Butler-SOS.influxdbConfig.enable is set to false.

CONFIG: Error getting list of InfluxDB v1 databases. Error: getaddrinfo ENOTFOUND 10.11.12.13

Expected Behavior

To Reproduce

No response

mountaindude commented 4 weeks ago
2024-10-23T06:14:56.031Z error: EVENT COUNT INFLUXDB: Error saving data to InfluxDB v1! TypeError: Cannot read properties of undefined (reading 'writePoints')
2024-10-23T06:14:56.032Z error: REJECT LOG EVENT INFLUXDB: Error saving data to InfluxDB v1! TypeError: Cannot read properties of undefined (reading 'writePoints')