Discovery script crash on build 7383.
![](https://secure.gravatar.com/avatar/a4042920f4bf89a219241c65ae64c5d8.jpg?s=120&d=mm&r=g)
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
-- This message has been scanned by E.F.A. Project and is believed to be clean.
![](https://secure.gravatar.com/avatar/a4042920f4bf89a219241c65ae64c5d8.jpg?s=120&d=mm&r=g)
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
![](https://secure.gravatar.com/avatar/0fa97865a0e1ab36152b6b2299eedb49.jpg?s=120&d=mm&r=g)
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, 04:25, 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
-- This message has been scanned for viruses and dangerous content by http://www.efa-project.org E.F.A. Project, and is believed to be clean.
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
![](https://secure.gravatar.com/avatar/a4042920f4bf89a219241c65ae64c5d8.jpg?s=120&d=mm&r=g)
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 http://www.bluemail.me/r
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
![](https://secure.gravatar.com/avatar/0fa97865a0e1ab36152b6b2299eedb49.jpg?s=120&d=mm&r=g)
Ahh. I guess this is related to that, probably something we need to clean up for PHP7.
adam.
Sent from Mailbird [http://www.getmailbird.com/?utm_source=Mailbird&utm_medium=email&utm...] 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 [http://www.bluemail.me/r] On 31 Dec 2015, at 04:25, Ron Marosko <ron@rjr-services.com [mailto: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 [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
participants (2)
-
Adam Armstrong
-
Ron Marosko