Difference between revisions of "Munin"

From Alessandro's Wiki
(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 ...")
 
Line 1: Line 1:
= humans here =
Munin is a server monitoring system:  
Munin is a server monitoring system:  


Line 6: Line 8:
I found this software a good combination of simplicity and detail.  
I found this software a good combination of simplicity and detail.  


== working method ==


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


== mini:HOWTO ==
= "machines" here =


* configuration file for the server:
* configuration file for the server:
Line 36: Line 37:




(note) of chaos
= (note) about 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
 
* 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:

Revision as of 22:34, 6 September 2011

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)

"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
[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) 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: