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 ===
 
=== Columns ===
Line 15: Line 17:
 
| '''Default
 
| '''Default
 
| '''Description
 
| '''Description
 
+
|- valign="top"
+
|-
 
| id
 
| id
 
| integer
 
| integer
 
| not null
 
| not null
 +
| nextval('opennmsnxtid'::regclass)
 
|  
 
|  
|
+
|-
|- valign="top"
 
 
| nodeid
 
| nodeid
 
| integer
 
| integer
Line 28: Line 30:
 
|  
 
|  
 
|  
 
|  
|- valign="top"
+
|-
 
| ipaddr
 
| ipaddr
 
| varchar(16)
 
| varchar(16)
Line 34: Line 36:
 
|  
 
|  
 
|  
 
|  
|- valign="top"
+
|-
 
| ifindex
 
| ifindex
 
| integer
 
| integer
Line 40: Line 42:
 
|  
 
|  
 
|  
 
|  
|- valign="top"
+
|-
 
| serviceid
 
| serviceid
 
| integer
 
| integer
Line 46: Line 48:
 
|  
 
|  
 
|  
 
|  
|- valign="top"
+
|-
 
| lastgood
 
| lastgood
 
| timestamp with time zone
 
| timestamp with time zone
Line 52: Line 54:
 
|  
 
|  
 
|  
 
|  
|- valign="top"
+
|-
 
| lastfail
 
| lastfail
 
| timestamp with time zone
 
| timestamp with time zone
Line 58: Line 60:
 
|  
 
|  
 
|  
 
|  
|- valign="top"
+
|-
 
| qualifier
 
| qualifier
 
| char(16)
 
| char(16)
Line 64: Line 66:
 
|  
 
|  
 
|  
 
|  
|- valign="top"
+
|-
 
| status
 
| status
 
| char(1)
 
| char(1)
Line 70: Line 72:
 
|  
 
|  
 
|  
 
|  
|- valign="top"
+
|-
 
| source
 
| source
 
| char(1)
 
| char(1)
Line 76: Line 78:
 
|  
 
|  
 
|  
 
|  
|- valign="top"
+
|-
 
| notify
 
| notify
 
| char(1)
 
| char(1)
Line 82: Line 84:
 
|  
 
|  
 
|  
 
|  
|- valign="top"
+
|-
 
| ipinterfaceid
 
| ipinterfaceid
 
| integer
 
| integer
Line 95: Line 97:
 
| '''Primary Key
 
| '''Primary Key
 
| '''Columns
 
| '''Columns
|- valign="top"
+
|-
 
| ifservices_pkey
 
| ifservices_pkey
 
| id
 
| id
Line 106: Line 108:
 
| '''Type
 
| '''Type
 
| '''Columns
 
| '''Columns
 
+
|- valign="top"
+
|-
| ifservices_nodeid_idx
+
| ifservices_nodeid_ipaddr_svc_unique
 +
| Unique
 +
| nodeid, ipaddr, serviceid
 +
|-
 +
| ifservices_serviceid_idx
 
|  
 
|  
| nodeid
+
| serviceid
|- valign="top"
+
|-
 
| ifservices_nodeid_ipaddr_status
 
| ifservices_nodeid_ipaddr_status
 
|  
 
|  
 
| 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
 
| ifservices_nodeid_status
 
|  
 
|  
 
| nodeid, status
 
| nodeid, status
|- valign="top"
+
|-
| ifservices_serviceid_idx
 
|
 
| serviceid
 
|- valign="top"
 
 
| ifservicves_ipinterfaceid_idx
 
| ifservicves_ipinterfaceid_idx
 
|  
 
|  
 
| ipinterfaceid
 
| ipinterfaceid
 +
|-
 +
| ifservices_nodeid_idx
 +
|
 +
| nodeid
 +
|-
 +
| ifservices_nodeid_serviceid_idx
 +
|
 +
| nodeid, serviceid
 
|}
 
|}
  
Line 143: Line 145:
 
| '''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 164: Line 166:
 
| '''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
 
| ifserviceid
 
| ifserviceid
 
|}
 
|}
 +
  
 
=== Triggers ===
 
=== 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
 +
|}
 +
 +
=== Dependencies ===
 +
{| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse"
 +
|- style="background:silver"
 +
| '''Reference Type
 +
| '''Object Type
 +
| '''Referencing Object
 +
 +
|-
 +
| Select
 +
| Function
 +
| [[public.getmanagedoutageforintfinwindow_(function)|public.getmanagedoutageforintfinwindow]]
 +
 +
|-
 +
| Select
 +
| Function
 +
| [[public.getmanagedoutagefornodeinwindow_(function)|public.getmanagedoutagefornodeinwindow]]
 +
 +
|-
 +
| Select
 +
| Function
 +
| [[public.getmanagedservicecountforintf_(function)|public.getmanagedservicecountforintf]]
 +
 +
|-
 +
| Select
 +
| Function
 +
| [[public.getmanagedservicecountfornode_(function)|public.getmanagedservicecountfornode]]
 +
 +
|-
 +
| Select
 +
| Trigger Function
 +
| [[public.setifservicekeysoninsert_(trigger_function)|public.setifservicekeysoninsert]]
 +
 +
|-
 +
| Select
 +
| Trigger Function
 +
| [[public.setifservicekeysonupdate_(trigger_function)|public.setifservicekeysonupdate]]
 +
 
|}
 
|}

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)