def check_ceph_df():
    'Program entry point.'

    try:
        res = subprocess.check_output(["ceph", "df", "--format=json"],
                                      stderr=subprocess.STDOUT)
        exit_code, message = interpret_output_df(res)
        sys.stdout.write("%s\n" % message)
        sys.exit(exit_code)
    except subprocess.CalledProcessError as e:
        sys.stdout.write('CEPH UNKNOWN: %s\n' % e.output)
        sys.exit(3)
    except __HOLE__:
        sys.stdout.write('CEPH UNKNOWN: unable to launch ceph health\n')
        sys.exit(3)
dataset/ETHPy150Open openstack/monitoring-for-openstack/oschecks/ceph.py/check_ceph_df