Hello,
we´ve got a problem with the connection between our Icinga server and a remote Icinga server. This problem is fairly new and the connection worked flawless before. The remote server is reachable via ping from our Icinga server and is embedded in the Webapplication(Also reachable there).
But when performing checks the output is "Remote Icinga instance ‘…’ is not connected to ‘icingaserver…’.
While investigating the problem we came to the conclusion the TLS handshake isn´t working.
Remote Server:
[2022-04-29 07:11:00 +0000] critical/ApiListener: Client TLS handshake failed (from [192.168.16.80]:51716): Operation canceled
Icinga Server:
[2022-04-29 09:12:40 +0200] critical/ApiListener: Client TLS handshake failed (to [192.168.19.69]:5665): Operation canceled
[2022-04-29 09:12:40 +0200] information/ApiListener: Finished reconnecting to endpoint 'dataexchange via host ‘192.168.19.69’ and port ‘5665’
I can exclude any certificate problems, OpenSSL versions are updated. There is a 2 hour time difference but thats because of timechange (Normal-/Summertime). The remote server is a CentOS 7.
- Version used (
icinga2 --version
)Version: r2.13.3-1
Operating System and version
System information:
Platform: Ubuntu
Platform version: 20.04.4 LTS (Focal Fossa)
Kernel: Linux
Kernel version: 5.4.0-109-generic
Architecture: x86_64
Build information:
Compiler: GNU 9.4.0
Build host: runner-hh8q3bz2-project-298-concurrent-0
OpenSSL version: OpenSSL 1.1.1f 31 Mar 2020
- Enabled features (
icinga2 feature list
)Disabled features: command compatlog elasticsearch gelf graphite influxdb2 opentsdb syslog
Enabled features: api checker debuglog icingadb ido-mysql influxdb livestatus mainlog notification perfdata
statusdata
- Config validation (
icinga2 daemon -C
)[2022-05-02 12:51:59 +0200] information/cli: Icinga application loader (version: r2.13.3-1)
[2022-05-02 12:51:59 +0200] information/cli: Loading configuration file(s).
[2022-05-02 12:51:59 +0200] warning/config: Ignoring directory ‘/var/lib/icinga2/api/zones/company-rsdmz’ for unknown zone ‘company-rsdmz’.
[2022-05-02 12:51:59 +0200] warning/config: Ignoring directory ‘/var/lib/icinga2/api/zones/company-rsdmz-satellite’ for unknown zone ‘company-rsdmz-satellite’.
[2022-05-02 12:51:59 +0200] information/ConfigItem: Committing config item(s).
[2022-05-02 12:51:59 +0200] information/ApiListener: My API identity: srv-u-syshealth2.company.private
[2022-05-02 12:52:00 +0200] information/ConfigItem: Instantiated 1 IcingaApplication.
[2022-05-02 12:52:00 +0200] information/ConfigItem: Instantiated 17 HostGroups.
[2022-05-02 12:52:00 +0200] information/ConfigItem: Instantiated 58 Hosts.
[2022-05-02 12:52:00 +0200] information/ConfigItem: Instantiated 23 Downtimes.
[2022-05-02 12:52:00 +0200] information/ConfigItem: Instantiated 2 NotificationCommands.
[2022-05-02 12:52:00 +0200] information/ConfigItem: Instantiated 77 Notifications.
[2022-05-02 12:52:00 +0200] information/ConfigItem: Instantiated 2 FileLoggers.
[2022-05-02 12:52:00 +0200] information/ConfigItem: Instantiated 1 CheckerComponent.
[2022-05-02 12:52:00 +0200] information/ConfigItem: Instantiated 1 IcingaDB.
[2022-05-02 12:52:00 +0200] information/ConfigItem: Instantiated 1 IdoMysqlConnection.
[2022-05-02 12:52:00 +0200] information/ConfigItem: Instantiated 1 StatusDataWriter.
[2022-05-02 12:52:00 +0200] information/ConfigItem: Instantiated 35 Zones.
[2022-05-02 12:52:00 +0200] information/ConfigItem: Instantiated 1 ApiListener.
[2022-05-02 12:52:00 +0200] information/ConfigItem: Instantiated 1 InfluxdbWriter.
[2022-05-02 12:52:00 +0200] information/ConfigItem: Instantiated 33 Endpoints.
[2022-05-02 12:52:00 +0200] information/ConfigItem: Instantiated 3 ApiUsers.
[2022-05-02 12:52:00 +0200] information/ConfigItem: Instantiated 1 LivestatusListener.
[2022-05-02 12:52:00 +0200] information/ConfigItem: Instantiated 300 CheckCommands.
[2022-05-02 12:52:00 +0200] information/ConfigItem: Instantiated 1 NotificationComponent.
[2022-05-02 12:52:00 +0200] information/ConfigItem: Instantiated 4 Users.
[2022-05-02 12:52:00 +0200] information/ConfigItem: Instantiated 2 UserGroups.
[2022-05-02 12:52:00 +0200] information/ConfigItem: Instantiated 6 TimePeriods.
[2022-05-02 12:52:00 +0200] information/ConfigItem: Instantiated 1 PerfdataWriter.
[2022-05-02 12:52:00 +0200] information/ConfigItem: Instantiated 900 Services.
[2022-05-02 12:52:00 +0200] information/ConfigItem: Instantiated 5 ServiceGroups.
[2022-05-02 12:52:00 +0200] information/ConfigItem: Instantiated 23 ScheduledDowntimes.
[2022-05-02 12:52:00 +0200] information/ScriptGlobal: Dumping variables to file ‘/var/cache/icinga2/icinga2.vars’
[2022-05-02 12:52:00 +0200] information/cli: Finished validating the configuration file(s).