dennisstritzke / ipsec_exporter

Prometheus exporter for IPsec metrics.
MIT License
51 stars 39 forks source link

Support libreswan #17

Open jkroepke opened 5 years ago

jkroepke commented 5 years ago

On centos system libreswan is used as default instead strongswan.

While the configuration syntax of the ipsec.conf is still the same the output is different. There is no ipsec statusall command instead there just ipsec status or other commands like ipsec trafficstatus

ipsec trafficstatus
006 #6: "<Connection-Name>", type=ESP, add_time=1554666951, inBytes=659216, outBytes=17850, id='<ID>'
006 #4: "<Connection-Name>", type=ESP, add_time=1554666819, inBytes=2628777, outBytes=49400, id='<ID>'