When you run the job what directory are you sitting in.. are there absolute paths? if you are say in /root and run /opt/observium/poller.php does it fail I bet it does or it doesn’t know where config file is.
Are these set right? ### Locations $config['install_dir'] = "/opt/observium"; $config['html_dir'] = $config['install_dir'] . "/html"; $config['rrd_dir'] = $config['install_dir'] . "/rrd"; $config['log_file'] = $config['install_dir'] . "/observium.log”;
Here is my /etc/cron.d/observium file
-- Ray Poorman, CTO CSS Integration & Communications 1911 C St Bellingham WA 98225 360-671-4878
On January 4, 2020 at 11:27:11 AM, Reiner Marsollek via observium (observium@observium.org) wrote:
Hello,
here's the problem. If I start the poller-wrapper manually in the shell it works without problems. But if it is started by the cronjob, I get the following error message: ERROR: Could not load or parse observium configuration, are PATHs correct? Does anyone know the problem and how to fix it?
Reiner _______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium