I do not want to bother much anyone. But I hope somebody can just give me a link to the topic/howto where this is already sorted.
What I have:
Zabbix 4.4
SNMP Traps are configured.
Sample Trap is:
===========================================
16:06:43 2020/01/22 ZBXTRAP x.x.x.x
PDU INFO:
notificationtype TRAP
version 1
receivedfrom UDP: [x.x.x.x]:38068->[y.y.y.y]:162
errorstatus 0
messageid 0
community speed
transactionid 13
errorindex 0
requestid 1226521381
VARBINDS:
DISMAN-EVENT-MIB::sysUpTimeInstance type=67 value=Timeticks: (434401) 1:12:24.01
SNMPv2-MIB::snmpTrapOID.0 type=6 value=OID: SNMPv2-SMI::enterprises.1139.103.1.18.2.6
SNMPv2-SMI::enterprises.1139.103.1.18.1.1 type=4 value=STRING: "spb"
SNMPv2-SMI::enterprises.1139.103.1.18.1.2 type=4 value=STRING: "AlertServicesSnmpTest"
SNMPv2-SMI::enterprises.1139.103.1.18.1.3 type=4 value=STRING: "14:100001"
SNMPv2-SMI::enterprises.1139.103.1.18.1.4 type=4 value=STRING: "This is a test message to be sent in an SNMP trap."
===========================================
I want the message from the last string to be shown as "Problem" on dashboard. Currently my trigger expression is {TestHostname:snmptrap.fallback.strlen()}>1 just to raise the problem to the dashboard.
Thank you in advance
/Andrew
What I have:
Zabbix 4.4
SNMP Traps are configured.
Sample Trap is:
===========================================
16:06:43 2020/01/22 ZBXTRAP x.x.x.x
PDU INFO:
notificationtype TRAP
version 1
receivedfrom UDP: [x.x.x.x]:38068->[y.y.y.y]:162
errorstatus 0
messageid 0
community speed
transactionid 13
errorindex 0
requestid 1226521381
VARBINDS:
DISMAN-EVENT-MIB::sysUpTimeInstance type=67 value=Timeticks: (434401) 1:12:24.01
SNMPv2-MIB::snmpTrapOID.0 type=6 value=OID: SNMPv2-SMI::enterprises.1139.103.1.18.2.6
SNMPv2-SMI::enterprises.1139.103.1.18.1.1 type=4 value=STRING: "spb"
SNMPv2-SMI::enterprises.1139.103.1.18.1.2 type=4 value=STRING: "AlertServicesSnmpTest"
SNMPv2-SMI::enterprises.1139.103.1.18.1.3 type=4 value=STRING: "14:100001"
SNMPv2-SMI::enterprises.1139.103.1.18.1.4 type=4 value=STRING: "This is a test message to be sent in an SNMP trap."
===========================================
I want the message from the last string to be shown as "Problem" on dashboard. Currently my trigger expression is {TestHostname:snmptrap.fallback.strlen()}>1 just to raise the problem to the dashboard.
Thank you in advance
/Andrew
Comment