From aae9ba806c1de844170e6b4a1570eb7790169134 Mon Sep 17 00:00:00 2001 From: Rasmus Aberg Date: Tue, 21 Jul 2015 16:07:05 +0200 Subject: [PATCH] fixed formatting --- includes/discovery/fanspeeds/extreme.inc.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/includes/discovery/fanspeeds/extreme.inc.php b/includes/discovery/fanspeeds/extreme.inc.php index 8897cf563..9ce1a10a7 100644 --- a/includes/discovery/fanspeeds/extreme.inc.php +++ b/includes/discovery/fanspeeds/extreme.inc.php @@ -24,9 +24,9 @@ if ($device['os'] == 'xos') { $index = $matches[1]; // substract 100 from index to start from 1 instead of 101 $modindex = ($index - 100); - $oid = "1.3.6.1.4.1.1916.1.1.1.9.1.4.$index"; - $value = snmp_get($device, $oid, '-Oqv', 'EXTREME-BASE-MIB'); - $descr = "Fan Speed $modindex"; + $oid = "1.3.6.1.4.1.1916.1.1.1.9.1.4.$index"; + $value = snmp_get($device, $oid, '-Oqv', 'EXTREME-BASE-MIB'); + $descr = "Fan Speed $modindex"; $high_limit = roundme($value * 1.5); $high_warn_limit = roundme($value * 1.25); $low_warn_limit = roundme($value * 0.75);