[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

RE: Munin



> -----Original Message-----
> From: Ole-Anders Andreassen 
> [mailto:ole-anders.andreassen@sunndal.kommune.no] 
> Sent: Friday, April 07, 2006 10:57 AM
> To: debian-edu@lists.debian.org
> Subject: Munin
> 
> 
> How do I set up Munin on tjener to also import the statistics 
> from LTSP-servers?


First it is always a good idea to have a look at the apropriate man-page:

 1. man munin.conf
 2. man munin-node.conf

Then ...
At the end of /etc/munin/munin-node.conf of every watched client
who has munin-node installed and running.
Append the last line to /etc/munin/munin-node.conf:
...
# the allow line as many times as you'd like

allow ^127\.0\.0\.1$
allow ^10\.0\.2\.2$

... and do as root a /etc/init.d/munin-node restart

Then ...
In /etc/munin.conf on tjener, put for every client/server which runs
munin-node:

# a simple host tree
[tjener.intern]
    address 127.0.0.1
    use_node_name yes

[gateway.intern]
    address 10.0.2.1
    use_node_name yes

[ltspserver00.intern]
    address 10.0.2.10
    use_node_name yes

[ltspserver01.intern]
    address 10.0.2.11
    use_node_name yes

... and so on ...

... at least do a /etc/ninit.d/munin-node restart

Now you should be patient and wait.
It might take about 10 Minutes until you get the first graphs in your
browser.

with # tail -f -n 50 /vat/log/munin/munin-html.log (you can see in realtime,
what's going on, or not ;-) )
Apr 07 16:20:44 - processing service: load
Apr 07 16:20:44 - processing service: memory
Apr 07 16:20:44 - processing service: netstat
Apr 07 16:20:44 - processing service: open_files
Apr 07 16:20:44 - processing service: open_inodes
Apr 07 16:20:44 - processing service: processes
Apr 07 16:20:44 - processing service: smart_hda
Apr 07 16:20:44 - processing service: swap
Apr 07 16:20:44 - processing service: vmstat
Apr 07 16:20:45 - munin-html finished

With best regards,
Juergen Leibner
-- 
Munin-Graphs empty - Adminpanic!
-- 
Jürgen Leibner	juergen.leibner@t-online.de




Reply to: