Copyright (c) 2012-2021 Icinga GmbH (https://icinga.com/)
License GPLv2+: GNU GPL version 2 or later http://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: Debian GNU/Linux
Platform version: 10 (buster)
Kernel: Linux
Kernel version: 4.19.0-16-amd64
Architecture: x86_64
Build information:
Compiler: GNU 8.3.0
Build host: anubis
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
Now if I want to configure at Director a host template at “Check-Command” I get the error
“Unable to load object referenced from host “generic-host”, failed to load icinga_command “host” (IcingaObject.php:539)” during type “host…” instead of the possibilities.
The same error at service templates. Additional here I can’t choose several imports, because the popup doesn’t run.
Hello Nexo1960,
really? I don’t believe it. I have 2 Icinga2 installed and both comes from
cat /etc/apt/sources.list.d/icinga.list
deb-src Index of /debian icinga-buster main
and has these installed packages:
dpkg -l | grep icinga
ii icinga2 2.10.3-2+deb10u1 amd64 host and network monitoring system
ii icinga2-bin 2.10.3-2+deb10u1 amd64 host and network monitoring system - daemon
ii icinga2-common 2.10.3-2+deb10u1 all host and network monitoring system - common files
ii icinga2-doc 2.10.3-2+deb10u1 all host and network monitoring system - documentation
ii icinga2-ido-mysql 2.10.3-2+deb10u1 amd64 host and network monitoring system - MySQL support
ii icingacli 2.6.2-3+deb10u1 all simple CLI tool for Icingaweb2 and its modules
ii icingaweb2 2.6.2-3+deb10u1 all simple and responsive web interface for Icinga
ii icingaweb2-common 2.6.2-3+deb10u1 all simple and responsive web interface for Icinga - common files
ii icingaweb2-module-doc 2.6.2-3+deb10u1 all simple and responsive web interface for Icinga - documentation module
ii icingaweb2-module-monitoring 2.6.2-3+deb10u1 all simple and responsive web interface for Icinga - monitoring module
ii php-icinga 2.6.2-3+deb10u1 all PHP library to communicate with and use Icinga
ii vim-icinga2 2.10.3-2+deb10u1 all syntax highlighting for Icinga 2 config files in VIM
The first of the both doesn’t this described problem, only the second installed.
But this doesn’t explain the error on the second icinga2 server. I don’t believe your arguments, that’s another reason. Especially when the first with same packages runs well.
After a night, suddenly tomorrow it is running well. The commands and imports will be shown in pulldown lists.
I don’t known the reasons for this behavior.