Editing Public.ifservices (table)

Jump to: navigation, search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 2: Line 2:
  
 
{| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse"
 
{| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse"
|- valign="top"
+
|-
 
| '''Table
 
| '''Table
 
| public.ifservices
 
| public.ifservices
 +
|-
 
|}
 
|}
  
=== Columns ===
+
 
 
{| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse"
 
{| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse"
 
|- style="background:silver"
 
|- style="background:silver"
Line 14: Line 15:
 
| '''Nullable
 
| '''Nullable
 
| '''Default
 
| '''Default
| '''Description
+
| '''PK
 
+
| '''Index
|- valign="top"
+
 +
|-
 
| id
 
| id
 
| integer
 
| integer
 
| not null
 
| not null
 +
| nextval('opennmsnxtid'::regclass)
 +
| ifservices_pkey
 
|  
 
|  
|
+
|-
|- valign="top"
 
 
| nodeid
 
| nodeid
 
| integer
 
| integer
Line 28: Line 31:
 
|  
 
|  
 
|  
 
|  
|- valign="top"
+
| ifservices_nodeid_ipaddr_svc_uniqueifservices_nodeid_ipaddr_statusifservices_nodeid_statusifservices_nodeid_idxifservices_nodeid_serviceid_idx
 +
|-
 
| ipaddr
 
| ipaddr
 
| varchar(16)
 
| varchar(16)
Line 34: Line 38:
 
|  
 
|  
 
|  
 
|  
|- valign="top"
+
| ifservices_nodeid_ipaddr_svc_uniqueifservices_nodeid_ipaddr_status
 +
|-
 
| ifindex
 
| ifindex
 
| integer
 
| integer
Line 40: Line 45:
 
|  
 
|  
 
|  
 
|  
|- valign="top"
+
|
 +
|-
 
| serviceid
 
| serviceid
 
| integer
 
| integer
Line 46: Line 52:
 
|  
 
|  
 
|  
 
|  
|- valign="top"
+
| ifservices_nodeid_ipaddr_svc_uniqueifservices_serviceid_idxifservices_nodeid_serviceid_idx
 +
|-
 
| lastgood
 
| lastgood
 
| timestamp with time zone
 
| timestamp with time zone
Line 52: Line 59:
 
|  
 
|  
 
|  
 
|  
|- valign="top"
+
|
 +
|-
 
| lastfail
 
| lastfail
 
| timestamp with time zone
 
| timestamp with time zone
Line 58: Line 66:
 
|  
 
|  
 
|  
 
|  
|- valign="top"
+
|
 +
|-
 
| qualifier
 
| qualifier
 
| char(16)
 
| char(16)
Line 64: Line 73:
 
|  
 
|  
 
|  
 
|  
|- valign="top"
+
|
 +
|-
 
| status
 
| status
 
| char(1)
 
| char(1)
Line 70: Line 80:
 
|  
 
|  
 
|  
 
|  
|- valign="top"
+
| ifservices_nodeid_ipaddr_statusifservices_nodeid_status
 +
|-
 
| source
 
| source
 
| char(1)
 
| char(1)
Line 76: Line 87:
 
|  
 
|  
 
|  
 
|  
|- valign="top"
+
|
 +
|-
 
| notify
 
| notify
 
| char(1)
 
| char(1)
Line 82: Line 94:
 
|  
 
|  
 
|  
 
|  
|- valign="top"
+
|
 +
|-
 
| ipinterfaceid
 
| ipinterfaceid
 
| integer
 
| integer
Line 88: Line 101:
 
|  
 
|  
 
|  
 
|  
 +
| ifservicves_ipinterfaceid_idx
 
|}
 
|}
  
=== Primary Key ===
 
{| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse"
 
|- style="background:silver"
 
| '''Primary Key
 
| '''Columns
 
|- valign="top"
 
| ifservices_pkey
 
| id
 
|}
 
  
=== Indexes ===
 
{| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse"
 
|- style="background:silver"
 
| '''Index
 
| '''Type
 
| '''Columns
 
  
|- valign="top"
 
| ifservices_nodeid_idx
 
|
 
| nodeid
 
|- valign="top"
 
| ifservices_nodeid_ipaddr_status
 
|
 
| nodeid, ipaddr, status
 
|- valign="top"
 
| ifservices_nodeid_ipaddr_svc_unique
 
|
 
| nodeid, ipaddr, serviceid
 
|- valign="top"
 
| ifservices_nodeid_serviceid_idx
 
|
 
| nodeid, serviceid
 
|- valign="top"
 
| ifservices_nodeid_status
 
|
 
| nodeid, status
 
|- valign="top"
 
| ifservices_serviceid_idx
 
|
 
| serviceid
 
|- valign="top"
 
| ifservicves_ipinterfaceid_idx
 
|
 
| ipinterfaceid
 
|}
 
 
=== Foreign Keys ===
 
 
{| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse"
 
{| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse"
 
|- style="background:silver"
 
|- style="background:silver"
Line 143: Line 111:
 
| '''Column
 
| '''Column
 
| '''Referenced Column
 
| '''Referenced Column
 
+
|- valign="top"
+
|-
 
| [[public.node_(table)|public.node]]
 
| [[public.node_(table)|public.node]]
 
| nodeid
 
| nodeid
 
| nodeid
 
| nodeid
|- valign="top"
+
|-
 
| [[public.service_(table)|public.service]]
 
| [[public.service_(table)|public.service]]
 
| serviceid
 
| serviceid
 
| serviceid
 
| serviceid
|- valign="top"
+
|-
 
| [[public.ipinterface_(table)|public.ipinterface]]
 
| [[public.ipinterface_(table)|public.ipinterface]]
 
| ipinterfaceid
 
| ipinterfaceid
Line 158: Line 126:
 
|}
 
|}
  
=== Detail Tables ===
+
 
 
{| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse"
 
{| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse"
 
|- style="background:silver"
 
|- style="background:silver"
Line 164: Line 132:
 
| '''Column
 
| '''Column
 
| '''Referencing Column
 
| '''Referencing Column
 
+
|- valign="top"
+
|-
 
| [[public.outages_(table)|public.outages]]
 
| [[public.outages_(table)|public.outages]]
 
| nodeid
 
| nodeid
 
| nodeid
 
| nodeid
|- valign="top"
+
|-
 
| [[public.outages_(table)|public.outages]]
 
| [[public.outages_(table)|public.outages]]
 
| nodeid
 
| nodeid
 
| nodeid
 
| nodeid
|- valign="top"
+
|-
 
| [[public.outages_(table)|public.outages]]
 
| [[public.outages_(table)|public.outages]]
 
| nodeid
 
| nodeid
 
| nodeid
 
| nodeid
|- valign="top"
+
|-
 
| [[public.outages_(table)|public.outages]]
 
| [[public.outages_(table)|public.outages]]
 
| id
 
| id
 
| ifserviceid
 
| ifserviceid
|- valign="top"
+
|-
 
| [[public.application_service_map_(table)|public.application_service_map]]
 
| [[public.application_service_map_(table)|public.application_service_map]]
 
| id
 
| id
 
| ifserviceid
 
| ifserviceid
|- valign="top"
+
|-
 
| [[public.location_specific_status_changes_(table)|public.location_specific_status_changes]]
 
| [[public.location_specific_status_changes_(table)|public.location_specific_status_changes]]
 
| id
 
| id
Line 191: Line 159:
 
|}
 
|}
  
=== Triggers ===
+
 
 
{| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse"
 
{| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse"
 
|- style="background:silver"
 
|- style="background:silver"
| '''Trigger
+
| '''Triggers
 
| '''Type
 
| '''Type
 
| '''Function
 
| '''Function
 
+
|- valign="top"
+
|-
 
| setipinterfacekeysoninserttrigger
 
| setipinterfacekeysoninserttrigger
| STATEMENT AFTER
+
| ROW BEFORE INSERT
 
| setipinterfacekeysoninsert
 
| setipinterfacekeysoninsert
|- valign="top"
+
|-
 
| setipinterfacekeysonupdatetrigger
 
| setipinterfacekeysonupdatetrigger
| STATEMENT AFTER
+
| ROW BEFORE UPDATE
 
| setipinterfacekeysonupdate
 
| setipinterfacekeysonupdate
 
|}
 
|}

Please note that all contributions to dbscript Online Help may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see Project:Copyrights for details). Do not submit copyrighted work without permission!

Cancel | Editing help (opens in new window)