From 674373d99a75daffeaa012d7c4e5f51d665ff25f Mon Sep 17 00:00:00 2001 From: Mark Chaney Date: Wed, 9 Dec 2015 05:27:54 -0600 Subject: [PATCH] fixed backslash bug on ceph.inc.php fixed backslash syntax error that stopped graphs from properly being generated. --- includes/polling/applications/ceph.inc.php | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/includes/polling/applications/ceph.inc.php b/includes/polling/applications/ceph.inc.php index 08413c881f..b3ae5ced77 100644 --- a/includes/polling/applications/ceph.inc.php +++ b/includes/polling/applications/ceph.inc.php @@ -17,9 +17,9 @@ if (!empty($agent_data['app']['ceph'])) { if (!is_file($ceph_rrd)) { rrdtool_create( $ceph_rrd, - '--step 300 \ - DS:ops:GAUGE:600:0:U \ - DS:wrbytes:GAUGE:600:0:U \ + '--step 300 + DS:ops:GAUGE:600:0:U + DS:wrbytes:GAUGE:600:0:U DS:rbytes:GAUGE:600:0:U '.$config['rrd_rra'] ); } @@ -37,8 +37,8 @@ if (!empty($agent_data['app']['ceph'])) { if (!is_file($ceph_rrd)) { rrdtool_create( $ceph_rrd, - '--step 300 \ - DS:apply_ms:GAUGE:600:0:U \ + '--step 300 + DS:apply_ms:GAUGE:600:0:U DS:commit_ms:GAUGE:600:0:U '.$config['rrd_rra'] ); } @@ -56,9 +56,9 @@ if (!empty($agent_data['app']['ceph'])) { if (!is_file($ceph_rrd)) { rrdtool_create( $ceph_rrd, - '--step 300 \ - DS:avail:GAUGE:600:0:U \ - DS:used:GAUGE:600:0:U \ + '--step 300 + DS:avail:GAUGE:600:0:U + DS:used:GAUGE:600:0:U DS:objects:GAUGE:600:0:U '.$config['rrd_rra'] ); }