configuration

Administration –> General –> Others –> Default host inventory mode: set to “Automatic”

sudo

Zabbix needs rights to call some commands (nmap, smartctl) with sudo.