Comments (3)
Based on https://github.com/rabbitmq/rabbitmq-management-agent/blob/master/src/rabbit_mgmt_external_stats.erl#L160 it seems that rabbit is sending that string instead of the value.
Since disk_free is a gauge it must be a number. Not a string. We should probably handle that in the dispatch so the whole thing doesn't die.
It looks like something is not turned on from the Rabbit side.
What version of rabbit are you using ?
What OS/Platform are you running rabbitmq on ? I think the disk monitoring will only do that if it can't calculate disk space. Take a look at this. https://www.rabbitmq.com/disk-alarms.html
from collectd-rabbitmq.
Yes, you can see this with curl:
curl localhost:15672/api/nodes/<rabbit node>/ -u <rabbit user> | jq .
Look for the line: "disk_free_limit": "disk_free_monitoring_disabled",
I am using RabbitMQ 3.6.6 on CentOS 6.8. Following some advice from StackOverlow saying Rabbit made this decision at runtime based on the success or failure of "df -kP ," I tried that with various guesses as to what "directory" should be. Either I didn't get it right or the cause is something else, because the command worked fine.
Not finding a way of enabling disk free monitoring on this installation of Rabbit, I commented the "node stats" from the plugin as a workaround. I agree the only change needed on the plugin's part is probably anticipating and handling the string error response better (which is a general thing).
from collectd-rabbitmq.
Can you try running the df on your mnesia dir ?
sudo /bin/df -kP /var/lib/rabbitmq/mnesia/
and
rabbitmqctl eval 'rabbit_misc:os_cmd("/bin/df -kP
/var/lib/rabbitmq/mnesia/").'
from collectd-rabbitmq.
Related Issues (20)
- vhost leading '/' is not properly escaped HOT 4
- Format issue with graphite output HOT 2
- Unhandled python exception
- Dataset rabbitmq_queues not found HOT 3
- Statistics for queue not showing up HOT 2
- Statistics for Queue erroring out HOT 1
- Configurable list of collected stats HOT 1
- Question: how to read data after making desired configuration ? HOT 2
- Why are there hostnames as measurements? HOT 17
- Plugin hangs on startup HOT 2
- plugin version in pypi HOT 1
- Dataset messages_ready not found HOT 15
- Allow to whitelist queues HOT 1
- rabbit.get_queues() default value is invalid
- HTTP Error: HTTP Error 401: Unauthorized for new RabbitMQ HOT 2
- Exception could not convert string to float HOT 2
- Some data points are always empty
- python3 migration/support HOT 2
- Exception Dataset not found HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from collectd-rabbitmq.