From: Svensk L. & L. P. <in...@te...> - 2010-12-18 15:21:36
|
The problems we have been having turned out to be a bug with 1.4.5 and we have tryed to make it working without success. Its a fedoracore14 with munin-1.4.5-6.fc14.noarch munin-common-1.4.5-6.fc14.noarch munin-node-1.4.5-6.fc14.noarch the local node is with only lowercase but all other nodes are with atleast 1 uppercase in the node name. I have found help on this sites 1: http://munin-monitoring.org/changeset/3362 That says its will be fixed if I add and replace a couple of lines in /usr/share/perl5/Munin/Node/Server.pm I have done that and it didnt help me.. 2: http://munin-monitoring.org/ticket/846 /usr/share/perl5/Munin/Node/Service.pm I have done this also and the same result, didnt help... [code] --- node/lib/Munin/Node/Service.pm.orig 2010-04-26 12:33:56.217889267 +0000 +++ node/lib/Munin/Node/Service.pm 2010-04-26 14:07:09.951259792 +0000@@ -212,7 +212,14 @@ print STDERR "# About to run '", join (' ', @command), "'\n" if $config->{DEBUG}; - exec @command;+ # work around exec bug in SLES10's Perl + # exec @command; + my $res = `@command`; + print STDERR "# '", join (' ', @command), "' returned $res\n" + if $config->{DEBUG}; + print STDOUT $res; + exit; + } [/code] if I do the Telnet checks its respond the way its described on thouse pages. the munin-node seems to work as its updating the munin-node.log, the other logs dont update if I add any server with a upperletter(capital letter) in /etc/munin/munin.conf Peter |