/etc/icinga2/features-enabled/graphite.conf
object GraphiteWriter "graphite" {
host = "192.0.2.42"
port = 2003
enable_send_thresholds = true
}
/usr/share/icinga-php/ipl/VERSION
Austauschen v0.7.0 gegen 0.9.0
icinga2 feature enable graphite
systemctl restart icinga2
dnf install podman-docker
docker pull graphiteapp/graphite-statsd
docker run -d --name graphite --restart=always -p 8090:80 -p 2003-2004:2003-2004 -p 2023-2024:2023-2024 -p 8125:8125/udp -p 8126:8126 graphiteapp/graphite-statsd
cd /usr/share/icingaweb2/modules
git clone https://github.com/Icinga/icingaweb2-module-graphite.git graphite
Um den Container automatisch beim Neustart zu starten kann man sich ein Startscript von podman erzeugen lassen.
cd /etc/systemd/system
podman generate systemd graphite --after icinga2
systemctl daemon-reload
systemctl enable graphite.service
systemctl start graphite.service