Just a quick post to say what I use to get a Zabbix Agent online.
When you add a server, you will not get the green lights on zabbix or snmp till you add the appropriate templates.
Code:
apt install snmpd #(or net-snmp) nano /etc/snmp/snmpd.conf #Replace all existing text with this com2sec notConfigUser default SecretName #Secret name of community group notConfigGroup v1 notConfigUser group notConfigGroup v2c notConfigUser view all included .1 access notConfigGroup "" any noauth exact all none none syslocation Unknown (edit /etc/snmp/snmpd.conf) syscontact Root <root@localhost> (configure /etc/snmp/snmp.local.conf) dontLogTCPWrappersConnects yes apt install zabbix-agent nano /etc/zabbix/zabbix_agentd.conf #Replace all existing text with this LogFile=/tmp/zabbix_agentd.log Server=xxx.xxx.xxx.xxx #<-this needs to be the IP of the address of the zabbix-server ListenPort=10050 Hostname=MediaServer # Use a unique name here on each server, it is case sensitive iptables -I INPUT -p tcp -m tcp --dport 10050 -j ACCEPT iptables -I INPUT -p udp -m udp --dport 161 -j ACCEPT iptables-save service snmpd restart service zabbix-agent restart