Remove config_bgp check in bird2 app (#15877)

This commit is contained in:
Didr
2024-03-04 21:21:44 +01:00
committed by GitHub
parent 22f5b687c4
commit 1fedffbfe6

View File

@@ -5,12 +5,6 @@ use Carbon\Carbon;
$name = 'bird2';
if (! \LibreNMS\Config::get('enable_bgp')) {
echo PHP_EOL . $name . ': BGP is not enabled in config' . PHP_EOL;
return;
}
$birdOutput = snmp_get($device, 'nsExtendOutputFull.' . \LibreNMS\Util\Oid::ofString($name), '-Oqv', 'NET-SNMP-EXTEND-MIB');
// make sure we actually get something back