From 9265951cf3bb8643802e2d812aa916c42a6ae9d4 Mon Sep 17 00:00:00 2001 From: Tom Laermans Date: Thu, 17 Jun 2010 10:49:42 +0000 Subject: [PATCH] fix warning limit for last commit git-svn-id: http://www.observium.org/svn/observer/trunk@1196 61d68cd4-352d-0410-923a-c4978735b2b8 --- includes/discovery/current.inc.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/includes/discovery/current.inc.php b/includes/discovery/current.inc.php index 535fa1030b..d7ff046f7a 100644 --- a/includes/discovery/current.inc.php +++ b/includes/discovery/current.inc.php @@ -117,7 +117,7 @@ if ($device['os'] == "netmanplus") $descr = "Battery" . (count(explode("\n",$oids)) == 1 ? '' : ' ' . ($current_id+1)); $type = "netmanplus"; $index = 500+$current_id; - discover_current($valid_current,$device, $current_oid, $index, $type, $descr, $precision, NULL, NULL, $current); + discover_current($valid_current,$device, $current_oid, $index, $type, $descr, $precision, NULL, NULL, NULL, $current); } } @@ -132,7 +132,7 @@ if ($device['os'] == "netmanplus") $type = "netmanplus"; $precision = 1; $index = $i; - echo discover_current($valid_current,$device, $current_oid, $index, $type, $descr, $precision, NULL, NULL, $current); + echo discover_current($valid_current,$device, $current_oid, $index, $type, $descr, $precision, NULL, NULL, NULL, $current); } $oids = trim(snmp_walk($device, "1.3.6.1.2.1.33.1.3.2.0", "-OsqnU")); @@ -146,7 +146,7 @@ if ($device['os'] == "netmanplus") $type = "netmanplus"; $precision = 1; $index = 100+$i; - echo discover_current($valid_current,$device, $current_oid, $index, $type, $descr, $precision, NULL, NULL, $current); + echo discover_current($valid_current,$device, $current_oid, $index, $type, $descr, $precision, NULL, NULL, NULL, $current); } $oids = trim(snmp_walk($device, "1.3.6.1.2.1.33.1.5.2.0", "-OsqnU")); @@ -160,7 +160,7 @@ if ($device['os'] == "netmanplus") $type = "netmanplus"; $precision = 1; $index = 200+$i; - echo discover_current($valid_current,$device, $current_oid, $index, $type, $descr, $precision, NULL, NULL, $current); + echo discover_current($valid_current,$device, $current_oid, $index, $type, $descr, $precision, NULL, NULL, NULL, $current); } }