WEIGEL FORUM
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Login

    CheckMK || Linux Agent Default Port // Host is registered for TLS but not using it

    Automation
    1
    1
    11
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • DerMeldosD
      DerMeldos
      last edited by DerMeldos

      Error message:
      [agent] Host is registered for TLS but not using it, Got no information from host

      A possible reason is that a different program is already using the default port 6556.
      This can be checked with "ss"

      root@NETBOX0702:~# ss -tulpn | grep 6556
      tcp   LISTEN 0      4096               *:6556            *:*    users:(("systemd",pid=1,fd=54))
      

      To fix this we need to change the port of the interfering program or alter the port for the checkmk agent.

      To change the checkmk agent port:

      you must create (or edit) the file "/var/lib/cmk-agent/cmk-agent-ctl.toml" on the monitored host and add this line (The file doesn’t exist by default.):

      pull_port = 16556
      

      After that, do a systemctl restart cmk-agent-ctl-daemon.service.

      Create a rule for the Agent within the CheckMK Webview:
      Setup > Agents > Access to agents > TCP port for connection to Checkmk agent

      Example rule:
      7dfbd047-fea6-4ef1-a2bc-0c09f110c01f-image.png

      1 Reply Last reply Reply Quote 0
      • First post
        Last post
      Powered by NodeBB | Contributors