bashclub / checkmk-opnsense-agent

65 stars 14 forks source link

update to prevent dhcp plugin error and support openvpn servers with p2p mode #24

Closed sibelle-labs closed 1 year ago

sibelle-labs commented 1 year ago

1) patch to prevent "openvpn servers" with mode p2p_tls or p2p_shared_key from being recognized as non-servers.

2) patch to void error if no dhcp plugin is present. line 583, in check_dhcp _dhcpconf = open("/var/dhcpd/etc/dhcpd.conf","r").read() FileNotFoundError: [Errno 2] No such file or directory: '/var/dhcpd/etc/dhcpd.conf' <<>> FailedPythonPlugins: dhcp

thorstenspille commented 1 year ago

Please check testing branch, should be fixed with https://github.com/bashclub/check-opnsense/commit/e1c5d1a121059f61eaab5db6954f778e59b41693