Hello,
I need help configuring triggers for snmp traps. I have configured external monitoring system to forward snmp traps to Zabbix. 1 snmp trap looks like:
Now, I would like to create trigger which with appropriate severity, host name and alertName. Also, when resolution state is 0 then there is a PROBLEM, when it is 255 it is cleared.
Can anyone help me with that?
I need help configuring triggers for snmp traps. I have configured external monitoring system to forward snmp traps to Zabbix. 1 snmp trap looks like:
| 2019-03-11 10:12:11 | 2019-03-11 10:12:09 | 09:12:09 2019/03/11 PDU INFO: errorindex 0 notificationtype TRAP community public messageid 0 errorstatus 0 version 1 transactionid 9042 receivedfrom UDP: [1.1.1.1]:52328->[2.2.2.2]:162 requestid 1042 VARBINDS: SNMPv2-MIB::sysUpTime.0 type=67 value=Timeticks: (443093323) 51 days, 6:48:53.23 SNMPv2-MIB::snmpTrapOID.0 type=6 value=OID: SNMPv2-MIB::coldStart SNMPv2-MIB::snmpTrapEnterprise.0 type=4 value=STRING: "99999" XXX-MIB::alertID type=4 value=STRING: "430a40f2-6e05-41c5-aca3-f6981a2d10d4" XXX-MIB::alertName type=4 value=STRING: "MSSQL: Monitoring failed" XXX-MIB::alertDescription type=4 value=STRING: "Event ID: 4001. Management Group: XXX. Script: GetSQL2008SPNState.vbs. Version: 7.0.7.0 : The Query 'SELECT ProtocolName FROM ServerNetworkProtocol where Enabled = true and InstanceName = 'CITRIX_METAFRAME'' did not return any valid instances. Please check to see if this is a valid WMI Query.. The system cannot find the file specified. " XXX-MIB::severity type=4 value=STRING: "Critical" XXX-MIB::resolutionState type=4 value=STRING: "0" XXX-MIB::hostname type=4 value=STRING: "TEST123" |
Can anyone help me with that?
Comment