Then it was back up exactly 5 minutes before it has been shutdown again at 12:45:
[2021-10-06 12:45:08 +0200] information/Application: Received request to shut down.
[2021-10-06 12:45:08 +0200] information/Application: Shutting down...
[2021-10-06 12:45:08 +0200] information/CheckerComponent: 'checker' stopped.
[2021-10-06 12:45:08 +0200] information/NotificationComponent: 'notification' stopped.
[2021-10-06 12:45:08 +0200] information/ExternalCommandListener: 'command' stopped.
[2021-10-06 12:45:08 +0200] information/DbConnection: Pausing IDO connection: ido-mysql
[2021-10-06 12:45:08 +0200] information/IdoMysqlConnection: Disconnected from 'ido-mysql' database 'icinga_ido'.
[2021-10-06 12:45:08 +0200] information/IdoMysqlConnection: 'ido-mysql' paused.
[2021-10-06 12:45:08 +0200] information/DbConnection: 'ido-mysql' stopped.
[2021-10-06 12:45:08 +0200] information/ConfigObject: Dumping program state to file '/var/lib/icinga2/icinga2.state'
[2021-10-06 12:45:08 +0200] critical/Application: Icinga 2 has terminated unexpectedly. Additional information can be found in '/var/log/icinga2/crash/report.1633517108.859343'
For the next 5h these messages iterated:
[2021-10-06 14:24:11 +0200] information/ApiListener: New client connection for identity 'otn-icinga-sat-hedvig.mon.infra.domain.com' from [10.116.219.179]:33766
[2021-10-06 14:24:13 +0200] information/ApiListener: New client connection for identity 'k8s-icinga.domain.com' from [10.116.219.121]:32842
[2021-10-06 14:24:18 +0200] information/ApiListener: New client connection for identity 'otn-ac-ics-hfip.infra.domain.com' from [10.116.219.177]:59510
At 17:45 it came back:
[2021-10-06 17:45:40 +0200] information/ApiListener: 'api' started.
[2021-10-06 17:45:40 +0200] information/ApiListener: Copying 5 zone configuration files for zone 'global-templates' to '/var/lib/icinga2/api/zones/global-templates'.
[2021-10-06 17:45:40 +0200] information/ApiListener: Updating configuration file: /var/lib/icinga2/api/zones/global-templates//_etc/archive_citrix_custom_commands.conf
[2021-10-06 17:45:40 +0200] information/ApiListener: Updating configuration file: /var/lib/icinga2/api/zones/global-templates//_etc/archive_citrix_services.conf
[2021-10-06 17:45:40 +0200] information/ApiListener: Updating configuration file: /var/lib/icinga2/api/zones/global-templates//_etc/commands.conf
[2021-10-06 17:45:40 +0200] information/ApiListener: Updating configuration file: /var/lib/icinga2/api/zones/global-templates//_etc/services.conf
[2021-10-06 17:45:40 +0200] information/ApiListener: Updating configuration file: /var/lib/icinga2/api/zones/global-templates//_etc/templates.conf
[2021-10-06 17:45:40 +0200] information/ApiListener: Copying 3 zone configuration files for zone 'ac-data-hln' to '/var/lib/icinga2/api/zones/ac-data-hln'.
[2021-10-06 17:45:40 +0200] information/ApiListener: Updating configuration file: /var/lib/icinga2/api/zones/ac-data-hln//_etc/helion_fIP_hosts.conf
[2021-10-06 17:45:40 +0200] information/ApiListener: Updating configuration file: /var/lib/icinga2/api/zones/ac-data-hln//_etc/hln_services.conf
[2021-10-06 17:45:40 +0200] information/ApiListener: Updating configuration file: /var/lib/icinga2/api/zones/ac-data-hln//_etc/hln_templates.conf
[2021-10-06 17:45:40 +0200] information/ApiListener: Copying 1 zone configuration files for zone 'icinga2' to '/var/lib/icinga2/api/zones/icinga2'.
[2021-10-06 17:45:40 +0200] information/ApiListener: Updating configuration file: /var/lib/icinga2/api/zones/icinga2//_etc/hosts/hosts.conf
[2021-10-06 17:45:40 +0200] information/ApiListener: Copying 7 zone configuration files for zone 'otn-icinga-sat-hedvig' to '/var/lib/icinga2/api/zones/otn-icinga-sat-hedvig'.
[2021-10-06 17:45:40 +0200] information/ApiListener: Updating configuration file: /var/lib/icinga2/api/zones/otn-icinga-sat-hedvig//_etc/archived_hedvig_hosts.conf
[2021-10-06 17:45:40 +0200] information/ApiListener: Updating configuration file: /var/lib/icinga2/api/zones/otn-icinga-sat-hedvig//_etc/archived_hedvig_services.conf
[2021-10-06 17:45:40 +0200] information/ApiListener: Updating configuration file: /var/lib/icinga2/api/zones/otn-icinga-sat-hedvig//_etc/hedvig_custom_commands.conf
[2021-10-06 17:45:40 +0200] information/ApiListener: Updating configuration file: /var/lib/icinga2/api/zones/otn-icinga-sat-hedvig//_etc/hedvig_hosts.conf
[2021-10-06 17:45:40 +0200] information/ApiListener: Updating configuration file: /var/lib/icinga2/api/zones/otn-icinga-sat-hedvig//_etc/hedvig_hosts_dcc2.conf
[2021-10-06 17:45:40 +0200] information/ApiListener: Updating configuration file: /var/lib/icinga2/api/zones/otn-icinga-sat-hedvig//_etc/hedvig_services.conf
[2021-10-06 17:45:40 +0200] information/ApiListener: Updating configuration file: /var/lib/icinga2/api/zones/otn-icinga-sat-hedvig//_etc/hedvig_templates.conf
[2021-10-06 17:45:40 +0200] information/ApiListener: Copying 5 zone configuration files for zone 'ac-citrix-zone' to '/var/lib/icinga2/api/zones/ac-citrix-zone'.
[2021-10-06 17:45:40 +0200] information/ApiListener: Updating configuration file: /var/lib/icinga2/api/zones/ac-citrix-zone//_etc/DEL_citrix_services.conf
[2021-10-06 17:45:40 +0200] information/ApiListener: Updating configuration file: /var/lib/icinga2/api/zones/ac-citrix-zone//_etc/archive_citrix_hosts.conf
[2021-10-06 17:45:40 +0200] information/ApiListener: Updating configuration file: /var/lib/icinga2/api/zones/ac-citrix-zone//_etc/citrix_hosts.conf
[2021-10-06 17:45:40 +0200] information/ApiListener: Updating configuration file: /var/lib/icinga2/api/zones/ac-citrix-zone//_etc/citrix_hv.conf
[2021-10-06 17:45:40 +0200] information/ApiListener: Updating configuration file: /var/lib/icinga2/api/zones/ac-citrix-zone//_etc/citrix_templates.conf
[2021-10-06 17:45:40 +0200] information/ApiListener: Copying 7 zone configuration files for zone 'k8s-icinga' to '/var/lib/icinga2/api/zones/k8s-icinga'.
[2021-10-06 17:45:40 +0200] information/ApiListener: Updating configuration file: /var/lib/icinga2/api/zones/k8s-icinga//_etc/archive_k8s_custom_checks.conf
[2021-10-06 17:45:40 +0200] information/ApiListener: Updating configuration file: /var/lib/icinga2/api/zones/k8s-icinga//_etc/archive_k8s_hosts.conf
[2021-10-06 17:45:40 +0200] information/ApiListener: Updating configuration file: /var/lib/icinga2/api/zones/k8s-icinga//_etc/archive_k8s_services.conf
[2021-10-06 17:45:40 +0200] information/ApiListener: Updating configuration file: /var/lib/icinga2/api/zones/k8s-icinga//_etc/k8s_custom_checks.conf
[2021-10-06 17:45:40 +0200] information/ApiListener: Updating configuration file: /var/lib/icinga2/api/zones/k8s-icinga//_etc/k8s_hosts.conf
[2021-10-06 17:45:40 +0200] information/ApiListener: Updating configuration file: /var/lib/icinga2/api/zones/k8s-icinga//_etc/k8s_services.conf
[2021-10-06 17:45:40 +0200] information/ApiListener: Updating configuration file: /var/lib/icinga2/api/zones/k8s-icinga//_etc/k8s_templates.conf
[2021-10-06 17:45:40 +0200] information/ApiListener: Started new listener on '[0.0.0.0]:5665'
[2021-10-06 17:45:40 +0200] information/ExternalCommandListener: 'command' started.
[2021-10-06 17:45:40 +0200] warning/ExternalCommandListener: This feature is DEPRECATED and may be removed in future releases. Check the roadmap at https://github.com/Icinga/icinga2/mile$
Context:
(0) Activating object 'command' of type 'ExternalCommandListener'
[2021-10-06 17:45:40 +0200] information/ApiListener: Reconnecting to endpoint 'k8s-icinga.domain.com' via host 'k8s-icinga.domain.com' and port '566$
[2021-10-06 17:45:40 +0200] information/ApiListener: Reconnecting to endpoint 'otn-icinga-sat-citrix.mon.infra.domain.com' via host 'otn-icinga-sat-citrix.mon.infra.ai$
[2021-10-06 17:45:40 +0200] information/ApiListener: Reconnecting to endpoint 'otn-ac-ics-hfip.infra.domain.com' via host '[ "otn-ac-ics-hfip.infra.domain.com
[2021-10-06 17:45:40 +0200] information/ApiListener: Reconnecting to endpoint 'otn-icinga-sat-hedvig.mon.infra.domain.com' via host 'otn-icinga-sat-hedvig.mon.infra.ai$
[2021-10-06 17:45:40 +0200] information/DbConnection: 'ido-mysql' started.
[2021-10-06 17:45:40 +0200] critical/ApiListener: Cannot connect to host '[ "otn-ac-ics-hfip.infra.domain.com" ]' on port '5665': Host not found (authoritative)
[2021-10-06 17:45:40 +0200] information/InfluxdbWriter: 'influxdb' resumed.
[2021-10-06 17:45:40 +0200] information/NotificationComponent: 'notification' started.
[2021-10-06 17:45:40 +0200] information/CheckerComponent: 'checker' started.
[2021-10-06 17:45:40 +0200] information/ConfigItem: Activated all objects.
[2021-10-06 17:45:40 +0200] information/IdoMysqlConnection: 'ido-mysql' resumed.
[2021-10-06 17:45:40 +0200] information/DbConnection: Resuming IDO connection: ido-mysql
[2021-10-06 17:45:40 +0200] information/IdoMysqlConnection: MySQL IDO instance id: 1 (schema version: '1.14.3')
[2021-10-06 17:45:40 +0200] information/ApiListener: New client connection for identity 'otn-icinga-sat-citrix.mon.infra.domain.com' to [10.116.219.65]:5665
[2021-10-06 17:45:40 +0200] information/ApiListener: Finished reconnecting to endpoint 'otn-icinga-sat-citrix.mon.infra.domain.com' via host 'otn-icinga-sat-citrix.mon$
[2021-10-06 17:45:40 +0200] information/ApiListener: Sending config updates for endpoint 'otn-icinga-sat-citrix.mon.infra.domain.com' in zone 'ac-citrix-zone'.
[2021-10-06 17:45:40 +0200] information/ApiListener: Syncing configuration files for global zone 'global-templates' to endpoint 'otn-icinga-sat-citrix.mon.infra.domain.com
[2021-10-06 17:45:40 +0200] information/ApiListener: Syncing configuration files for zone 'ac-citrix-zone' to endpoint 'otn-icinga-sat-citrix.mon.infra.domain.com'.
[2021-10-06 17:45:40 +0200] information/ApiListener: Finished sending config file updates for endpoint 'otn-icinga-sat-citrix.mon.infra.domain.com' in zone 'ac-citrix-$
[2021-10-06 17:45:40 +0200] information/ApiListener: Syncing runtime objects to endpoint 'otn-icinga-sat-citrix.mon.infra.domain.com'.
[2021-10-06 17:45:40 +0200] information/ApiListener: Finished syncing runtime objects to endpoint 'otn-icinga-sat-citrix.mon.infra.domain.com'.
[2021-10-06 17:45:40 +0200] information/ApiListener: Finished sending runtime config updates for endpoint 'otn-icinga-sat-citrix.mon.infra.domain.com' in zone 'ac-citr$
[2021-10-06 17:45:40 +0200] information/ApiListener: Sending replay log for endpoint 'otn-icinga-sat-citrix.mon.infra.domain.com' in zone 'ac-citrix-zone'.
[2021-10-06 17:45:40 +0200] information/ApiListener: Finished sending replay log for endpoint 'otn-icinga-sat-citrix.mon.infra.domain.com' in zone 'ac-citrix-zone'.
[2021-10-06 17:45:40 +0200] information/ApiListener: Finished syncing endpoint 'otn-icinga-sat-citrix.mon.infra.domain.com' in zone 'ac-citrix-zone'.
[2021-10-06 17:45:40 +0200] information/JsonRpcConnection: Received certificate request for CN 'otn-icinga-sat-citrix.mon.infra.domain.com' signed by our CA.
[2021-10-06 17:45:40 +0200] information/JsonRpcConnection: The certificate for CN 'otn-icinga-sat-citrix.mon.infra.domain.com' is valid and uptodate. Skipping automate$
[2021-10-06 17:45:40 +0200] information/ApiListener: New client connection for identity 'otn-icinga-sat-hedvig.mon.infra.domain.com' to [10.116.219.179]:5665
[2021-10-06 17:45:40 +0200] information/ApiListener: Sending config updates for endpoint 'otn-icinga-sat-hedvig.mon.infra.domain.com' in zone 'otn-icinga-sat-he
/var/log/icinga2/crash/report.1633517108.859343
Caught SIGABRT.
Current time: 2021-10-06 12:45:08 +0200
Application version: 2.13.1-1
System information:
Platform: Red Hat Enterprise Linux Server
Platform version: 7.9 (Maipo)
Kernel: Linux
Kernel version: 3.10.0-1127.10.1.el7.x86_64
Architecture: x86_64
Build information:
Compiler: GNU 4.8.5
Build host: runner-hh8q3bz2-project-507-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
Stacktrace:
0# icinga::Application::SigAbrtHandler(int) in /usr/lib64/icinga2/sbin/icinga2
1# 0x00007F2AC1778630 in /lib64/libpthread.so.0
2# gsignal in /lib64/libc.so.6
3# abort in /lib64/libc.so.6
4# 0x00007F2AC1413F67 in /lib64/libc.so.6
5# 0x00007F2AC141A474 in /lib64/libc.so.6
6# 0x00007F2AC141C56B in /lib64/libc.so.6
7# icinga::InfluxdbCommonWriter::Flush() in /usr/lib64/icinga2/sbin/icinga2
8# icinga::InfluxdbCommonWriter::FlushTimeoutWQ() in /usr/lib64/icinga2/sbin/icinga2
9# icinga::WorkQueue::RunTaskFunction(std::function<void ()> const&) in /usr/lib64/icinga2/sbin/icinga2
10# icinga::WorkQueue::WorkerThreadProc() in /usr/lib64/icinga2/sbin/icinga2
11# 0x00007F2AC3678954 in /lib64/libboost_thread.so.1.69.0
12# 0x00007F2AC1770EA5 in /lib64/libpthread.so.0
13# clone in /lib64/libc.so.6
***
* This would indicate a runtime problem or configuration error. If you believe this is a bug in Icinga 2
* please submit a bug report at https://github.com/Icinga/icinga2 and include this stack trace as well as any other
* information that might be useful in order to reproduce this problem.
***
You might check outside of the Icinga logs (ie /var/log/messages) and see what sent the request. Doesn’t look like a crash, looks like a normal restart/stop&start.
We have some watchdog daemon’s in our environment that will do this from time to time. For instance, one daemon says that “if the Icinga2 API stops responding, restart Icinga2”
Yes, it does start up in almost all cases when it restarts. I just experienced two times were it couldn’t.
Disabling influxdb is not possible, because it is critical for production.