Hello,
Strange issue, when OS apply to lastest patches and icinga2 apply to lastest version from 2.0, the web login gui becomes incomplete like attached picture shows. What’s the reason?
- Version used (
icinga2 --version
) → icinga2 - The Icinga 2 network monitoring daemon (version: r2.14.2-1) - Operating System and version → Opensuse 15.5 with latest patches
- Enabled features (
icinga2 feature list
) → Disabled features: command compatlog elasticsearch gelf graphite ido-pgsql influxdb influxdb2 journald livestatus opentsdb perfdata syslog
Enabled features: api checker debuglog icingadb ido-mysql mainlog notification - Icinga Web 2 version and modules (System - About) →
icinga2 - The Icinga 2 network monitoring daemon (version: r2.14.2-1)
Copyright (c) 2012-2024 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: openSUSE Leap
Platform version: 15.5
Kernel: Linux
Kernel version: 5.14.21-150500.55.65-default
Architecture: x86_64
Build information:
Compiler: GNU 7.5.0
Build host: unknown
OpenSSL version: OpenSSL 1.1.1l-fips 24 Aug 2021 SUSE release 150500.17.28.2
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
-
Config validation (
icinga2 daemon -C
)
icinga2:~ # 次世代 → icinga2 daemon -C
[2024-06-07 14:24:39 +0800] information/cli: Icinga application loader (version: r2.14.2-1)
[2024-06-07 14:24:39 +0800] information/cli: Loading configuration file(s).
[2024-06-07 14:24:39 +0800] information/ConfigItem: Committing config item(s).
[2024-06-07 14:24:39 +0800] information/ApiListener: My API identity: icinga2.test.net
[2024-06-07 14:24:40 +0800] warning/ApplyRule: Apply rule ‘’ (in /etc/icinga2/conf.d/services.conf: 64:1-64:53) for type ‘Service’ does not match anywhere!
[2024-06-07 14:24:40 +0800] warning/ApplyRule: Apply rule ‘icinga-agent-disk-RedHat-/’ (in /etc/icinga2/conf.d/services.conf: 117:1-117:42) for type ‘Service’ does not match anywhere!
[2024-06-07 14:24:40 +0800] warning/ApplyRule: Apply rule ‘icinga-agent-disk-RedHat-/tmp’ (in /etc/icinga2/conf.d/services.conf: 141:1-141:45) for type ‘Service’ does not match anywhere!
[2024-06-07 14:24:40 +0800] warning/ApplyRule: Apply rule ‘icinga-agent-disk-RedHat-/var/tmp’ (in /etc/icinga2/conf.d/services.conf: 165:1-165:49) for type ‘Service’ does not match anywhere!
[2024-06-07 14:24:40 +0800] warning/ApplyRule: Apply rule ‘icinga-agent-disk-RedHat-/boot’ (in /etc/icinga2/conf.d/services.conf: 189:1-189:46) for type ‘Service’ does not match anywhere!
[2024-06-07 14:24:40 +0800] warning/ApplyRule: Apply rule ‘icinga-agent-users-RedHat’ (in /etc/icinga2/conf.d/services.conf: 213:1-213:41) for type ‘Service’ does not match anywhere!
[2024-06-07 14:24:40 +0800] warning/ApplyRule: Apply rule ‘icinga-agent-cpu-RedHat’ (in /etc/icinga2/conf.d/services.conf: 238:1-238:39) for type ‘Service’ does not match anywhere!
[2024-06-07 14:24:40 +0800] warning/ApplyRule: Apply rule ‘icinga-agent-disk-SuSE-/’ (in /etc/icinga2/conf.d/services.conf: 258:1-258:40) for type ‘Service’ does not match anywhere!
[2024-06-07 14:24:40 +0800] warning/ApplyRule: Apply rule ‘icinga-agent-disk-SuSE-/tmp’ (in /etc/icinga2/conf.d/services.conf: 282:1-282:43) for type ‘Service’ does not match anywhere!
[2024-06-07 14:24:40 +0800] warning/ApplyRule: Apply rule ‘icinga-agent-disk-SuSE-/var/tmp’ (in /etc/icinga2/conf.d/services.conf: 306:1-306:47) for type ‘Service’ does not match anywhere!
[2024-06-07 14:24:40 +0800] warning/ApplyRule: Apply rule ‘icinga-agent-disk-SuSE-/boot’ (in /etc/icinga2/conf.d/services.conf: 330:1-330:44) for type ‘Service’ does not match anywhere!
[2024-06-07 14:24:40 +0800] warning/ApplyRule: Apply rule ‘icinga-agent-users-SuSE’ (in /etc/icinga2/conf.d/services.conf: 354:1-354:39) for type ‘Service’ does not match anywhere!
[2024-06-07 14:24:40 +0800] warning/ApplyRule: Apply rule ‘icinga-agent-cpu-SuSE’ (in /etc/icinga2/conf.d/services.conf: 379:1-379:37) for type ‘Service’ does not match anywhere!
[2024-06-07 14:24:40 +0800] warning/ApplyRule: Apply rule ‘cn-ping4’ (in /etc/icinga2/zones.d/cn/services.conf: 1:0-1:23) for type ‘Service’ does not match anywhere!
[2024-06-07 14:24:40 +0800] warning/ApplyRule: Apply rule ‘cn-disk’ (in /etc/icinga2/zones.d/cn/services.conf: 8:1-8:23) for type ‘Service’ does not match anywhere!
[2024-06-07 14:24:40 +0800] warning/ApplyRule: Apply rule ‘cn-procs’ (in /etc/icinga2/zones.d/cn/services.conf: 17:1-17:24) for type ‘Service’ does not match anywhere!
[2024-06-07 14:24:40 +0800] warning/ApplyRule: Apply rule ‘cn-users’ (in /etc/icinga2/zones.d/cn/services.conf: 25:1-25:24) for type ‘Service’ does not match anywhere!
[2024-06-07 14:24:40 +0800] warning/ApplyRule: Apply rule ‘cn-swap’ (in /etc/icinga2/zones.d/cn/services.conf: 33:1-33:23) for type ‘Service’ does not match anywhere!
[2024-06-07 14:24:40 +0800] warning/ApplyRule: Apply rule ‘nrpe_active_check’ (in /etc/icinga2/zones.d/cn/services.conf: 42:1-42:33) for type ‘Service’ does not match anywhere!
[2024-06-07 14:24:40 +0800] warning/ApplyRule: Apply rule ‘nrpe_passive_check’ (in /etc/icinga2/zones.d/cn/services.conf: 55:1-55:34) for type ‘Service’ does not match anywhere!
[2024-06-07 14:24:40 +0800] information/ConfigItem: Instantiated 1 NotificationComponent.
[2024-06-07 14:24:40 +0800] information/ConfigItem: Instantiated 1 IdoMysqlConnection.
[2024-06-07 14:24:40 +0800] information/ConfigItem: Instantiated 1 Downtime.
[2024-06-07 14:24:40 +0800] information/ConfigItem: Instantiated 1 CheckerComponent.
[2024-06-07 14:24:40 +0800] information/ConfigItem: Instantiated 1 User.
[2024-06-07 14:24:40 +0800] information/ConfigItem: Instantiated 1 UserGroup.
[2024-06-07 14:24:40 +0800] information/ConfigItem: Instantiated 3 TimePeriods.
[2024-06-07 14:24:40 +0800] information/ConfigItem: Instantiated 3 ServiceGroups.
[2024-06-07 14:24:40 +0800] information/ConfigItem: Instantiated 8 Services.
[2024-06-07 14:24:40 +0800] information/ConfigItem: Instantiated 1 ScheduledDowntime.
[2024-06-07 14:24:40 +0800] information/ConfigItem: Instantiated 5 Zones.
[2024-06-07 14:24:40 +0800] information/ConfigItem: Instantiated 2 NotificationCommands.
[2024-06-07 14:24:40 +0800] information/ConfigItem: Instantiated 8 Notifications.
[2024-06-07 14:24:40 +0800] information/ConfigItem: Instantiated 2 FileLoggers.
[2024-06-07 14:24:40 +0800] information/ConfigItem: Instantiated 1 IcingaApplication.
[2024-06-07 14:24:40 +0800] information/ConfigItem: Instantiated 2 Hosts.
[2024-06-07 14:24:40 +0800] information/ConfigItem: Instantiated 3 HostGroups.
[2024-06-07 14:24:40 +0800] information/ConfigItem: Instantiated 2 Endpoints.
[2024-06-07 14:24:40 +0800] information/ConfigItem: Instantiated 1 ApiUser.
[2024-06-07 14:24:40 +0800] information/ConfigItem: Instantiated 1 ApiListener.
[2024-06-07 14:24:40 +0800] information/ConfigItem: Instantiated 246 CheckCommands.
[2024-06-07 14:24:40 +0800] information/ConfigItem: Instantiated 1 IcingaDB.
[2024-06-07 14:24:40 +0800] information/ScriptGlobal: Dumping variables to file ‘/var/cache/icinga2/icinga2.vars’
[2024-06-07 14:24:40 +0800] information/cli: Finished validating the configuration file(s). -
If you run multiple Icinga 2 instances, the
zones.conf
file (oricinga2 object list --type Endpoint
andicinga2 object list --type Zone
) from all affected nodes
icinga2:~ # 次世代 → icinga2 object list --type Endpoint
Object ‘icinga2.test.net’ of type ‘Endpoint’:
% declared in ‘/etc/icinga2/zones.conf’, lines 59:1-59:34
- __name = “icinga2.test.net”
- host = “”
- log_duration = 86400
- name = “icinga2.test.net”
- package = “_etc”
- port = “5665”
- source_location
- first_column = 1
- first_line = 59
- last_column = 34
- last_line = 59
- path = “/etc/icinga2/zones.conf”
- templates = [ “icinga2.test.net” ]
% = modified in ‘/etc/icinga2/zones.conf’, lines 59:1-59:34 - type = “Endpoint”
- zone = “”
Object ‘icinga2-sat1.test.net’ of type ‘Endpoint’:
% declared in ‘/etc/icinga2/zones.conf’, lines 51:1-51:39
- __name = “icinga2-sat1.test.net”
- host = “192.168.31.111”
% = modified in ‘/etc/icinga2/zones.conf’, lines 52:3-52:25 - log_duration = 86400
- name = “icinga2-sat1.test.net”
- package = “_etc”
- port = “5665”
- source_location
- first_column = 1
- first_line = 51
- last_column = 39
- last_line = 51
- path = “/etc/icinga2/zones.conf”
- templates = [ “icinga2-sat1.test.net” ]
% = modified in ‘/etc/icinga2/zones.conf’, lines 51:1-51:39 - type = “Endpoint”
- zone = “”
icinga2:~ # 次世代 → icinga2 object list --type Zone
Object ‘global-templates’ of type ‘Zone’:
% declared in ‘/etc/icinga2/zones.conf’, lines 26:1-26:30
- __name = “global-templates”
- endpoints = null
- global = true
% = modified in ‘/etc/icinga2/zones.conf’, lines 27:3-27:15 - name = “global-templates”
- package = “_etc”
- parent = “”
- source_location
- first_column = 1
- first_line = 26
- last_column = 30
- last_line = 26
- path = “/etc/icinga2/zones.conf”
- templates = [ “global-templates” ]
% = modified in ‘/etc/icinga2/zones.conf’, lines 26:1-26:30 - type = “Zone”
- zone = “”
Object ‘global-commands’ of type ‘Zone’:
% declared in ‘/etc/icinga2/zones.conf’, lines 42:1-42:29
- __name = “global-commands”
- endpoints = null
- global = true
% = modified in ‘/etc/icinga2/zones.conf’, lines 43:3-43:15 - name = “global-commands”
- package = “_etc”
- parent = “”
- source_location
- first_column = 1
- first_line = 42
- last_column = 29
- last_line = 42
- path = “/etc/icinga2/zones.conf”
- templates = [ “global-commands” ]
% = modified in ‘/etc/icinga2/zones.conf’, lines 42:1-42:29 - type = “Zone”
- zone = “”
Object ‘director-global’ of type ‘Zone’:
% declared in ‘/etc/icinga2/zones.conf’, lines 38:1-38:29
- __name = “director-global”
- endpoints = null
- global = true
% = modified in ‘/etc/icinga2/zones.conf’, lines 39:3-39:15 - name = “director-global”
- package = “_etc”
- parent = “”
- source_location
- first_column = 1
- first_line = 38
- last_column = 29
- last_line = 38
- path = “/etc/icinga2/zones.conf”
- templates = [ “director-global” ]
% = modified in ‘/etc/icinga2/zones.conf’, lines 38:1-38:29 - type = “Zone”
- zone = “”
Object ‘cn’ of type ‘Zone’:
% declared in ‘/etc/icinga2/zones.conf’, lines 62:1-62:16
- __name = “cn”
- endpoints = [ “icinga2-sat1.test.net” ]
% = modified in ‘/etc/icinga2/zones.conf’, lines 63:2-63:40 - global = false
- name = “cn”
- package = “_etc”
- parent = “master”
% = modified in ‘/etc/icinga2/zones.conf’, lines 65:2-65:18 - source_location
- first_column = 1
- first_line = 62
- last_column = 16
- last_line = 62
- path = “/etc/icinga2/zones.conf”
- templates = [ “cn” ]
% = modified in ‘/etc/icinga2/zones.conf’, lines 62:1-62:16 - type = “Zone”
- zone = “”
Object ‘master’ of type ‘Zone’:
% declared in ‘/etc/icinga2/zones.conf’, lines 55:1-55:20
- __name = “master”
- endpoints = [ “icinga2.test.net” ]
% = modified in ‘/etc/icinga2/zones.conf’, lines 56:3-56:36 - global = false
- name = “master”
- package = “_etc”
- parent = “”
- source_location
- first_column = 1
- first_line = 55
- last_column = 20
- last_line = 55
- path = “/etc/icinga2/zones.conf”
- templates = [ “master” ]
% = modified in ‘/etc/icinga2/zones.conf’, lines 55:1-55:20 - type = “Zone”
- zone = “”