Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Service checked from Nagios are not stored in influx DB #52

Open
budabudaok opened this issue Oct 24, 2020 · 0 comments
Open

Service checked from Nagios are not stored in influx DB #52

budabudaok opened this issue Oct 24, 2020 · 0 comments

Comments

@budabudaok
Copy link

Hello @Griesbacher
First of all thanks for your amazing plugin! please could you help me with this issue: I installed nagflux with this guide i think that all is OK but i get the error: Database Error: No data found when i integrated Grafana / Histou into the Nagios Core web interface but only with th SERVICE with the host all are OK.

I started to debug and i think that nagflux is unable to insert any metric of SERVICES on the database "nagflux" when a query with:
select time,host,service,performanceLabel,value,warn,crit from metrics

so then histou can't graphited any service on grafana.

Heres is my config file of nagflux:

/opt/nagflux/config.gcfg
[main]
NagiosSpoolfileFolder = "/usr/local/nagios/var/spool/nagfluxperfdata"
NagiosSpoolfileWorker = 10
InfluxWorker = 10
MaxInfluxWorker = 50
DumpFile = "nagflux.dump"
NagfluxSpoolfileFolder = "/usr/local/nagios/var/nagflux"
FieldSeparator = "&"
BufferSize = 10000
FileBufferSize = 65536
DefaultTarget = "all"

[Log]
LogFile = "/opt/logs/nagios/nagflux.log"
MinSeverity = "DEBUG"

[InfluxDBGlobal]
CreateDatabaseIfNotExists = true
NastyString = ""
NastyStringToReplace = ""
HostcheckAlias = "hostcheck"
ServicecheckAlias = "servicecheck"

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

[InfluxDB "fast"]
Enabled = false
Version = 1.0
Address = "http://127.0.0.1:8086"
Arguments = "precision=ms&u=root&p=root&db=fast"
StopPullingDataIfDown = false

any advice is very welcome! thanks for your time!

Regards

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant