CMK version: 2.1.0p25.cee
OS version: CentOS 7
Error message: TLS is not activated on monitored host
situation before (server): 2.1.0p12
situation before (CentOS 7 agents): 2.0.0p28
situation now (server, agents): 2.1.0p25
After updating the checkmk server from 2.1.0p09 to 2.1.0p25 the agents updated successfully by themself. But - I see in the dashboard surprisingly for all these nodes the Warning: TLS is not activated on monitored host
Why that?
I’ve seen now that a solution is to manually ssh into the node, and do again a cmk-agent-ctl register … the Warning disappears then.
And by the way, I don’t want to create the following rules as a workaround:
Setup > Services > Service monitoring rules > Applications, Processes & Services > Checkmk Agent installation auditing > Add Rule
[X]State in case of available but not enabled TLS == OK
- or
Setup > Agents > Windows, Linux, Solaris, AIX > Agent Rules > Access to agents > Checkmk agent > Encryption > Add Rule
Allow Non-TLS connections
Because: on these CentOS 7 nodes it’s an too old systemd running (v219), and TLS was not possible in the past.
But suddenly, the following cmd works and has to be executed (which I know only from systemd >v219 eg. Rocky Linux 8): cmk-agent-ctl register …
On the CentOS 7 nodes I merely did a: /usr/lib/check_mk_agent/plugins/3600/cmk-update-agent register … in the past.
I’m hoping for some feedback and possible reasonable explanation, thanks.
