Cacti: Empty result : '/usr/bin/curl http://

Lately, I had an issue on my cacti (running under docker). Own scripts, using curl get an empty result.

2017-12-27 16:50:04 - SPINE: Poller[1] Device[2] ERROR: Empty result [doornroosje]: '/usr/bin/curl http://…

This was caused because the user www-data can’t run the curl command…

You can add the user www-data to the root group, or give curl permissions

fe

chmod 777 /usr/bin/curl