Having a bit of a strange issue. I don’t get any plugin output for one host, and only for that one host.
The plugin is check_iftraffic64, the checks work fine on other hosts.
It was working fine during the “testing” phase (finding the right plugin and parameters). After it was working on the cli, I went to the director and made all the ckeck and service templates in the GUI.
And now comes what probably is/was the issue:
When i created the check command I accidentially clicked “Icinga Check Command” instead of “Plugin Check Command”
At this point in time i only had that one host/service using this check command. In Icinga Web it showed me the icinga stats (as expected when using the Icinga Check…). At this point i changed the check command to the Plugin Check command type and since that i don’t get any plugin output for that host.
I created some other hosts using this check after i changed the check command type, all of them are working fine.
Maybe there is some cache or state file which needs to be deleted to get some output again? (maybe /varcache/icinga2)
Looked into the debug log, but no errors in there. Just that the check ran
Other things i tried:
Deleting the host in director and cli
Restarting the Icinga2 Service and der Server itself
- Version used (
icinga2 - The Icinga 2 network monitoring daemon (version: 2.13.2-1) Copyright (c) 2012-2022 Icinga GmbH (https://icinga.com/) License GPLv2+: GNU GPL version 2 or later <https://gnu.org/licenses/gpl2.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. System information: Platform: CentOS Linux Platform version: 7 (Core) Kernel: Linux Kernel version: 3.10.0-1160.62.1.el7.x86_64 Architecture: x86_64 Build information: Compiler: GNU 4.8.5 Build host: runner-hh8q3bz2-project-322-concurrent-0 OpenSSL version: OpenSSL 1.0.2k-fips 26 Jan 2017 Application information: General paths: Config directory: /etc/icinga2 Data directory: /var/lib/icinga2 Log directory: /var/log/icinga2 Cache directory: /var/cache/icinga2 Spool directory: /var/spool/icinga2 Run directory: /run/icinga2 Old paths (deprecated): Installation root: /usr Sysconf directory: /etc Run directory (base): /run Local state directory: /var Internal paths: Package data directory: /usr/share/icinga2 State path: /var/lib/icinga2/icinga2.state Modified attributes path: /var/lib/icinga2/modified-attributes.conf Objects path: /var/cache/icinga2/icinga2.debug Vars path: /var/cache/icinga2/icinga2.vars PID path: /run/icinga2/icinga2.pid
- Operating System and version
- Enabled features (
icinga2 feature list)
Disabled features: compatlog debuglog elasticsearch gelf graphite icingadb influxdb influxdb2 opentsdb statusdata syslog Enabled features: api checker command ido-mysql livestatus mainlog notification perfdata
Icinga Web 2 version and modules (System - About)
Config validation (
icinga2 daemon -C)
No errors, only some warnings for unused apply-rules
If you run multiple Icinga 2 instances, the
icinga2 object list --type Endpointand
icinga2 object list --type Zone) from all affected nodes
Only one instance