![](https://secure.gravatar.com/avatar/b36cf24c3fef5688915cf628dfa95b36.jpg?s=120&d=mm&r=g)
Hi Denis,
I use an alpine build atm for testing, I understand that most php-builds have the tokenizer included. On Alpine it is called php7-tokinezer and if you cannot find that module for your OS than you need to compile php yourself to include the module.
A simple example of the change is below: poller_0805.log:INFO: observium-wrapper poller processed 271 devices in 459.62 seconds with 12 threads, load average (5min) 6.49 poller_0830.log:INFO: observium-wrapper poller processed 271 devices in 319.21 seconds with 12 threads, load average (5min) 3.36
I have increased the threads to 15 and the system is now performing as with the old version where it was also running on 15 threads (and more importantly the cycle is back below 5 minutes) poller_0925.log:INFO: observium-wrapper poller processed 271 devices in 262.91 seconds with 15 threads, load average (5min) 3.88
Regards, André
From: observium observium-bounces@observium.org On Behalf Of Klimek, Denis Sent: Wednesday, 5 September 2018 09:24 To: 'observium@observium.org' observium@observium.org Subject: Re: [Observium] New Observium CE 18.9
Hi Andre,
can you tell us how installed it and show us an graph how to performance increased?
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.demailto:dklimek@stadtwerke-norderstedt.de www.stadtwerke-norderstedt.dehttp://www.stadtwerke-norderstedt.de/
Von: observium [mailto:observium-bounces@observium.org] Im Auftrag von Andre.Punt@kpn.commailto:Andre.Punt@kpn.com Gesendet: Mittwoch, 5. September 2018 09:14 An: observium@observium.orgmailto:observium@observium.org Betreff: Re: [Observium] New Observium CE 18.9
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.orgmailto: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.orgmailto:observium-bounces@observium.org> On Behalf Of Mike Stupalov Sent: Tuesday, 4 September 2018 13:02 To: Observium <observium@observium.orgmailto: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, Denismailto: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.demailto:dklimek@stadtwerke-norderstedt.de www.stadtwerke-norderstedt.dehttp://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.commailto: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.commailto: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.orgmailto:observium-bounces@observium.org On Behalf Of Adam Armstrong Sent: Saturday, 1 September 2018 17:50 To: observium@observium.orgmailto: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.orgmailto:observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium Adam Armstrongmailto: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.orgmailto:observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
-- Mike Stupalov Observium Limited, http://observium.org
_______________________________________________ observium mailing list observium@observium.orgmailto:observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium Mike Stupalovmailto: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 Armstrongmailto: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.orgmailto:observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
-- Mike Stupalov Observium Limited, http://observium.org