From 6204140cd9e16a2456d841d89585aa3c134fb11f Mon Sep 17 00:00:00 2001 From: Yatin Kumbhare Date: Sat, 23 Jul 2016 11:50:48 +0530 Subject: [PATCH] Trivial fix for variable name --- plugins/ceph_pool_plugin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/ceph_pool_plugin.py b/plugins/ceph_pool_plugin.py index ab2378b..257be90 100755 --- a/plugins/ceph_pool_plugin.py +++ b/plugins/ceph_pool_plugin.py @@ -54,7 +54,7 @@ def get_stats(self): osd_pool_cmdline='ceph osd pool stats -f json --cluster ' + self.cluster stats_output = subprocess.check_output(osd_pool_cmdline, shell=True) cephdf_cmdline='ceph df -f json --cluster ' + self.cluster - df_output = subprocess.check_output(ceph_dfcmdline, shell=True) + df_output = subprocess.check_output(cephdf_cmdline, shell=True) except Exception as exc: collectd.error("ceph-pool: failed to ceph pool stats :: %s :: %s" % (exc, traceback.format_exc()))