Bgp-peers.inc.php erroring out polling bgp-peers

The bgp-peers module is spitting an error and not completing for Juniper MX & QFX devices. The error being thrown is listed below:

Warning: Undefined array key “” in /opt/librenms/includes/polling/bgp-peers.inc.php on line 584
^[[0;31mError polling bgp-peers module for xxx-xxx-xxx.xxx.net.^[[0m array_shift(): Argument #1 ($array) must be of type array, null given
#0 /opt/librenms/includes/polling/bgp-peers.inc.php(584): array_shift()
#1 /opt/librenms/includes/polling/functions.inc.php(329): include(’…’)
#2 /opt/librenms/poller.php(138): poll_device()
#3 {main}

I have temporarily resolved the issue by commenting out lines 583 - 585 in bgp-peers.inc.php. The OIDs that are polled in these 3 lines have been confirmed as operational from the effected devices.

If anyone has seen this issue before I would appreciate some assistance getting it resolved.

Thank you in advance,

-Patrick

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.