Munin is a server monitoring system:
I found this software a good combination of simplicity and detail.
- client-server application
- written in perl (see note)
- configuration file for the server:
- 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:
- and after you've changed it:
- usually the munin cron is located in:
- 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: