
Ohh, I founded only one place where this tokenizerused..
And this lib not should be loaded in poller/discovery while you not enable debugging -d (in normal polling)
Andre.Punt@kpn.com wrote:
Hi Mike,
Seems I solved the issue by installing php7-tokenizer
Performance is back to what it was
Regards,
André
*From:*Punt, André *Sent:* Tuesday, 4 September 2018 16:31 *To:* 'Observium' observium@observium.org *Subject:* RE: [Observium] New Observium CE 18.9
Hi Mike,
It looks like all my Juniper devices are taking longer than before, this image is almost identical for all junipers:
https://observium.eurorings.net/graph.php?type=device_poller_perf&device...
Hmmm….something is wrong here:
/opt/observium # php poller.php -dd -h 7 > logs/debug_poller_device_7.txt
PHP Fatal error: Uncaught Error: Call to undefined function token_get_all() in /opt/observium/libs/ref.inc.php:1014
Stack trace:
#0 /opt/observium/libs/ref.inc.php(81): ref::getInputExpressions(Array)
#1 /opt/observium/includes/common.inc.php(828): rt(Array)
#2 /opt/observium/includes/common.inc.php(872): print_vars(Array, Array)
#3 /opt/observium/includes/polling/functions.inc.php(483): print_debug_vars(Array)
#4 /opt/observium/poller.php(172): poll_device(Array, Array)
#5 {main}
thrown in /opt/observium/libs/ref.inc.php on line 1014
/opt/observium # php poller.php -d -h 7 > logs/debug_poller_device_7.txt
PHP Fatal error: Uncaught Error: Call to undefined function token_get_all() in /opt/observium/libs/ref.inc.php:1014
Stack trace:
#0 /opt/observium/libs/ref.inc.php(81): ref::getInputExpressions(Array)
#1 /opt/observium/includes/common.inc.php(828): rt(Array)
#2 /opt/observium/includes/common.inc.php(872): print_vars(Array, Array)
#3 /opt/observium/includes/polling/system.inc.php(281): print_debug_vars(Array, 1)
#4 /opt/observium/includes/polling/functions.inc.php(690): include('/opt/observium/...')
#5 /opt/observium/poller.php(172): poll_device(Array, Array)
#6 {main}
thrown in /opt/observium/libs/ref.inc.php on line 1014
/opt/observium # php discovery.php -d -h 7 > logs/debug_device_7.txt
env: can't execute 'tput': No such file or directory
PHP Fatal error: Uncaught Error: Call to undefined function token_get_all() in /opt/observium/libs/ref.inc.php:1014
Stack trace:
#0 /opt/observium/libs/ref.inc.php(81): ref::getInputExpressions(Array)
#1 /opt/observium/includes/common.inc.php(828): rt(Array)
#2 /opt/observium/includes/common.inc.php(872): print_vars(Array, Array)
#3 /opt/observium/includes/discovery/ports.inc.php(36): print_debug_vars(Array, 1)
#4 /opt/observium/includes/discovery/functions.inc.php(376): include('/opt/observium/...')
#5 /opt/observium/discovery.php(190): discover_device(Array, Array)
#6 {main}
thrown in /opt/observium/libs/ref.inc.php on line 1014
/opt/observium # php poller.php -dd -h 7 > logs/debug_poller_device_7.txt
PHP Fatal error: Uncaught Error: Call to undefined function token_get_all() in /opt/observium/libs/ref.inc.php:1014
Stack trace:
#0 /opt/observium/libs/ref.inc.php(81): ref::getInputExpressions(Array)
#1 /opt/observium/includes/common.inc.php(828): rt(Array)
#2 /opt/observium/includes/common.inc.php(872): print_vars(Array, Array)
#3 /opt/observium/includes/polling/functions.inc.php(483): print_debug_vars(Array)
#4 /opt/observium/poller.php(172): poll_device(Array, Array)
#5 {main}
thrown in /opt/observium/libs/ref.inc.php on line 1014
/opt/observium #
Running “php poller.php -h 7” works fine
Regards,
André
*From:*observium <observium-bounces@observium.org mailto:observium-bounces@observium.org> *On Behalf Of *Mike Stupalov *Sent:* Tuesday, 4 September 2018 13:02 *To:* Observium <observium@observium.org mailto:observium@observium.org> *Subject:* Re: [Observium] New Observium CE 18.9
Go to this "hidden" url:
http(s)://<observium>/devices/format=perf/disabled=0/status=1/pagination=0/
and see which devices longer polling after update.
And do debug discovery/polling for an device.
Klimek, Denis <mailto:DKlimek@Stadtwerke-Norderstedt.de> 4 September 2018 at 08:59 We didn’t notice any performance issue or changes. Problem is that we are added devices in the past and so it’s not possible to compare old vs. current graphs i.e. polling times. Mit freundlichem Gruß Stadtwerke Norderstedt *Denis Klimek* Professional Network Engineer IP-Systemtechnik Tel: 040 / 521 04 – 1049 Mobil: 0151 / 652 219 06 dklimek@stadtwerke-norderstedt.de <mailto:dklimek@stadtwerke-norderstedt.de> www.stadtwerke-norderstedt.de <http://www.stadtwerke-norderstedt.de/> *Von:*observium [mailto:observium-bounces@observium.org] *Im Auftrag von *Mike Stupalov *Gesendet:* Dienstag, 4. September 2018 07:52 *An:* Observium; Andre.Punt@kpn.com <mailto:Andre.Punt@kpn.com> *Betreff:* Re: [Observium] New Observium CE 18.9 Not possible, performance should be increase of course ;) Show screenshots from performance pages and attach debug poller/discovery for device(s) which decreased: ./discovery.php -d -h <device> ./poller.php -d -h <device> Andre.Punt@kpn.com <mailto:Andre.Punt@kpn.com> 4 September 2018 at 08:32 Hi, Good patch and fixed some issues I had, but I also notice a performance decrease with this release. Anyone else noticed this also? Regards, André *From:*observium <observium-bounces@observium.org> <mailto:observium-bounces@observium.org> *On Behalf Of *Adam Armstrong *Sent:* Saturday, 1 September 2018 17:50 *To:* observium@observium.org <mailto:observium@observium.org> *Subject:* [Observium] New Observium CE 18.9 We've just released the new version of Observium CE, 18.9. This release is based on SVN revision 9411 and includes 552 separate commits covering ~50k changed lines of code since the previous release. The new release can be downloaded from http://www.observium.org and upgrade instructions are at http://www.observium.org/docs/updating/#upgrade-to-latest-major-release Changelogs are : https://docs.observium.org/changelog/ http://www.observium.org/svn.log Thanks, adam. _______________________________________________ observium mailing list observium@observium.org <mailto:observium@observium.org> http://postman.memetic.org/cgi-bin/mailman/listinfo/observium Adam Armstrong <mailto:adama@observium.org> 1 September 2018 at 18:49 We've just released the new version of Observium CE, 18.9. This release is based on SVN revision 9411 and includes 552 separate commits covering ~50k changed lines of code since the previous release. The new release can be downloaded from http://www.observium.org and upgrade instructions are at http://www.observium.org/docs/updating/#upgrade-to-latest-major-release Changelogs are : https://docs.observium.org/changelog/ http://www.observium.org/svn.log Thanks, adam. _______________________________________________ observium mailing list observium@observium.org <mailto:observium@observium.org> http://postman.memetic.org/cgi-bin/mailman/listinfo/observium -- Mike Stupalov Observium Limited, http://observium.org _______________________________________________ observium mailing list observium@observium.org <mailto:observium@observium.org> http://postman.memetic.org/cgi-bin/mailman/listinfo/observium Mike Stupalov <mailto:mike@observium.org> 4 September 2018 at 08:51 Not possible, performance should be increase of course ;) Show screenshots from performance pages and attach debug poller/discovery for device(s) which decreased: ./discovery.php -d -h <device> ./poller.php -d -h <device> Adam Armstrong <mailto:adama@observium.org> 1 September 2018 at 18:49 We've just released the new version of Observium CE, 18.9. This release is based on SVN revision 9411 and includes 552 separate commits covering ~50k changed lines of code since the previous release. The new release can be downloaded from http://www.observium.org and upgrade instructions are at http://www.observium.org/docs/updating/#upgrade-to-latest-major-release Changelogs are : https://docs.observium.org/changelog/ http://www.observium.org/svn.log Thanks, adam. _______________________________________________ observium mailing list observium@observium.org <mailto:observium@observium.org> http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
-- Mike Stupalov Observium Limited, http://observium.org
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium