Update to add…
This may be unique to me… I just forced a discovery on another node and did not have any issues with the script crashing there. And if I disable the bgp-peers discovery module on that specific device, the discovery script runs fine.
Go figure. :(
From: observium [mailto:observium-bounces@observium.org] On Behalf Of Ron Marosko Sent: Wednesday, December 30, 2015 10:18 PM To: 'Observium Network Observation System' Subject: [Observium] Discovery script crash on build 7383.
All,
Not sure if this is just isolated to me or what… just upgraded to 7383 via svn, and happened to force a discovery on a node trying to troubleshoot why neighbors were no longer being displayed on the ports page on a couple Catalyst 6509s I’m polling, and got the following error:
##### Module Start: bgp-peers #####
No BGP on hostPHP Fatal error: Uncaught TypeError: Argument 1 passed to print_cli_table() must be of the type array, null given, called in /opt/observium/includes/discovery/bgp-peers.inc.php on line 458 and defined in /opt/observium/includes/functions.inc.php:2226
Stack trace:
#0 /opt/observium/includes/discovery/bgp-peers.inc.php(458): print_cli_table(NULL, Array)
#1 /opt/observium/includes/discovery/functions.inc.php(242): include('/opt/observium/...')
#2 /opt/observium/discovery.php(182): discover_device(Array, Array)
#3 {main}
thrown in /opt/observium/includes/functions.inc.php on line 2226
Anyone else seeing this problem?
…Ron