Skip to content

CentOS6.6 AttributeError: 'module' object has no attribute 'check_output' #31

@ksingh7

Description

@ksingh7

@rochaporto A big thanks for sharing these plugins.

Need help , While trying to use ceph_pool_plugin , i got this error in collectd logs.

[2015-07-09 16:53:04] [error] ceph-pool: failed to ceph pool stats :: 'module' object has no attribute 'check_output' :: Traceback (most recent call last):
  File "/usr/lib/collectd/plugins/ceph/ceph_pool_plugin.py", line 54, in get_stats
    stats_output = subprocess.check_output('ceph osd pool stats -f json', shell=True)
AttributeError: 'module' object has no attribute 'check_output'

[2015-07-09 16:53:04] [info] ceph: collectd new data from service :: took 0 seconds
[2015-07-09 16:53:04] [error] ceph: failed to retrieve stats

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions