remove old position for checkers and update related files

git-svn-id: http://www.observium.org/svn/observer/trunk@241 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
Adam Amstrong
2008-07-18 08:21:45 +00:00
parent 530ffd431e
commit c3e626aae2
79 changed files with 24 additions and 4386 deletions
+1 -1
View File
@@ -114,7 +114,7 @@ while ($device = mysql_fetch_array($device_query)) {
} elseif ($device['os'] == "Linux") {
list(,,$version) = explode (" ", $sysDescr);
if(strstr($sysDescr, "386")|| strstr($sysDescr, "486")||strstr($sysDescr, "586")||strstr($sysDescr, "686")) { $hardware = "Generic x86"; }
if(strstr($sysDescr, "x86_64")) { $hardware = "Generic x86_64"; }
if(strstr($sysDescr, "x86_64")) { $hardware = "Generic x86 64-bit"; }
$cmd = "snmpget -O qv -" . $device['snmpver'] . " -c " . $device['community'] . " " . $device['hostname'] . " .1.3.6.1.4.1.2021.7890.1.101.1";
$features = trim(`$cmd`);
$features = str_replace("No Such Object available on this agent at this OID", "", $features);