Hi,
I would like to collect syslog data of routers and switches with Zabbix. Unfortunately it doesn't seem to work.
As a key for the item I used this:
and the type "SNMP trap".
As an expression for the trigger I used this:
When I checked the events, I only received a message that there aren't any SNMP traps available. I know that you will only receive them, if there are any errors. As a test I tried to unplug a cable from a switch and plug it again to get a "LinkDown" SNMP message, but nothing happened. The IP address of the Zabbix server is registered in the SNMP settings. The ping to the switch works fine and the ports 161, 162 and 10050 are opened.
What's wrong in this case?
I would like to collect syslog data of routers and switches with Zabbix. Unfortunately it doesn't seem to work.
As a key for the item I used this:
Code:
snmptrap["SNMPv1-MIB::any"]
As an expression for the trigger I used this:
Code:
{<name of template>:snmptrap["SNMPv1-MIB::any"].nodata(5m)}=0
When I checked the events, I only received a message that there aren't any SNMP traps available. I know that you will only receive them, if there are any errors. As a test I tried to unplug a cable from a switch and plug it again to get a "LinkDown" SNMP message, but nothing happened. The IP address of the Zabbix server is registered in the SNMP settings. The ping to the switch works fine and the ports 161, 162 and 10050 are opened.
What's wrong in this case?
Comment