From 89b9f57ce0a940f209e104674396fc50bc0c334f Mon Sep 17 00:00:00 2001 From: laf Date: Sat, 6 Aug 2016 20:39:53 +0100 Subject: [PATCH] Fixed syntax issue --- includes/discovery/processors/powerconnect.inc.php | 4 ++-- includes/polling/processors/powerconnect.inc.php | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/includes/discovery/processors/powerconnect.inc.php b/includes/discovery/processors/powerconnect.inc.php index 333a7af5d3..01b91772ad 100644 --- a/includes/discovery/processors/powerconnect.inc.php +++ b/includes/discovery/processors/powerconnect.inc.php @@ -2,11 +2,11 @@ if ($device['os'] == 'powerconnect') { if (strpos($device["sysObjectID"], "enterprises.674.10895.3031") !== false) { - d_echo "Dell Powerconnect 55xx"; + d_echo("Dell Powerconnect 55xx"); $usage = trim(snmp_get($device, '.1.3.6.1.4.1.89.1.7.0', '-Ovq')); discover_processor($valid['processor'], $device, '.1.3.6.1.4.1.89.1.7.0', '0', 'powerconnect', 'Processor', '1', $usage, null, null); } elseif (strpos($device["sysObjectID"], "enterprises.674.10895.3024") !== false) { - d_echo "Dell Powerconnect 8024F"; + d_echo("Dell Powerconnect 8024F"); $usage = trim(snmp_get($device,'.1.3.6.1.4.1.674.10895.5000.2.6132.1.1.1.1.4.9.0', '-Ovq'), '"'); $usage = ltrim($usage,' '); if (substr($usage, 0, 5) == '5 Sec') { diff --git a/includes/polling/processors/powerconnect.inc.php b/includes/polling/processors/powerconnect.inc.php index 5e81efd1ee..a614a0a895 100644 --- a/includes/polling/processors/powerconnect.inc.php +++ b/includes/polling/processors/powerconnect.inc.php @@ -1,10 +1,10 @@