Zabbix agent no connection to Zabbix Server
I'm have problems to connect my Zabbix agent in pfSense-2.0.3 to mijn Zabbix Server. Packaged install via webinterface.
In this example (test setup):
LAN ip: 192.168.1.40
pfSense host with Zabbix agent:
LAN ip: 192.168.1.1
WAN ip: xxx.xxx.xxx.xxx
SNMP is enabled in pfSense
Zabbix-2 agent settings in web gui
Server Active: testing:10050
Listen IP: 0.0.0.0
Listen Port: 10050
Refresh Active Checks: 120
Buffer Send: 5
Buffer Size: 100
Start Agents: 3
In de webinterface of Zabbix Server I added a host with the same name as the hostname in the Zabbix-2 agent settings. I also linked the pfSense template and SNMP.
Now the question. In the Zabbix Server I have a connection (green box) of SNMP. But for Zabbix I have no connection (red box). I'm a bit lost and I'm not sure now to proceed to solve this problem. Can anyone give me tips so I can solve the problem?
I missed that the the version of my zabbix server was 1.8.10 I updated it to 2.0.6.
In "CONFIGURATION OF TEMPLATES" I imported: https://github.com/kelsen/zabbix/blob/master/pfsense202.xml
The IPMI availability is green. But the ZABBIX agent Availability is red.
Now the the ZABBIX agent Availability is green.
So I figured adding multiply templates (the pfsense template which collects data via SNMP and template OS FreeBSD which collects data via zabbax agent). But if I do this there is and Error on which I do not get a grip on. Error: Two items ("sysName" and "Host name") cannot populate one host inventory field "Name", this would lead to a conflict.
How do I fix it?