Poller not working

I am getting this error

[FAIL] The poller has never run or you are not using poller-wrapper.py, check the cron job.

[WARN] Some devices have not been polled in the last 5 minutes. You may have performance issues.

[FAIL] Discovery has never run. Check the cron job

All devices are in generic state, seems the poller isin’t working. Any idea on how to fix poller-wrapper.py?

./poller.php -h localhost -d
LibreNMS Poller

Version info:
Commit SHA: 10829893ec0fc991bc436c4794852a95db227cbe
Commit Date: 1519138676
DB Schema: 236
PHP: 7.0.27-0+deb9u1
MySQL: 10.1.26-MariaDB-0+deb9u1
RRDTool: 1.6.0
SNMP: NET-SNMP 5.7.3
==================================DEBUG!
Updating os_def.cache… Done
Starting polling run:

SQL[SELECT * FROM devices WHERE disabled = 0 AND hostname = ‘localhost’ ORDER BY device_id ASC]
./poller.php localhost 2018-02-20 16:43:14 - 0 devices polled in 0.310 secs
SNMP [0/0.00s]: Get[0/0.00s] Getnext[0/0.00s] Walk[0/0.00s]
MySQL [5/0.00s]: Cell[2/0.00s] Row[0/-0.00s] Rows[3/0.00s] Column[0/0.00s] Update[0/0.00s] Insert[0/0.00s] Delete[0/0.00s]
RRD [0/0.00s]: Update[0/0.00s] Create [0/0.00s] Other[0/0.00s]

Seems not to be polling at all, could this an error on /opt/librenms/config.php?

Thx

That genuinely looks like you’ve not setup the cron, go back to the install docs and take a look at the cron setup again.