Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Topics - vbolshakov

#1
Создании БД останавливается вот на этих строках:

INSERT INTO snmp_trap_cfg (trap_id,snmp_oid,event_code,description)
   VALUES (1,'.1.3.6.1.6.3.1.1.5.1',501,'Generic coldStart trap');
INSERT INTO snmp_trap_cfg (trap_id,snmp_oid,event_code,description)
   VALUES (2,'.1.3.6.1.6.3.1.1.5.2',502,'Generic warmStart trap');
INSERT INTO snmp_trap_cfg (trap_id,snmp_oid,event_code,description)
   VALUES (3,'.1.3.6.1.6.3.1.1.5.3',503,'Generic linkDown trap');
INSERT INTO snmp_trap_cfg (trap_id,snmp_oid,event_code,description)
   VALUES (4,'.1.3.6.1.6.3.1.1.5.4',504,'Generic linkUp trap');
INSERT INTO snmp_trap_cfg (trap_id,snmp_oid,event_code,description)
   VALUES (5,'.1.3.6.1.6.3.1.1.5.5',505,'Generic authenticationFailure trap');
INSERT INTO snmp_trap_cfg (trap_id,snmp_oid,event_code,description)
   VALUES (6,'.1.3.6.1.6.3.1.1.5.6',506,'Generic egpNeighborLoss trap');
INSERT INTO snmp_trap_pmap (trap_id,parameter,snmp_oid,description)
   VALUES (3,1,'.1.3.6.1.2.1.2.2.1.1','Interface index');
INSERT INTO snmp_trap_pmap (trap_id,parameter,snmp_oid,description)
   VALUES (4,1,'.1.3.6.1.2.1.2.2.1.1','Interface index');

Насколько я понимаю причина в
CREATE TABLE snmp_trap_cfg
(
trap_id integer not null,
snmp_oid varchar(255) not null,
event_code integer not null,
user_tag varchar(63) not null,
description varchar(255),
PRIMARY KEY(trap_id)
) ;