Comments (4)
Do you have a "data" pool in your Ceph cluster? Line 54 in ceph_latency_plugin.py shows that the pool name of "data" is hardcoded.
from collectd-ceph.
Yes, I do have it. It doesn't fail all the time too.
from collectd-ceph.
I changed line 54 to
"timeout 30s rados --cluster "+ self.cluster +" -p "+ self.testpool +" bench 10 write -t 1 -b 65536 2>/dev/null | grep -i latency | awk '{print 1000*$3}'", shell=True)
for testing, and since then it didn't fail anymore.
cheers
Mathias
from collectd-ceph.
ceph: failed to get stats :: list index out of range :: Traceback (most recent call last):#12 File "/opt/collectd/plugins/base.py", line 114, in read_callback#012 stats = self.get_stats()#12 File "/opt/collectd/plugins/ceph_latency_plugin.py", line 67, in get_stats#012 data[ceph_cluster]['cluster']['stddev_latency'] = results[1]#012IndexError: list index out of range
I have this error. I have no data pool. And i have changed the line 54 by this 👍
timeout 30s rados --cluster "+ self.cluster +" -p "+ self.testpool +" bench 10 write -t 1 -b 65536 2>/dev/null | grep -i latency | awk '{print 1000*$3}'", shell=True)
But i have this error ... Do you have an idea ?
Thank you.
from collectd-ceph.
Related Issues (20)
- No result from subprocess.check_output(...) HOT 13
- Collectd example configuration HOT 2
- Values in config are ignored HOT 2
- Pool parsing fails with ceph 0.87 HOT 1
- CentOS 7 errors on collectd start using ceph_pool_plugin HOT 14
- plugin interval values
- CentOS6.6 AttributeError: 'module' object has no attribute 'check_output' HOT 1
- No JSON object could be decoded HOT 2
- typo in pool code HOT 1
- Error ceph_pool
- read_op_per_sec / write_op_per_sec in Jewel HOT 1
- Syntax error HOT 1
- Video tutorial? HOT 1
- Fork, merge, stuff HOT 1
- Add identity (ceph username) to config
- Max_avail is not collected HOT 1
- install collectd-ceph
- Error on ceph_pg_plugin.py HOT 1
- ceph: failed to get stats :: float division by zero for ceph OSD percentage used metrics
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-ceph.