Munin

From Alessandro's Wiki
Revision as of 22:21, 6 September 2011 by Xunil (talk | contribs) (Created page with "Munin is a server monitoring system: http://munin-monitoring.org/ I found this software a good combination of simplicity and detail. == working method == * client-server ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Munin is a server monitoring system:

http://munin-monitoring.org/


I found this software a good combination of simplicity and detail.

working method

  • client-server application
  • written in perl (see note)

mini:HOWTO

  • 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
[elwood]
   address 123.456.789.012
   use_node_name yes
  • congiguration file for client:
/etc/munin/munin.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) of chaos

  • I started writing this article while debugging an error drawing the graphs. Doing it not constantly, while doing other things at home like cleaning and stuff. At first I copy-paste the commands, links and sentences I found thus I fill it and enrich it with more human content. So I wrote "munin is written i..." and I had no clue, so I came back to my house-work. while bedroom-cleaning it, I run into a thickness problem of a couple of centimeters