rochaporto / collectd-ceph

collectd plugins and dashboards for ceph
GNU General Public License v2.0
60 stars 65 forks source link

improve error logging / detection #13

Closed rochaporto closed 10 years ago

rochaporto commented 10 years ago

Right now the get_stats functions are not exiting on error.

In particular we should check for empty output when a query to ceph fails, and log and exit immediately (otherwise we get a bunch of nasty stacktraces).