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/ on line 584
^[[0;31mError polling bgp-peers module for^[[0m array_shift(): Argument #1 ($array) must be of type array, null given
#0 /opt/librenms/includes/polling/ array_shift()
#1 /opt/librenms/includes/polling/ include(’…’)
#2 /opt/librenms/poller.php(138): poll_device()
#3 {main}

I have temporarily resolved the issue by commenting out lines 583 - 585 in 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,


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