Installing Icinga Web Graphite Integration from Source¶
Please see the Icinga Web documentation on
how to install modules from source.
Make sure you use graphite
as the module name. The following requirements must also be met.
Requirements¶
- PHP (≥7.2)
- Icinga Web (≥2.9)
- Icinga DB Web (≥1.0)
- Icinga PHP Library (ipl) (≥0.9)
- Icinga PHP Thirdparty (≥0.11)
Prepare Icinga 2¶
Enable the graphite feature:
# icinga2 feature enable graphite
Adjust its configuration in /etc/icinga2/features-enabled/graphite.conf
:
object GraphiteWriter "graphite" {
host = "192.0.2.42"
port = 2003
enable_send_thresholds = true
}
And then restart Icinga2. Enabling thresholds is not a hard requirement. However, some templates look better if they are able to render a max value or similar.
Configuring the Icinga Web Graphite Integration¶
For required additional steps see the Configuration chapter.