thelan / ceph-zabbix

Zabbix plugin for Ceph monitoring
66 stars 81 forks source link

Fix when rd/wr bps are in B/s #5

Closed FlorentCoppint closed 9 years ago

FlorentCoppint commented 9 years ago

When read or write bps are only in "B/s" (no prefix), regex didn't match.

thelan commented 9 years ago

Hello, Thanks for the patch. Which version of ceph are you using?

This script is a bit old I'm currently working on a new version in python that use the json output. This will give better performance and remove the regex "problems" if the output of the command change.

FlorentCoppint commented 9 years ago

I use Giant version (0.87.1), your script works fine even if it's old :)