Hi,
How to write trigger which catches every snmp trap?
This example finds only first trap in the sequence.
{Template SNMP traps:snmptrap["lhnNsmNotification"].nodata(1s)}=0
12:52:46 An event for a system service was generated. 'SNMP' server 'Normal'. (E02020200) 07 E0 0A 0C 11 CC 30 00 BB 00 00 EID_SERVER_NORMAL 2 DL1B5-VSA-2 10.90.205.15 00:1F
D:A5:0A:01 HP StoreVirtual VSA 2014 (Hyper-V) Virtual Machine 0 12.6.00.0155.0 12.6.00.0155 a1626c77e432faa66059215041faf6c8 DC-STORAGE-VSA-1 VSA-1 DC-1 ZBXTRAP 10.90.205.15 lhnNsmNotificationService
12:52:47 An event for a system service was generated. 'SNMP' server 'Normal'. (E02020200) 07 E0 0A 0C 11 CC 30 00 BB 00 00 EID_SERVER_NORMAL 2 DL1B5-VSA-2 10.90.205.15 00:1F
D:A5:0A:01 HP StoreVirtual VSA 2014 (Hyper-V) Virtual Machine 0 12.6.00.0155.0 12.6.00.0155 a1626c77e432faa66059215041faf6c8 DC-STORAGE-VSA-1 VSA-1 DC-1 ZBXTRAP 10.90.205.15 lhnNsmNotificationService
12:52:48 An event for a system service was generated. 'SNMP' server 'Normal'. (E02020200) 07 E0 0A 0C 11 CC 30 00 BB 00 00 EID_SERVER_NORMAL 2 DL1B5-VSA-2 10.90.205.15 00:1F
D:A5:0A:01 HP StoreVirtual VSA 2014 (Hyper-V) Virtual Machine 0 12.6.00.0155.0 12.6.00.0155 a1626c77e432faa66059215041faf6c8 DC-STORAGE-VSA-1 VSA-1 DC-1 ZBXTRAP 10.90.205.15 lhnNsmNotificationService
How to write trigger which catches every snmp trap?
This example finds only first trap in the sequence.
{Template SNMP traps:snmptrap["lhnNsmNotification"].nodata(1s)}=0
12:52:46 An event for a system service was generated. 'SNMP' server 'Normal'. (E02020200) 07 E0 0A 0C 11 CC 30 00 BB 00 00 EID_SERVER_NORMAL 2 DL1B5-VSA-2 10.90.205.15 00:1F
D:A5:0A:01 HP StoreVirtual VSA 2014 (Hyper-V) Virtual Machine 0 12.6.00.0155.0 12.6.00.0155 a1626c77e432faa66059215041faf6c8 DC-STORAGE-VSA-1 VSA-1 DC-1 ZBXTRAP 10.90.205.15 lhnNsmNotificationService12:52:47 An event for a system service was generated. 'SNMP' server 'Normal'. (E02020200) 07 E0 0A 0C 11 CC 30 00 BB 00 00 EID_SERVER_NORMAL 2 DL1B5-VSA-2 10.90.205.15 00:1F
D:A5:0A:01 HP StoreVirtual VSA 2014 (Hyper-V) Virtual Machine 0 12.6.00.0155.0 12.6.00.0155 a1626c77e432faa66059215041faf6c8 DC-STORAGE-VSA-1 VSA-1 DC-1 ZBXTRAP 10.90.205.15 lhnNsmNotificationService12:52:48 An event for a system service was generated. 'SNMP' server 'Normal'. (E02020200) 07 E0 0A 0C 11 CC 30 00 BB 00 00 EID_SERVER_NORMAL 2 DL1B5-VSA-2 10.90.205.15 00:1F
D:A5:0A:01 HP StoreVirtual VSA 2014 (Hyper-V) Virtual Machine 0 12.6.00.0155.0 12.6.00.0155 a1626c77e432faa66059215041faf6c8 DC-STORAGE-VSA-1 VSA-1 DC-1 ZBXTRAP 10.90.205.15 lhnNsmNotificationService