fix front page. fix port poller and port descr parser a little.

git-svn-id: http://www.observium.org/svn/observer/trunk@1486 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
Adam Amstrong
2010-07-26 20:05:14 +00:00
parent 3f2b5982c0
commit 5263fa9238
5 changed files with 27 additions and 27 deletions

View File

@@ -22,6 +22,7 @@ while ($device = mysql_fetch_array($device_query)) {
if(strstr($status, "alive")) {
$pos = shell_exec($config['snmpget'] . " -m SNMPv2-MIB -$snmpver -c $community -t 1 $hostname:$port sysDescr.0");
echo($config['snmpget'] . " -m SNMPv2-MIB -$snmpver -c $community -t 1 $hostname:$port sysDescr.0");
if($pos == '') {
$status='0';
} else {