From f526cb7d8db8e98cae95d890465a5dddbd2a0d61 Mon Sep 17 00:00:00 2001 From: Tony Murray Date: Fri, 12 Aug 2016 14:33:17 -0500 Subject: [PATCH] Ceph: only parse ceph data Was parsing through all agent data, rather than just ceph data. --- includes/polling/applications/ceph.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/polling/applications/ceph.inc.php b/includes/polling/applications/ceph.inc.php index 2aed49c49f..fc29364fa1 100644 --- a/includes/polling/applications/ceph.inc.php +++ b/includes/polling/applications/ceph.inc.php @@ -4,7 +4,7 @@ $name = 'ceph'; if (!empty($agent_data['app'][$name])) { $app_id = $app['app_id']; - foreach (explode('<', $agent_raw) as $section) { + foreach (explode('<', $agent_data['app'][$name]) as $section) { if (empty($section)) continue; list($section, $data) = explode('>', $section);