52bf78868b7c0e907ee88c2b581ded0da46a8dc3
freebsd-munin-plugins
A set of FreeBSD specific plugins for Munin
Requirements
- All scripts are written in standard shell language, and
/bin/shwould be sufficient. - They are tailored and will run on FreeBSD.
- You need to install
lang/gawkin order to runintr_plugin. - You need to install
sysutils/ipmitoolin order to runipmi_plugin. - These are wildcard plugins, and should be installed using
munin-node-configureprogram - Some plugins such as
pf_,ipmi_andmultiping_need to have root access to run. To tell Munin to run a plugin as root, adapt the following snippet and add it to/usr/local/etc/munin/plugin-conf.d/plugins.conf:
[pf_*]
user root
Setup
- Make sure
sysutils/munin-nodeis installed - Enable munin-node to run at startup:
sysrc munin_node_enable YES - Clone this repo and copy all scripts to
/usr/local/share/munin/plugins - run
munin-node-configure --suggestand see if the plugins are detected. - run
munin-node-configure --shell | sh -xto make appropriate symlinks - restart munin-node if running:
service munin-node restart
Plugins
- intr_ graphs CPU timers, taken from
vmstat -ioutput - netirq_ graphs per interface and per queue (in case of multi-queue) interrupt rates, taken from
vmstat -ioutput - netisr_ graphs per-thread/per-protocol
netisr(9)statistics, taken fromnetstat -Q - netmem_ graphs
mbuf(9)statistics, taken fromnetstat -m - pf_ graphs
pf(4)firewall statistics, taken frompfctl -vsi - udp_ graphs UDP protocol traffic and error statistics, taken from
netstat -s -p udp - ip_ graphs IP protocol traffic and error statistics, taken from
netstat -s -p ip - ipmi_ graphs temperature, fan speed and power information from hardware chassis, taken from
ipmitool - multiping_ graphs RTT and PacketLoss to multiple destinations from multiple source addresses on a given network interface
Sample Graphs
Description
Languages
Shell
86.5%
C
12.1%
Makefile
1.4%


