fix sentry3 os files

git-svn-id: http://www.observium.org/svn/observer/trunk@1940 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
Tom Laermans
2011-03-20 21:19:49 +00:00
parent 2f0c69c9ef
commit 9c24234c5d
2 changed files with 1 additions and 22 deletions
+1 -9
View File
@@ -5,12 +5,4 @@ if (!$os)
if (preg_match("/^Sentry\ Switched /", $sysDescr)) { $os = "sentry3"; }
}
?>
<?php
if (!$os)
{
if (preg_match("/^Sentry\ Switched /", $sysDescr)) { $os = "sentry3"; }
}
?>
?>
-13
View File
@@ -10,17 +10,4 @@ $version = snmp_get($device, "systemVersion.0", "-Ovq", "Sentry3-MIB");
$version = preg_split('/Sentry\ Switched\ CDU\ Version/', $version);
$version = $version[1];
?>
<?php
#Sentry3-MIB::towerModelNumber "CW-24V2-L30M"
#Sentry3-MIB::systemVersion "Sentry Switched CDU Version 6.0g"
#Sentry3-MIB::towerProductSN "ABEF0001561"
$hardware = snmp_get($device, "towerModelNumber.1", "-Ovq", "Sentry3-MIB");
$serial = snmp_get($device, "towerProductSN.1", "-Ovq", "Sentry3-MIB");
$version = snmp_get($device, "systemVersion.0", "-Ovq", "Sentry3-MIB");
$version = preg_split('/Sentry\ Switched\ CDU\ Version/', $version);
$version = $version[1];
?>