Difference between revisions of "Munin"
Porcelinux (talk | contribs) |
|||
(One intermediate revision by one other user not shown) | |||
Line 11: | Line 11: | ||
* client-server application | * client-server application | ||
* written in perl (see note) | * written in perl (see note) | ||
== related programs == | |||
* systat | |||
* smartmontools | |||
* | |||
= "machines" here = | = "machines" here = | ||
Line 20: | Line 25: | ||
** htmldir /var/www/localhost/htdocs/munin | ** htmldir /var/www/localhost/htdocs/munin | ||
** host declaration | ** host declaration | ||
* to avoid "localhost" | |||
[elwood] | [elwood] | ||
address 123.456.789.012 | address 123.456.789.012 | ||
Line 25: | Line 31: | ||
* congiguration file for client: | * congiguration file for client: | ||
/etc/munin/munin.conf | /etc/munin/munin-node.conf | ||
* and after you've changed it: | * and after you've changed it: | ||
/etc/init.d/munin-node restart | /etc/init.d/munin-node restart | ||
Line 35: | Line 41: | ||
* ...adding debug output | * ...adding debug output | ||
su - munin --shell=/bin/bash -c "/usr/bin/munin-cron --debug" | su - munin --shell=/bin/bash -c "/usr/bin/munin-cron --debug" | ||
= (note) about chaos = | = (note) about chaos = |
Latest revision as of 14:19, 28 August 2013
humans here
Munin is a server monitoring system:
http://munin-monitoring.org/
I found this software a good combination of simplicity and detail.
- client-server application
- written in perl (see note)
- systat
- smartmontools
"machines" here
- configuration file for the server:
/etc/munin/munin.conf
- relevant lines:
- includedir /etc/munin/munin-conf.d
- htmldir /var/www/localhost/htdocs/munin
- host declaration
- to avoid "localhost"
[elwood] address 123.456.789.012 use_node_name yes
- congiguration file for client:
/etc/munin/munin-node.conf
- and after you've changed it:
/etc/init.d/munin-node restart
- usually the munin cron is located in:
/etc/cron.d/munin
- to run manually the cron:
su - munin --shell=/bin/bash -c "/usr/bin/munin-cron "
- ...adding debug output
su - munin --shell=/bin/bash -c "/usr/bin/munin-cron --debug"
(note) about chaos
Usually, when I write this how-to-s, I first I copy-paste the commands, links and sentences I found thus I fill it and enrich it with more human content. I started writing this article while debugging a problem with munin. Doing it not constantly, while doing other things at home like cleaning and stuff. So I wrote "munin is written i..." and I had no clue, so I came back to my house-work. while bedroom-cleaning, I run into a thickness problem of a couple of centimeters and looking for something with similar depth I found a Perl programming manual... ...back here to the wiki.. now, running this command from the server head -1 /usr/libexec/munin/munin-update I've seen #! /usr/bin/perl nice coincidence Or chaos/god/nature (as you like to call it) was trying to give me the answer I was looking for. Or simply things are less than what they seem to be, and this corner of the screen and memory and my body are sharing in a sort of a way the same "again sort of" coordinates and they are the same: