Removed the sudo call to allow munin-node to configure the user and fixed a parsing error when a queue has a period in the name

This commit is contained in:
root committed 2010-03-03 01:52:12 +08:00
1 parent d92adb6296
commit 7d6ba872e3
6 files changed
+14 -14

No files matched your search

+1 -1
View File
@@ -61,4 +61,4 @@ fi
# real work - i.e. display the data. Almost always this will be
# "value" subfield for every data field.
echo "connections.value $(sudo rabbitmqctl list_connections | grep -v "^Listing" | grep -v "done.$" | wc -l)"
echo "connections.value $(rabbitmqctl list_connections | grep -v "^Listing" | grep -v "done.$" | wc -l)"