➥ Cacti 1 on ubuntu 16.04

For the problem with:
AM - CMDPHP: Poller[0] ERROR: A DB Exec Failed!, Error:'1292', SQL:"update host set status = '3', status_event_count = '0', status_fail_date = '0000-00-00 00:00:00', status_rec_date = '0000-00-00 00:00:00', status_last_error = '', min_time = '0.08', max_time = '0.08', cur_time = '0.08', avg_time = '0.08', total_polls = '1', failed_polls = '0', availability = '100' where hostname = '127.0.0.1''


go to:
pico /etc/mysql/mysql.conf.d/mysqld.cnf

and add to the bottom of the file:
sql-mode="ALLOW_INVALID_DATES"


then type
service mysql restart