[Bug 907952] Re: Unnecessary log message when listing local services

Daniel Hahler launchpad at thequod.de
Mon Apr 9 17:22:37 UTC 2012


Upstream fix: http://munin-monitoring.org/changeset/4794

Index: /trunk/node/lib/Munin/Node/Server.pm
===================================================================
--- /trunk/node/lib/Munin/Node/Server.pm (revision 4770)
+++ /trunk/node/lib/Munin/Node/Server.pm (revision 4794)
@@ -168,5 +168,6 @@
     logger ("DEBUG: Running command '$_'.") if $config->{DEBUG};
     if (/^list\s*([0-9a-zA-Z\.\-]+)?/i) {
-        _list_services($session, lc($1));
+	my $hostname_lc = defined($1) ? lc($1) : undef;
+        _list_services($session, $hostname_lc);
     }
     elsif (/^cap\s?(.*)/i) {

** Also affects: munin
   Importance: Undecided
       Status: New

** Changed in: munin (Ubuntu)
       Status: New => Triaged

** Tags added: patch patch-accepted-upstream

** Changed in: munin
       Status: New => Fix Committed

** Changed in: munin (Ubuntu)
   Importance: Medium => Low

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to munin in Ubuntu.
https://bugs.launchpad.net/bugs/907952

Title:
  Unnecessary log message when listing local services

To manage notifications about this bug go to:
https://bugs.launchpad.net/munin/+bug/907952/+subscriptions



More information about the Ubuntu-server-bugs mailing list