Error 404 with perfdatagraphsgraphite, perfdatagraph and influxdb1

I get following error in the Performace Data Graph section:

Error while fetching data: Client error: `GET http://127.0.0.1:8086/metrics/find?query=icinga2.Mail_Server.services.ping4.ping4.perfdata.*&from=1779625720&format=treejson` resulted in a `404 Not Found` response: 404 page not found No data received.

I am using InfluxDB version: 1.6.7, perfdatagraph and perfdatagraphgraphite. The performance data are recorded in the InfluxDB, when I do a SHOW MEASUREMENTS I get following:

name: measurements
name

apt
disk
hostalive
http
icinga
imap
load
nrpe
ping4
procs
smtp
snmp
ssh
swap
users

and there are data recorded under each name. My influxdb.conf contains:

reporting-enabled = false

[meta]
dir = “/var/lib/influxdb/meta”

[data]
dir = “/var/lib/influxdb/data”
wal-dir = “/var/lib/influxdb/wal”

[http]
enabled = true
bind-address = “127.0.0.1:8086”

[[graphite]]
enabled = false

and the API URL for perfdatagraphsgraphite is: http://127.0.0.1/8086

Did I miss a configuration or a do I need to make other changes to the existing configs, to solve it. Any suggestions are appreciated.

Thanks for posting.

Pardon me, I am a bit confused as you wrote about both InfluxDB v1 as your TSDB and Graphite as a Performance Data Graphs Backend. Is there a compatibility layer I am unaware of or did you want to install the InfluxDB v1 backend instead?

I am sorry if my post is confusing. I am new to icinga2 and try to get some basic performance graphs going. I have incinga2 working and it is sending emails when there are warnings and errors. With all the different information out there on graphing icinga2 I might probably misunderstand on how to get the graphs working. In addition to icinga2 I have the InfluxDB v1 to collect the peformance data and perfdatagraphs and perfdatagraphs-graphite from URL: Icinga Web Module for Performance Data Graphs . I am not sure what really is needed and what do I need to configure.

Almost all information is with using grafana, which is overkill for me.

Any pointers or information is appreciated.

That’s all valid and fair. Icinga has a huge ecosystem with lots of integrations, which can easily lead to confusions.

When data is arriving in your InfluxDB v1, as you wrote in your first post, I guess you only have to switch the Graphite perfdatagraphs backend to the InfluxDB v1 perfdatagraphs backend, as Graphite and InfluxDB are different kinds of TSDBs. Please try to install the InfluxDB v1 backend and reconfigure the perfdatagraphs module to use this backend instead.

I got it working, I went back to check step by step the installation and configuration of the modules and I found that I missed one step in the configuration of the perfdatagraphs module. I didn’t include the default_backend Parameter.