Skip to main content
Home
badllama.com
  • Search
  • Log In

Munin

Wed, 04/06/2011 - 23:09 by bchavet

Windows

Munin Node for Windows can be downloaded from http://sourceforge.net/projects/munin-nodewin32/

There are a few items that do not work out of the box:

  • The default munin-node.ini file must be edited, and the GraphDraw lines must be changed from LINE to LINE1.
  • In order to get the memory graph to work, the following must be added to the client definition on the munin server
    memory.swap.label swap
    memory.swap.draw STACK
    memory.swap.info Swap memory used.

Linux

Munin Node

aptitude install munin-node libwww-perl

Munin Server

aptitude install munin

/etc/apache2/conf.d/munin:

alias /munin /var/www/munin

 AuthType Basic
 AuthName "Munin"
 AuthUserFile /etc/munin/htpasswd
 Require valid-user

Empty list of plugins/services with 1.4.5

http://munin-monitoring.org/ticket/952

--- /usr/share/perl5/Munin/Node/Server.pm.orig  2011-04-18 10:25:58.786288434 -0500
+++ /usr/share/perl5/Munin/Node/Server.pm       2011-04-18 10:28:09.718201214 -0500
@@ -171,7 +171,7 @@
 
     logger ("DEBUG: Running command \"$_\".") if $config->{DEBUG};
     if (/^list\s*([0-9a-zA-Z\.\-]+)?/i) {
-        _list_services($session, $1);
+        _list_services($session, lc($1));
     }
     elsif (/^cap\s?(.*)/i) {
         _negotiate_session_capabilities($session, $1);
@@ -309,7 +309,7 @@
 sub _list_services {
     my ($session, $node) = @_;
 
-    $node ||= $config->{fqdn};
+    $node ||= lc($config->{fqdn});
 
     if (exists $nodes{$node}) {
         my @services = @{$nodes{$node}};
Powered by Backdrop CMS