For When You Can't Have The Real Thing
[ start | index | login ]
start > munin > ip_ plugin

ip_ plugin

Created by dave. Last edited by dave, 6 years and 42 days ago. Viewed 3,177 times. #1
[edit] [rdf]
labels
attachments
(10 May 2012)

Setup

The ethernet plugin just reads values off of ifconfig. At high speeds (ie more than 50Mb/s) these counters can roll in the five minute interval, rendering them useless. Use the ip_ plugin instead.

Add to /etc/munin/plugin-conf.d/munin-node (normally it is already done in the last versions):

[ip_*]
user root
Add iptables dummy rules to collect stats on a particular IP:
iptables -A INPUT -d <ip>;iptables -A OUTPUT -s <ip>
Install the plugin for this ip:
ln -s /usr/share/munin/plugins/ip_ /etc/munin/plugins/ip_<ip>
no comments | post comment
This is a collection of techical information, much of it learned the hard way. Consider it a lab book or a /info directory. I doubt much of it will be of use to anyone else.

Useful:


snipsnap.org | Copyright 2000-2002 Matthias L. Jugel and Stephan J. Schmidt