"Fossies" - the Fresh Open Source Software Archive

Member "netxms-3.8.166/sql/traps.in" (23 Feb 2021, 1589 Bytes) of package /linux/misc/netxms-3.8.166.tar.gz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 /*
    2 ** Default SNMP trap handling
    3 **
    4 ** ex: syntax=sql
    5 */
    6 
    7 INSERT INTO snmp_trap_cfg (guid,trap_id,snmp_oid,event_code,user_tag,description)
    8    VALUES ('5d01e7e5-edbb-46ce-b53c-f7f64d1bf8ff',1,'.1.3.6.1.6.3.1.1.5.1',EVENT_SNMP_COLD_START,'','Generic coldStart trap');
    9 INSERT INTO snmp_trap_cfg (guid,trap_id,snmp_oid,event_code,user_tag,description)
   10    VALUES ('c5464919-fd76-4624-9c21-b6ab73d9df80',2,'.1.3.6.1.6.3.1.1.5.2',EVENT_SNMP_WARM_START,'','Generic warmStart trap');
   11 INSERT INTO snmp_trap_cfg (guid,trap_id,snmp_oid,event_code,user_tag,description)
   12    VALUES ('44d3b32e-33c5-4a39-b2ad-990a1120155d',3,'.1.3.6.1.6.3.1.1.5.3',EVENT_SNMP_LINK_DOWN,'','Generic linkDown trap');
   13 INSERT INTO snmp_trap_cfg (guid,trap_id,snmp_oid,event_code,user_tag,description)
   14    VALUES ('c9660f48-a4b3-41c8-b3f9-e9a6a8129db5',4,'.1.3.6.1.6.3.1.1.5.4',EVENT_SNMP_LINK_UP,'','Generic linkUp trap');
   15 INSERT INTO snmp_trap_cfg (guid,trap_id,snmp_oid,event_code,user_tag,description)
   16    VALUES ('4b422ba6-4b45-4881-931a-ed38dc798f9f',5,'.1.3.6.1.6.3.1.1.5.5',EVENT_SNMP_AUTH_FAILURE,'','Generic authenticationFailure trap');
   17 INSERT INTO snmp_trap_cfg (guid,trap_id,snmp_oid,event_code,user_tag,description)
   18    VALUES ('bd8b6971-a3e4-4cad-9c70-3a33e61e0913',6,'.1.3.6.1.6.3.1.1.5.6',EVENT_SNMP_EGP_NL,'','Generic egpNeighborLoss trap');
   19 
   20 INSERT INTO snmp_trap_pmap (trap_id,parameter,flags,snmp_oid,description)
   21    VALUES (3,1,0,'.1.3.6.1.2.1.2.2.1.1','Interface index');
   22 INSERT INTO snmp_trap_pmap (trap_id,parameter,flags,snmp_oid,description)
   23    VALUES (4,1,0,'.1.3.6.1.2.1.2.2.1.1','Interface index');