A slight oversight:

@@ -23,7 +23,7 @@
                | tr -d '][' \
                | while read ups; do
                        for i in voltages freq charge current; do
-                               echo ${ups}_${i}
+                               echo [EMAIL PROTECTED]
                        done
                done
 fi

Also, munin-node shouldn't skip plugins whose names contain the @ character.
As you can see, there is a perfectly legitimate use for it. :)

Until this is done, the above patch should not be applied to the ups_
plugin; instead, the following two lines should be added after UPS is
assigned:

# Fixup until munin-node no longer skips plugins with @s
echo "$UPS" | fgrep -q '@' || [EMAIL PROTECTED]

While looking at that part of the code of munin-node, I found what I believe
to be a bug. Line 328 of munin-node reads:

warn "Something wicked happened while reading \"$servicedir/$file\". Check the 
previous log lines for spesifics.";

That $servicedir should be $sconfdir, I think.

Andras

-- 
                 Andras Korn <korn at chardonnay.math.bme.hu>
                 <http://chardonnay.math.bme.hu/~korn/> QOTD:
                Laughing stock: cattle with a sense of humour.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to