Details
Description
New install, running into an issue with the poller. poller-wrapper.php 5 min update timer is running fine with no error, however getting error in drawing graphs.
I found errors in the graph error details, and then ran a manual./poller.php -h all - where I could see the poller itself failing.
./discovery.php -h all - works fine, It's pulling all the data from my devices except for graphs, and the rrd/ dir has each device dir created, but no data within.
Error output from ./poller.php -h all -d:
o Device status Device is reachable by PING (1.46ms) and SNMP (162.67ms) |
PHP Fatal error: Uncaught ArgumentCountError: Too few arguments to function rrdtool_update_ng(), 3 passed in /srv/http/includes/polling/funct ions.inc.php on line 566 and at least 4 expected in /srv/http/includes/rrdtool.inc.php:484 |
Stack trace:
|
#0 /srv/http/includes/polling/functions.inc.php(566): rrdtool_update_ng(Array, 'status', Array) |
#1 /srv/http/poller.php(170): poll_device(Array, Array) |
#2 {main} |
thrown in /srv/http/includes/rrdtool.inc.php on line 484 |
|
Fatal error: Uncaught ArgumentCountError: Too few arguments to function rrdtool_update_ng(), 3 passed in /srv/http/includes/polling/functions. inc.php on line 566 and at least 4 expected in /srv/http/includes/rrdtool.inc.php:484 |
Stack trace:
|
#0 /srv/http/includes/polling/functions.inc.php(566): rrdtool_update_ng(Array, 'status', Array) |
#1 /srv/http/poller.php(170): poll_device(Array, Array) |
#2 {main} |
thrown in /srv/http/includes/rrdtool.inc.php on line 484 |
Aha! all working downgraded to 7.0, looks like my php updated to 7.1 in Dec for my distro.
I tried checking the release notes on Pro but couldn't find anything related, I will look for the CE update in the future. Thanks!