You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<<<wireguard:sep(9)>>>
[[wg0]]
(censored) (wan_ip):(port) 10.99.1.2/32 1733461693 118546 1325844 off
It produces the 2 following checks:
WireGuard wg0 1 configured peer(s), 0 active peer(s)
Timeout: -1, -1
WireGuard wg0 Peer (censored)
endpoint: (wan_ip):(port), allowed IPs: 10.99.1.2/32, latest handshake 6 minutes 25 seconds ago
Invalid check parameter: Undefined key 'allowed-ips' in the dictionary. Allowed are timeout.
Variable: checkgroup_parameters:wireguard_data
Parameters:
{'allowed-ips': '10.99.1.2/32', 'timeout': (-1, -1)}
There is an error with the second check. Looking at the code, I'm a little bit confused at the active peer calculation; it seems like it requires a timeout rule defined, but that same timeout is also used as a criteria for WARN/CRIT? I want both checks to stay OK as long as the tunnel is up but would also like to have the active peer chart work.
The text was updated successfully, but these errors were encountered:
Here is the output of the check plugin:
It produces the 2 following checks:
There is an error with the second check. Looking at the code, I'm a little bit confused at the active peer calculation; it seems like it requires a timeout rule defined, but that same timeout is also used as a criteria for WARN/CRIT? I want both checks to stay OK as long as the tunnel is up but would also like to have the active peer chart work.
The text was updated successfully, but these errors were encountered: