From dbscript Online Help
wikibot
Columns
| Column
|
Data Type
|
Nullable
|
Default
|
Description
|
| id
|
integer
|
not null
|
nextval('opennmsnxtid'::regclass)
|
|
| nodeid
|
integer
|
not null
|
|
|
| ipaddr
|
varchar(16)
|
not null
|
|
|
| ifindex
|
integer
|
null
|
|
|
| serviceid
|
integer
|
not null
|
|
|
| lastgood
|
timestamp with time zone
|
null
|
|
|
| lastfail
|
timestamp with time zone
|
null
|
|
|
| qualifier
|
char(16)
|
null
|
|
|
| status
|
char(1)
|
null
|
|
|
| source
|
char(1)
|
null
|
|
|
| notify
|
char(1)
|
null
|
|
|
| ipinterfaceid
|
integer
|
not null
|
|
|
Primary Key
| Primary Key
|
Columns
|
| ifservices_pkey
|
id
|
Indexes
| Index
|
Type
|
Columns
|
| ifservices_nodeid_ipaddr_svc_unique
|
Unique
|
nodeid, ipaddr, serviceid
|
| ifservices_serviceid_idx
|
|
serviceid
|
| ifservices_nodeid_ipaddr_status
|
|
nodeid, ipaddr, status
|
| ifservices_nodeid_status
|
|
nodeid, status
|
| ifservicves_ipinterfaceid_idx
|
|
ipinterfaceid
|
| ifservices_nodeid_idx
|
|
nodeid
|
| ifservices_nodeid_serviceid_idx
|
|
nodeid, serviceid
|
Foreign Keys
Detail Tables
Triggers
| Triggers
|
Type
|
Function
|
| setipinterfacekeysoninserttrigger
|
ROW BEFORE INSERT
|
setipinterfacekeysoninsert
|
| setipinterfacekeysonupdatetrigger
|
ROW BEFORE UPDATE
|
setipinterfacekeysonupdate
|
Dependencies