Ahh. I guess this is related to that, probably something we need to clean up for PHP7.

adam.

Sent from Mailbird

On 31/12/2015 23:34:18, Ron Marosko <ron@rjr-services.com> wrote:

Distro is Ubuntu 14.04 installed per the directions on the site. Only change was doing the PHP 7 installation per Markus here in the email group, which made a SUBSTANTIAL performance increase on the GUI side over PHP5.

 

Sorry for the delay, was on airplanes all day today.

 

From: observium [mailto:observium-bounces@observium.org] On Behalf Of Adam Armstrong
Sent: Thursday, December 31, 2015 2:02 AM
To: Observium Network Observation System
Cc: 'Observium Network Observation System'
Subject: Re: [Observium] Discovery script crash on build 7383.

 

What distro are you running observium on? Where did the php packages come from?

It seems to be throwing an error for something we wouldn't expect an error to be thrown for. Perhaps php is running in a stricter mode?

Adam.

Sent from BlueMail

On 31 Dec 2015, at 04:25, Ron Marosko <ron@rjr-services.com> wrote:

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