Difference between revisions of "Public.ifservices (table)"

From dbscript Online Help
Jump to: navigation, search
Line 20: Line 20:
 
|-
 
|-
 
| id
 
| id
|  
+
| integer
 
| not null
 
| not null
 
| nextval('opennmsnxtid'::regclass)
 
| nextval('opennmsnxtid'::regclass)
Line 27: Line 27:
 
|-
 
|-
 
| nodeid
 
| nodeid
|  
+
| integer
 
| not null
 
| not null
 
|  
 
|  
Line 34: Line 34:
 
|-
 
|-
 
| ipaddr
 
| ipaddr
|  
+
| varchar(16)
 
| not null
 
| not null
 
|  
 
|  
Line 41: Line 41:
 
|-
 
|-
 
| ifindex
 
| ifindex
|  
+
| integer
 
| null
 
| null
 
|  
 
|  
Line 48: Line 48:
 
|-
 
|-
 
| serviceid
 
| serviceid
|  
+
| integer
 
| not null
 
| not null
 
|  
 
|  
Line 55: Line 55:
 
|-
 
|-
 
| lastgood
 
| lastgood
|  
+
| timestamp with time zone
 
| null
 
| null
 
|  
 
|  
Line 62: Line 62:
 
|-
 
|-
 
| lastfail
 
| lastfail
|  
+
| timestamp with time zone
 
| null
 
| null
 
|  
 
|  
Line 69: Line 69:
 
|-
 
|-
 
| qualifier
 
| qualifier
|  
+
| char(16)
 
| null
 
| null
 
|  
 
|  
Line 76: Line 76:
 
|-
 
|-
 
| status
 
| status
|  
+
| char(1)
 
| null
 
| null
 
|  
 
|  
Line 83: Line 83:
 
|-
 
|-
 
| source
 
| source
|  
+
| char(1)
 
| null
 
| null
 
|  
 
|  
Line 90: Line 90:
 
|-
 
|-
 
| notify
 
| notify
|  
+
| char(1)
 
| null
 
| null
 
|  
 
|  
Line 97: Line 97:
 
|-
 
|-
 
| ipinterfaceid
 
| ipinterfaceid
|  
+
| integer
 
| not null
 
| not null
 
|  
 
|  

Revision as of 14:43, 7 August 2009

wikibot

Table public.ifservices


Column Data Type Nullable Default PK Index
id integer not null nextval('opennmsnxtid'::regclass) ifservices_pkey
nodeid integer not null ifservices_nodeid_ipaddr_svc_uniqueifservices_nodeid_ipaddr_statusifservices_nodeid_statusifservices_nodeid_idxifservices_nodeid_serviceid_idx
ipaddr varchar(16) not null ifservices_nodeid_ipaddr_svc_uniqueifservices_nodeid_ipaddr_status
ifindex integer null
serviceid integer not null ifservices_nodeid_ipaddr_svc_uniqueifservices_serviceid_idxifservices_nodeid_serviceid_idx
lastgood timestamp with time zone null
lastfail timestamp with time zone null
qualifier char(16) null
status char(1) null ifservices_nodeid_ipaddr_statusifservices_nodeid_status
source char(1) null
notify char(1) null
ipinterfaceid integer not null ifservicves_ipinterfaceid_idx


Relation Column Referenced Column
public.node nodeid nodeid
public.service serviceid serviceid
public.ipinterface ipinterfaceid id


Detail Table Column Referencing Column
public.outages nodeid nodeid
public.outages nodeid nodeid
public.outages nodeid nodeid
public.outages id ifserviceid
public.application_service_map id ifserviceid
public.location_specific_status_changes id ifserviceid


Triggers Type Function
setipinterfacekeysoninserttrigger ROWBEFORE INSERT setipinterfacekeysoninsert
setipinterfacekeysonupdatetrigger ROWBEFORE UPDATE setipinterfacekeysonupdate