Ok cool, but this means also that the next CE release (which will be soonish?) has full support for php 7.1?
l33tname
On 17/03/17 00:05, Adam Armstrong wrote:
Indeed, 0.16.10 is 5 months old and still does not support 7.1 :)
Not sure if the docs say this explicitly, but I recall removing the 7.1 instructions which were there briefly because they don't work with CE.
adam.On 16/03/2017 22:57:53, Tom Laermans <tom.laermans@powersource.cx> wrote:
Please upgrade to the professional version or downgrade to PHP7.0 :-)
Tom
On 16/03/2017 23:47, Sir l33tname wrote:
oh I see that would be indeed a very helpful information:
Observium CE 0.16.10.8128
l33tname
On 16/03/17 23:42, Adam Armstrong wrote:
You seem to have very helpfully left out your observium version...!
Adam.
Sent from BlueMailOn 16 Mar 2017, at 22:00, Sir l33tname <sirl33tname@gmail.com> wrote:I switch to the latest php version and suddenly all graphs stopped working. (I'm not really sure that this is the reason) But if anyone have the same problem my stacktraces and how I fixed it with changing the line 484 in /usr/local/www/observium/includes/rrdtool.inc.php from function rrdtool_update_ng($device, $type, $ds, $index, $create = TRUE) to function rrdtool_update_ng($device, $type, $ds, $index = NULL, $create = TRUE) If anyone have an idea why this is broken or if I'm using it wrong or has more infos on this would be nice. stacktrace: /usr/local/www/observium # /usr/bin/env php /usr/local/www/observium/poller.php -d -h 1 ##### Software versions ##### o OS FreeBSD GENERIC [amd64] ( 11.0-RELEASE-p2) o Apache 2.4.25 o PHP 7.1.2 o Python 3.6.0 o MySQL 10.1.21-MariaDB (extension: mysqli 5.0.12-dev) o SNMP NET-SNMP 5.7.3 o RRDtool 1.6.0 o Device status Device is reachable by PING (2.31ms) and SNMP (17.58ms) PHP Fatal error: Uncaught ArgumentCountError: Too few arguments to function rrdtool_update_ng(), 3 passed in /usr/local/www/observium/includes/polling/functions.inc.php on line 566 and at least 4 expected in /usr/local/www/observium/includes/rrdtool.inc.php:484 Stack trace: #0 /usr/local/www/observium/includes/polling/functions.inc.php(566): rrdtool_update_ng(Array, 'status', Array) #1 /usr/local/www/observium/poller.php(170): poll_device(Array, Array) #2 {main} thrown in /usr/local/www/observium/includes/rrdtool.inc.php on line 484 Fatal error: Uncaught ArgumentCountError: Too few arguments to function rrdtool_update_ng(), 3 passed in /usr/local/www/observium/includes/polling/functions.inc.php on line 566 and at least 4 expected in /usr/local/www/observium/includes/rrdtool.inc.php:484 Stack trace: #0 /usr/local/www/observium/includes/polling/functions.inc.php(566): rrdtool_update_ng(Array, 'status', Array) #1 /usr/local/www/observium/poller.php(170): poll_device(Array, Array) #2 {main} thrown in /usr/local/www/observium/includes/rrdtool.inc.php on line 484
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium_______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium_______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
_______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
observium mailing list
observium@observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium