summaryrefslogtreecommitdiffstats
path: root/create/postgresql/schema.sql
diff options
context:
space:
mode:
authorhugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2002-09-17 18:08:35 +0000
committerhugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2002-09-17 18:08:35 +0000
commit8873a253c6b17267e08477c9bfc5b8a9ddc72f1f (patch)
tree3169de1ea897a7df5a6b792e1b49ce8e942f4ef5 /create/postgresql/schema.sql
parentb07bb1aa2b0b93404940fc4921b6765c5e5c1d18 (diff)
downloadzabbix-8873a253c6b17267e08477c9bfc5b8a9ddc72f1f.tar.gz
zabbix-8873a253c6b17267e08477c9bfc5b8a9ddc72f1f.tar.xz
zabbix-8873a253c6b17267e08477c9bfc5b8a9ddc72f1f.zip
- status will be changed to UNCREACHABLE only in case of three network errors
(Alexei) - added column hosts.network_errors (Alexei) git-svn-id: svn://svn.zabbix.com/trunk@502 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'create/postgresql/schema.sql')
-rw-r--r--create/postgresql/schema.sql1
1 files changed, 1 insertions, 0 deletions
diff --git a/create/postgresql/schema.sql b/create/postgresql/schema.sql
index 8392ebe0..1822fa9f 100644
--- a/create/postgresql/schema.sql
+++ b/create/postgresql/schema.sql
@@ -12,6 +12,7 @@ CREATE TABLE hosts (
port int4 DEFAULT '0' NOT NULL,
status int4 DEFAULT '0' NOT NULL,
disable_until int4 DEFAULT '0' NOT NULL,
+ network_errors int4 DEFAULT '0' NOT NULL,
PRIMARY KEY (hostid)
);