Difference between revisions of "Internal Configuring munin-node"

From GrandCare Systems
Jump to navigation Jump to search
Line 26: Line 26:
===Server Configuration===
===Server Configuration===
Edit ''/etc/munin/munin.conf'' on cloud-www and add a host block:
Edit ''/etc/munin/munin.conf'' on cloud-www and add a host block:
  [gcmanage.grandcare.com]
  [host.name.com]
     address gcmanage.grandcare.com
     address host.name.com
     use_node_name yes
     use_node_name yes

Revision as of 17:55, 8 April 2013

Installation

# apt-get install munin-node munin-plugins-extra

Client Configuration

Shorewall

Edit /etc/shorewall/rules

Add the following lines:

# Munin Master
ACCEPT net:184.106.169.5        $FW     tcp     4949

Restart shorewall:

# /etc/init.d/shorewall restart
Munin-node

Edit /etc/munin/munin-node.conf

Change the allow ACL to

allow ^184\.106\.169\.5$

Symlink any additional plugins in /usr/share/munin/plugins to /etc/munin/plugins

Restart munin-node:

# /etc/init.d/munin-node restart

Server Configuration

Edit /etc/munin/munin.conf on cloud-www and add a host block:

[host.name.com]
   address host.name.com
   use_node_name yes