Munin

From Alessandro's Wiki
Revision as of 14:19, 28 August 2013 by Porcelinux (talk | contribs) (→‎"machines" here)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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)

related programs

  • 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: