updates from sid3windr

git-svn-id: http://www.observium.org/svn/observer/trunk@572 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
Adam Amstrong
2009-12-30 21:02:05 +00:00
parent b546061d8c
commit 3eb057c4a2
6 changed files with 14 additions and 9 deletions
+1 -1
View File
@@ -92,9 +92,9 @@
## Supermicro Temperatures
if($device['os'] == "linux") {
echo("Supermicro ");
$oids = shell_exec($config['snmpwalk'] . " -m SUPERMICRO-HEALTH-MIB -$snmpver -CI -Osqn -c $community $hostname:$port 1.3.6.1.4.1.10876.2.1.1.1.1.3 | sed s/1.3.6.1.4.1.10876.2.1.1.1.1.3.//g");
$oids = trim($oids);
if ($oids) echo("Supermicro ");
foreach(explode("\n", $oids) as $data) {
$data = trim($data);
if($data) {