mackerel-plugin-strongswan
is a mackerel-agent plugin for StrongSwan. This monitors StrongSwan Charon status via vici interface.
Active IKE_SA
counts
Usage of IP address pools
- StrongSwan
- vici plugin is required (enabled by default)
- Tested manually with 5.5.x
- Python 3.4 ~
- Pipenv
$ pipenv install
$ sudo pipenv run main.py # should output metrics
[plugin.metrics.strongswan]
command = "/opt/mackerel-plugin-strongswan/.venv/bin/python3 /opt/mackerel-plugin-strongswan/main.py"