Jail exporter

From wikinotes
Revision as of 04:47, 31 August 2022 by Will (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

A prometheus exporter that dumps stats about FreeBSD jails.
ex. cpu usage, reads, writes, network usage, etc.

Documentation

github https://github.com/phyber/jail_exporter

Install

pkg install jail_exporter

Configuration

# /etc/rc.conf

jail_exporter_enable="YES"

You must also enable rctl.

# /boot/loader.conf

# man rctl
kern.racct.enable="1"