I have Icinga on Linux monitoring about 50 clients no problem- they’re all about the same. One of them I added today is having a problem. Setting up the client worked fine, no certificate errors or anything, and I checked the zone file configuration, it looks fine.
The monitors I have set up for this one node works fine, but over and over again in the debug log on the master I see these messages:
On master:
[2020-03-25 17:43:55 -0700] information/ApiListener: Finished sending runtime config updates for endpoint '<CLIENT>' in zone '<CLIENT>'.
[2020-03-25 17:43:55 -0700] notice/JsonRpcConnection: Received 'icinga::Hello' message from identity '<CLIENT>'.
[2020-03-25 17:43:55 -0700] notice/JsonRpcConnection: Received 'pki::RequestCertificate' message from identity '<CLIENT>'.
[2020-03-25 17:43:55 -0700] information/JsonRpcConnection: Received certificate request for CN '<CLIENT>' signed by our CA.
[2020-03-25 17:43:55 -0700] information/JsonRpcConnection: The certificate for CN '<CLIENT>' is valid and uptodate. Skipping automated renewal.
On the client, I keep seeing these messages over and over. What should I check next? I’ve tried reinstalling icinga a couple of times on the client but it does the same thing. Everything has been working fine for months, it’s just this one client that’s having a problem. We haven’t made any changes and I’ve restarted the master and client multiple times.
On client:
[2020-03-25 17:43:55 -0700] information/ApiListener: Syncing runtime objects to endpoint '<MASTER>'.
[2020-03-25 17:43:55 -0700] information/ApiListener: Finished syncing runtime objects to endpoint '<MASTER>'.
[2020-03-25 17:43:55 -0700] information/ApiListener: Finished sending runtime config updates for endpoint '<MASTER>' in zone 'master'.
[2020-03-25 17:43:55 -0700] information/ApiListener: Sending replay log for endpoint '<MASTER>' in zone 'master'.
[2020-03-25 17:43:55 -0700] notice/ApiListener: Replaying log: /var/lib/icinga2/api/log/current
[2020-03-25 17:43:55 -0700] notice/ApiListener: Replayed 0 messages.
[2020-03-25 17:43:55 -0700] notice/ApiListener: Replaying log: /var/lib/icinga2/api/log/current
[2020-03-25 17:43:55 -0700] notice/ApiListener: Replayed 0 messages.
[2020-03-25 17:43:55 -0700] information/ApiListener: Finished sending replay log for endpoint '<MASTER>' in zone 'master'.
[2020-03-25 17:43:55 -0700] information/ApiListener: Finished syncing endpoint '<MASTER>' in zone 'master'.
[2020-03-25 17:43:55 -0700] information/ApiListener: Finished reconnecting to endpoint '<MASTER>' via host '<MASTER>' and port '5665'
[2020-03-25 17:43:55 -0700] notice/JsonRpcConnection: Received 'config::Update' message from identity '<MASTER>'.
[2020-03-25 17:43:55 -0700] information/ApiListener: Applying config update from endpoint '<MASTER>' of zone 'master'.
[2020-03-25 17:43:55 -0700] information/ApiListener: Received configuration updates (0) from endpoint '<MASTER>' do not qualify for production, not triggering reload.
[2020-03-25 17:43:56 -0700] notice/JsonRpcConnection: Error while reading JSON-RPC message for identity '<MASTER>': Error: short read
(0) icinga2: icinga::JsonRpc::ReadMessage(std::shared_ptr<icinga::AsioTlsStream> const&, boost::asio::basic_yield_context<boost::asio::executor_binder<void (*)(), boost::asio::executor> >, long) (+0x95) [0x92e165]
(1) icinga2: icinga::JsonRpcConnection::HandleIncomingMessages(boost::asio::basic_yield_context<boost::asio::executor_binder<void (*)(), boost::asio::executor> >) (+0xf4) [0xbc26e4]
(2) /usr/lib64/icinga2/sbin/icinga2() [0xbc2e51]
(3) libboost_context.so.1.69.0: make_fcontext (+0x2f) [0x7f18605ba18f]
[2020-03-25 17:43:56 -0700] warning/JsonRpcConnection: API client disconnected for identity '<MASTER>'
[2020-03-25 17:43:56 -0700] warning/ApiListener: Removing API client for endpoint '<MASTER>'. 0 API clients left.
[2020-03-25 17:43:56 -0700] debug/EndpointDbObject: update is_connected=0 for endpoint '<MASTER>'
[2020-03-25 17:44:00 -0700] notice/CheckerComponent: Pending checkables: 0; Idle checkables: 0; Checks/s: 0
[2020-03-25 17:44:05 -0700] notice/CheckerComponent: Pending checkables: 0; Idle checkables: 0; Checks/s: 0
[2020-03-25 17:44:05 -0700] notice/ApiListener: Updating object authority for objects at endpoint '<CLIENT>'.
[2020-03-25 17:44:05 -0700] debug/ApiListener: Not connecting to Endpoint '<CLIENT>' because that's us.
[2020-03-25 17:44:05 -0700] information/ApiListener: Reconnecting to endpoint '<MASTER>' via host '<MASTER>' and port '5665'
[2020-03-25 17:44:05 -0700] notice/ApiListener: Current zone master: <CLIENT>
[2020-03-25 17:44:05 -0700] notice/ApiListener: Connected endpoints:
[2020-03-25 17:44:05 -0700] information/ApiListener: New client connection for identity '<MASTER>' to [10.125.0.213]:5665
[2020-03-25 17:44:05 -0700] notice/ApiListener: New JSON-RPC client
My config:
Icinga2 2.11.2-1
icinga2 feature list
Disabled features: compatlog debuglog elasticsearch gelf graphite influxdb livestatus opentsdb perfdata statusdata syslog
Enabled features: api checker command ido-mysql mainlog notification
icinga2 daemon -C
[2020-03-25 17:48:46 -0700] information/cli: Icinga application loader (version: 2.11.2-1)
[2020-03-25 17:48:46 -0700] information/cli: Loading configuration file(s).
[2020-03-25 17:48:46 -0700] information/ConfigItem: Committing config item(s).
[2020-03-25 17:48:46 -0700] information/ApiListener: My API identity: <MASTER>
[2020-03-25 17:48:46 -0700] information/ConfigItem: Instantiated 1 FileLogger.
[2020-03-25 17:48:46 -0700] information/ConfigItem: Instantiated 3 NotificationCommands.
[2020-03-25 17:48:46 -0700] information/ConfigItem: Instantiated 1 NotificationComponent.
[2020-03-25 17:48:46 -0700] information/ConfigItem: Instantiated 235 Notifications.
[2020-03-25 17:48:46 -0700] information/ConfigItem: Instantiated 1 IcingaApplication.
[2020-03-25 17:48:46 -0700] information/ConfigItem: Instantiated 4 HostGroups.
[2020-03-25 17:48:46 -0700] information/ConfigItem: Instantiated 52 Hosts.
[2020-03-25 17:48:46 -0700] information/ConfigItem: Instantiated 8 Downtimes.
[2020-03-25 17:48:46 -0700] information/ConfigItem: Instantiated 1 CheckerComponent.
[2020-03-25 17:48:46 -0700] information/ConfigItem: Instantiated 54 Zones.
[2020-03-25 17:48:46 -0700] information/ConfigItem: Instantiated 52 Endpoints.
[2020-03-25 17:48:46 -0700] information/ConfigItem: Instantiated 1 ExternalCommandListener.
[2020-03-25 17:48:46 -0700] information/ConfigItem: Instantiated 1 ApiUser.
[2020-03-25 17:48:46 -0700] information/ConfigItem: Instantiated 1 UserGroup.
[2020-03-25 17:48:46 -0700] information/ConfigItem: Instantiated 1 ApiListener.
[2020-03-25 17:48:46 -0700] information/ConfigItem: Instantiated 1 IdoMysqlConnection.
[2020-03-25 17:48:46 -0700] information/ConfigItem: Instantiated 239 CheckCommands.
[2020-03-25 17:48:46 -0700] information/ConfigItem: Instantiated 3 TimePeriods.
[2020-03-25 17:48:46 -0700] information/ConfigItem: Instantiated 1 User.
[2020-03-25 17:48:46 -0700] information/ConfigItem: Instantiated 285 Services.
[2020-03-25 17:48:46 -0700] information/ScriptGlobal: Dumping variables to file '/var/cache/icinga2/icinga2.vars'
[2020-03-25 17:48:46 -0700] information/cli: Finished validating the configuration file(s).