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
Not sure exactly what the difference is between probeVPNSsl
*/
ifi.Type=="dialup" {
continue
}
This obviously means that any dialup VPN cannot be monitored, which is the majority in our environment.
I confirmed with a manual curl API call that all our VPNs are returned by the /api/v2/monitor/vpn/ipsec endpoint, so it's just this exporter that then filters them out.
Could this continue statement be removed so that metrics for all IPsec VPNs are collected? I can make a PR for it too if you prefer.
The text was updated successfully, but these errors were encountered:
Hi and thank you very much for the great project.
Unfortunately I have noticed that all IPsec VPNs of type "dialup" are skipped entirely during metric collection:
fortigate_exporter/pkg/probe/vpn_ipsec.go
Lines 55 to 61 in 81adda5
This obviously means that any dialup VPN cannot be monitored, which is the majority in our environment.
I confirmed with a manual
curl
API call that all our VPNs are returned by the/api/v2/monitor/vpn/ipsec
endpoint, so it's just this exporter that then filters them out.Could this continue statement be removed so that metrics for all IPsec VPNs are collected? I can make a PR for it too if you prefer.
The text was updated successfully, but these errors were encountered: