Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

messages uncommitted error #15

Open
jurgenweber opened this issue Jul 29, 2013 · 1 comment
Open

messages uncommitted error #15

jurgenweber opened this issue Jul 29, 2013 · 1 comment

Comments

@jurgenweber
Copy link

Muninnode log:
2013/07/29-10:35:10 [6966] Error output from rabbitmq_messages_uncommitted:
2013/07/29-10:35:10 [6966] Error: {bad_argument,'-p'}

The command in question:
HOME=$HOME rabbitmqctl list_channels -p $VHOST name messages_uncommitted | grep -v "^Listing" | grep -v "done.$" | sed "s/[\t]/.value /g"

-p $VHOST is not a valid option for list_channels.

@ogmueller
Copy link

This issues still seems to be a problem. In our case we get the following log entry:
2013/09/20 11:25:09 [WARNING] Service rabbitmq_messages_uncommitted on server.de/127.0.0.1:4949 returned no data for label _DEVELOPMENT_dev_QUEUE
2013/09/20 11:25:09 [WARNING] Service rabbitmq_messages_uncommitted on server.de/127.0.0.1:4949 returned no data for label AMQP_dev_QUEUE

The config values and the output of rabbitmqctl is not matching. This is why the munin graphs and html is not working and always displays "-nan".

CONFIG OUTPUT:

munin-run rabbitmq_messages_uncommitted config

graph_title RabbitMQ /queuename Uncommitted Messages
graph_args --base 1000 -l 0
graph_vlabel uncommitted
graph_category RabbitMQ
AMQP_dev_QUEUE.label AMQP_dev_QUEUE
AMQP_dev_QUEUE.warning 10000
AMQP_dev_QUEUE.critical 20000
AMQP_dev_QUEUE.info Uncommitted messages for AMQP_dev_QUEUE
_DEVELOPMENT_dev_QUEUE.label _DEVELOPMENT_dev_QUEUE
_DEVELOPMENT_dev_QUEUE.warning 10000
_DEVELOPMENT_dev_QUEUE.critical 20000
_DEVELOPMENT_dev_QUEUE.info Uncommitted messages for _DEVELOPMENT_dev_QUEUE
graph_info Lists how many messages are in each queue.

MUNIN-RUN OUTPUT:
127_0_0_1:51213 _> 127_0_0_1:5672 (1) /queuename 0
127_0_0_1:51214 _> 127_0_0_1:5672 (1) /queuename 0
127_0_0_1:51215 _> 127_0_0_1:5672 (1) /queuename 0
127_0_0_1:51594 _> 127_0_0_1:5672 (1) /queuename 0
127_0_0_1:51593 _> 127_0_0_1:5672 (1) /queuename 0
127_0_0_1:51595 _> 127_0_0_1:5672 (1) /queuename 0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants