bashclub / checkmk-opnsense-agent

65 stars 14 forks source link

Service running, but no listening service #17

Closed tuxhelfer closed 1 year ago

tuxhelfer commented 1 year ago

Hi and first of all thank you for your great work! Unfortunatelly I'm not able to get the agent working.

I did all three intsallation steps (downloaded script, made it executable and startet it) and I can see, that the script ist running in the list of services and also the system log tells me the checkmk_agent is starting and running:

<29>1 2022-10-27T20:21:34+00:00 XXXXXXXXXXXX checkmk_agent 10631 - [meta sequenceId="4"] starting checkmk_agent
<29>1 2022-10-27T20:34:06+00:00 XXXXXXXXXXXXX checkmk_agent 10631 - [meta sequenceId="5"] checkmk_agent running

I also created an according rule to allow my checkMK Server to access the Firewall on port 6556 but as I checked with netstat -ln -4 there is absolutely nothing running on Port 6556 :/

Tested with version 0.96 and also 0.99. What am I doing wrong? :/

OpnSense Version is: 22.7.6

EDIT: Nevermind.. although I first only got ipmi infos in checkmk from opnsense after completing the host adding I got more values..strange anyway...thought that the service should be listed as listening on 6556 with netstat all the time