Icinga Graphite enable stops incingadb

Hi

This is my first attempt to use icinga 2. I did an install on Ubuntu nobel and use the default monitoring for just the local host which works fine. I just want to have some basic graphs of the monitored services, so I installed icinga-graphite following the instructions in the documentation Icinga Web Graphite Integration. After I did the install I run “icinga2 feature enable graphite” and chaged the file graphite.conf in /etc/icinga2/features-enabled to:

object GraphiteWriter “graphite” {
host = “127.0.0.1”
port = 2003

enable_send_thresholds = true
}

When I login to incinga2 and try to make the basic changes as described: Configuration > Modules > graphite > Backend. I see following error at the bottom of the screen

“It seems that Icinga DB is not running. Make sure Icinga DB is running and writing into the database.”

and systemctl status incingadb.server shows following:

May 17 01:23:46 test-svr icingadb[29676]: heartbeat: Lost Icinga heartbeat
May 17 01:23:46 test-svr icingadb[29676]: high-availability: Lost heartbeat
May 17 01:23:46 test-svr icingadb[29676]: Handing over
May 17 01:24:46 test-svr icingadb[29676]: heartbeat: Waiting for Icinga heartbeat

After disabling graphite and restarting incinga2 and icingadb all works fine.

Are there any other pre-requistes or different procedures to followed to get some very basic graphs going.

Thanks and Regards,

Horst

I’d recommend to roll back to Icinga2 2.15.x for setups with influxdb/influxdb2/graphite. Guess it’ll be fixed with Icinga2 2.16.1

I have icinga2 installed using the ubuntu depository, will try again with the lower version, when I familiar with installing a lower version (roll back).

I think the problem was I didnt’ t have a performance data base installed. After I installed influxdb v1.6 and enabled it icingadb didn’t fail no more. Now I have a different error, which I will post in a different thread.