From 6d293ecc813b6ba31ec28ad4e78ab372c939fe30 Mon Sep 17 00:00:00 2001 From: hugetoad Date: Thu, 23 Jan 2003 21:26:33 +0000 Subject: - user-defined port number for SNMP requests (Alexei) git-svn-id: svn://svn.zabbix.com/trunk@662 97f52cf1-0a1b-0410-bd0e-c28be96e8082 --- create/postgresql/schema.sql | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'create/postgresql/schema.sql') diff --git a/create/postgresql/schema.sql b/create/postgresql/schema.sql index 672b8725..f024e836 100644 --- a/create/postgresql/schema.sql +++ b/create/postgresql/schema.sql @@ -45,9 +45,10 @@ CREATE UNIQUE INDEX hosts_host on hosts (host); CREATE TABLE items ( itemid serial, type int4 NOT NULL, - value_type int4 DEFAULT '0' NOT NULL, - snmp_community varchar(64) DEFAULT '' NOT NULL, - snmp_oid varchar(255) DEFAULT '' NOT NULL, + value_type int4 DEFAULT '0' NOT NULL, + snmp_community varchar(64) DEFAULT '' NOT NULL, + snmp_oid varchar(255) DEFAULT '' NOT NULL, + snmp_port int4 DEFAULT '161' NOT NULL, hostid int4 NOT NULL, description varchar(255) DEFAULT '' NOT NULL, key_ varchar(64) DEFAULT '' NOT NULL, -- cgit