mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Ceph: only parse ceph data
Was parsing through all agent data, rather than just ceph data.
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user