1
0
mirror of https://github.com/cmur2/munin-rabbitmq.git synced 2025-06-15 16:30:24 +02:00

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
2010-03-03 01:52:12 +08:00
parent d92adb6296
commit 7d6ba872e3
6 changed files with 14 additions and 14 deletions

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)"