Difine new alert type snmp_trap. Add ability to trigger snmp_trap from C.

This commit is contained in:
Alfredo Cardigliano 2024-07-25 08:16:33 +00:00
parent 0ee5f38faf
commit 47e293b2df
6 changed files with 90 additions and 2 deletions

View file

@ -46,7 +46,7 @@ local other_alert_keys = {
alert_notused_1 = OTHER_BASE_KEY + 33,
alert_snmp_device_reset = OTHER_BASE_KEY + 34,
alert_snmp_topology_changed = OTHER_BASE_KEY + 35,
alert_suspicious_activity = OTHER_BASE_KEY + 36, -- No longer used
alert_snmp_trap = OTHER_BASE_KEY + 36,
alert_tcp_syn_flood = OTHER_BASE_KEY + 37, -- No longer used, check alert_tcp_syn_flood_attacker and alert_tcp_syn_flood_victim
alert_tcp_syn_scan = OTHER_BASE_KEY + 38, -- No longer used, check alert_tcp_syn_scan_attacker and alert_tcp_syn_scan_victim
alert_test_failed = OTHER_BASE_KEY + 39,