mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
fix
git-svn-id: http://www.observium.org/svn/observer/trunk@283 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
$oids = trim($oids);
|
||||
foreach ( explode("\n", $oids) as $oid ) {
|
||||
if($oid) {
|
||||
list($vrf['oid'], $vrf['RouteDistinguisher']) = explode("||", $oid);
|
||||
list($vrf['oid'], $vrf['MplsVpnVrfRouteDistinguisher']) = explode("||", $oid);
|
||||
$vrf['name'] = shell_exec($config['snmpget'] . " -Ln -Osq -" . $device['snmpver'] . " -c " . $device['community'] . " " . $device['hostname'] . " mplsVpnVrfRouteDistinguisher.".$vrf['oid']);
|
||||
list(,$vrf['name'], $vrf['MplsVpnVrfRouteDistinguisher']) = explode("\"", $vrf['name']);
|
||||
echo($vrf['name']);
|
||||
|
Reference in New Issue
Block a user