2015-02-19 17:56:27 +00:00
# openwrt-munin-node
openwrt-oriented munin-node implementation inspired by muninlite
2015-02-19 22:03:46 +00:00
## Quick installation guide
Install `munin-node` :
2015-02-19 23:04:46 +00:00
``
mkdir -p /usr/local/bin /etc/munin-node
2015-02-19 22:03:46 +00:00
cd /etc/munin-node
wget -O munin-node.tar.gz https://github.com/MaffC/openwrt-munin-node/archive/master.tar.gz
tar xzf munin-node.tar.gz plugins.d
2015-02-19 22:08:38 +00:00
tar xzf munin-node.tar.gz xinetd-munin-node.conf
2015-02-19 22:03:46 +00:00
tar xzf munin-node.tar.gz munin-node -C /usr/local/bin/
2015-02-19 23:04:46 +00:00
rm munin-node.tar.gz
``
2015-02-19 22:03:46 +00:00
2015-02-19 22:08:38 +00:00
Install dependencies for included plugins as needed (note xinetd is not a plugin dependency and is needed for general operation unless you have another inetd):
2015-02-19 23:04:46 +00:00
``
opkg update
opkg install perl curl iwinfo xinetd
``
2015-02-19 22:08:38 +00:00
Add munin to your `/etc/services` file (feel free to change the port):
2015-02-19 23:04:46 +00:00
``
vi /etc/services
2015-02-19 22:08:38 +00:00
# add the following line:
2015-02-19 23:04:46 +00:00
munin 4949/tcp
``
2015-02-19 22:08:38 +00:00
Configure, enable and start the inetd server:
2015-02-19 23:04:46 +00:00
``
mv /etc/munin-node/xinetd-munin-node.conf /etc/xinetd.d/munin-node
2015-02-19 22:08:38 +00:00
/etc/init.d/xinetd enable
2015-02-19 23:04:46 +00:00
/etc/init.d/xinetd start
``