Hi,
I’ve been trying to solve this since yesterday. I am out of ideas…
This is a fairly new install of checkmk server 2.2.0p6 RAW on Rocky Linux 9.2 monitoring several snmp based devices with no issues. However this is the first installation of the agent on a Rocky Linux 9.2 as well. The output of tcpdump on both servers shows that packets are flowing through, however I can’t get any result when trying connection tests on the server. Details provided below:
CMK version:
### 2.2.0p6
OS version:
Rocky Linux release 9.2 (Blue Onyx)
Error message when trying to run connection tests:
API Error:Error running automation call <tt>diag-host</tt>: Your request timed out after 110 seconds. This issue may be related to a local configuration problem or a request which works with a too large number of objects. But if you think this issue is a bug, please send a crash report.
**Output of “cmk-agent-ctl -vv daemon”
INFO [cmk_agent_ctl] starting
INFO [cmk_agent_ctl] Loaded config from '"/var/lib/cmk-agent/cmk-agent-ctl.toml"', connection registry from '"/var/lib/cmk-agent/registered_connections.json"'
INFO [cmk_agent_ctl::modes::daemon] Could not load pre-configured connections from "/var/lib/cmk-agent/pre_configured_connections.json": No such file or directory (os error 2)
DEBUG [cmk_agent_ctl::misc] Sleeping 35s to avoid DDOSing of sites
DEBUG [cmk_agent_ctl::misc] Sleeping 4s to avoid DDOSing of sites
INFO [cmk_agent_ctl::modes::pull] Start listening for incoming pull requests
INFO [cmk_agent_ctl::modes::pull] Listening on [::]:6556 for incoming pull connections (IPv6 & IPv4 if activated)
DEBUG [cmk_agent_ctl::modes::renew_certificate] Checking registered connections for certificate expiry.
INFO [cmk_agent_ctl::modes::pull] [::ffff:1]:17256: Handling pull request.
DEBUG [cmk_agent_ctl::modes::pull] [::ffff:1]:17256: Handling pull request DONE (Task detached).
DEBUG [cmk_agent_ctl::modes::pull] handle_request starts
DEBUG [cmk_agent_ctl::modes::pull] processed task!
WARN [cmk_agent_ctl::modes::pull] [::ffff:1]:17256: Request failed. (deadline has elapsed)
INFO [cmk_agent_ctl::modes::pull] [::ffff:11]:18951: Handling pull request.
DEBUG [cmk_agent_ctl::modes::pull] [::ffff:11.238]:18951: Handling pull request DONE (Task detached).
DEBUG [cmk_agent_ctl::modes::pull] handle_request starts
DEBUG [cmk_agent_ctl::modes::pull] processed task!
WARN [cmk_agent_ctl::modes::pull] [::ffff:1.238]:18951: Request failed. (deadline has elapsed)
** Output of “cmk-agent-ctl status”:
Version: 2.2.0p6
Agent socket: operational
IP allowlist: any
Connection: 192.0.2.238/central
UUID: e23d119b-d06d-492a-9449-04e6a9bb7db0
Local:
Connection mode: pull-agent
Connecting to receiver port: 8000
Certificate issuer: Site 'central' agent signing CA
Certificate validity: Mon, 17 Jul 2023 07:41:12 +0000 - Mon, 17 Jul 2028 07:41:12 +0000
Remote:
Connection mode: pull-agent
Hostname: cns1.domain.local
Thank you,
Eddi