Skip to content

Latest commit

 

History

History
35 lines (23 loc) · 784 Bytes

README.md

File metadata and controls

35 lines (23 loc) · 784 Bytes

mackerel-plugin-strongswan

mackerel-plugin-strongswan is a mackerel-agent plugin for StrongSwan. This monitors StrongSwan Charon status via vici interface.

Metrics

custom.strongswan.sas.*

Active IKE_SA counts

custom.strongswan.pools.*

Usage of IP address pools

Reqruirements

  • StrongSwan
    • vici plugin is required (enabled by default)
    • Tested manually with 5.5.x
  • Python 3.4 ~
  • Pipenv

Usage

$ pipenv install
$ sudo pipenv run main.py # should output metrics

Example mackerel config

[plugin.metrics.strongswan]
command = "/opt/mackerel-plugin-strongswan/.venv/bin/python3 /opt/mackerel-plugin-strongswan/main.py"