2015-08-12 14:57:50 +04:30
# freebsd-munin-plugins
2015-09-13 17:01:25 +04:30
[](https://github.com/farrokhi/freebsd-munin-plugins/issues)
[](https://github.com/farrokhi/freebsd-munin-plugins/blob/master/LICENSE)
2015-08-12 14:57:50 +04:30
A set of FreeBSD specific plugins for Munin
2015-08-12 15:22:52 +04:30
## Requirements
2015-08-12 15:40:34 +04:30
- All scripts are written in standard shell language, and `/bin/sh` would be sufficient.
- They are tailored and will run on FreeBSD.
- You need to install `lang/gawk` in order to run `intr_` plugin.
2015-08-15 09:30:07 +04:30
- You need to install `sysutils/ipmitool` in order to run `ipmi_` plugin.
2015-08-12 15:40:34 +04:30
- These are wildcard plugins, and should be installed using `munin-node-configure` program
2015-08-15 09:30:07 +04:30
- Some plugins such as `ipmi_` and `multiping_` need to have root access to run.
2015-08-12 15:22:52 +04:30
## Setup
1. Make sure `sysutils/munin-node` is installed
2. Enable munin-node to run at startup: `sysrc munin_node_enable YES`
2. Clone this repo and copy all scripts to `/usr/local/share/munin/plugins`
3. run `munin-node-configure --suggest` and see if the plugins are detected.
4. run `munin-node-configure --shell | sh -x` to make appropriate symlinks
5. restart munin-node if running: `service munin-node restart`
2015-08-12 15:38:33 +04:30
## Plugins
2015-08-13 09:24:17 +04:30
- **intr_** graphs CPU timers, taken from `vmstat -i` output
- **netirq_** graphs per interface and per queue (in case of multi-queue) interrupt rates, taken from `vmstat -i` output
2015-08-12 15:38:33 +04:30
- **netisr_** graphs per-thread/per-protocol [`netisr(9)` ](https://www.freebsd.org/cgi/man.cgi?format=html&query=netisr%289%29 ) statistics, taken from `netstat -Q`
- **netmem_** graphs [`mbuf(9)` ](https://www.freebsd.org/cgi/man.cgi?format=html&query=mbuf%289%29 ) statistics, taken from `netstat -m`
- **pf_** graphs [`pf(4)` ](https://www.freebsd.org/cgi/man.cgi?query=pf&sektion=4&apropos=0 ) firewall statistics, taken from `pfctl -vsi`
2015-08-24 19:36:09 +04:30
- **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
2015-08-12 15:38:33 +04:30
2015-08-15 09:39:07 +04:30
## Sample Graphs
2015-08-24 19:36:09 +04:30

2015-08-15 09:42:17 +04:30

