markdown formatting eludes me sometimes

This commit is contained in:
Matthew Connelly 2015-02-19 23:04:46 +00:00
parent 40c1d0b340
commit f987db8f0b
1 changed files with 16 additions and 14 deletions

View File

@ -3,28 +3,30 @@ openwrt-oriented munin-node implementation inspired by muninlite
## Quick installation guide ## Quick installation guide
Install `munin-node`: Install `munin-node`:
``
`mkdir -p /usr/local/bin /etc/munin-node mkdir -p /usr/local/bin /etc/munin-node
cd /etc/munin-node cd /etc/munin-node
wget -O munin-node.tar.gz https://github.com/MaffC/openwrt-munin-node/archive/master.tar.gz 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 tar xzf munin-node.tar.gz plugins.d
tar xzf munin-node.tar.gz xinetd-munin-node.conf tar xzf munin-node.tar.gz xinetd-munin-node.conf
tar xzf munin-node.tar.gz munin-node -C /usr/local/bin/ tar xzf munin-node.tar.gz munin-node -C /usr/local/bin/
rm munin-node.tar.gz` rm munin-node.tar.gz
``
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): 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):
``
`opkg update opkg update
opkg install perl curl iwinfo xinetd` opkg install perl curl iwinfo xinetd
``
Add munin to your `/etc/services` file (feel free to change the port): Add munin to your `/etc/services` file (feel free to change the port):
``
`vi /etc/services vi /etc/services
# add the following line: # add the following line:
munin 4949/tcp` munin 4949/tcp
``
Configure, enable and start the inetd server: Configure, enable and start the inetd server:
``
`mv /etc/munin-node/xinetd-munin-node.conf /etc/xinetd.d/munin-node mv /etc/munin-node/xinetd-munin-node.conf /etc/xinetd.d/munin-node
/etc/init.d/xinetd enable /etc/init.d/xinetd enable
/etc/init.d/xinetd start` /etc/init.d/xinetd start
``