mirror of
https://github.com/stylersnico/librenms.git
synced 2026-08-01 00:24:21 +02:00
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:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user