Alert.png The wiki is deprecated and due to be decommissioned by the end of September 2022.
The content is being migrated to other supports, new updates will be ignored and lost.
If needed you can get in touch with EGI SDIS team using operations @ egi.eu.

Difference between revisions of "GOCDB/PI/get downtime to broadcast method"

From EGIWiki
< GOCDB‎ | PI
Jump to navigation Jump to search
Line 2: Line 2:
{{Template:Tools menubar}}
{{Template:Tools menubar}}
{{TOC_right}}
{{TOC_right}}
[[Category:GOCDB]]
== Method: get_downtime_to_broadcast ==
== Method: get_downtime_to_broadcast ==



Revision as of 15:07, 15 October 2012

Main EGI.eu operations services Support Documentation Tools Activities Performance Technology Catch-all Services Resource Allocation Security


Tools menu: Main page Instructions for developers AAI Proxy Accounting Portal Accounting Repository AppDB ARGO GGUS GOCDB
Message brokers Licenses OTAGs Operations Portal Perun EGI Collaboration tools LToS EGI Workload Manager


Method: get_downtime_to_broadcast

Description Returns the list of downtimes recently declared with notification settings for CIC portal downtime notification service
Protection Level Protected (level 2)

Entry point

https://goc.egi.eu/gocdbpi/private/?method=get_downtime_to_broadcast

parameters

parameter effect format/value(s) default example
interval Limit results to downtimes that have been inserted in the past interval days number 1 ?method=get_downtime_to_broadcast&interval=7
scope(=Local) Show only downtimes that affect service endpoints with the passed scope (Local is currently the only scope available) "Local" all ?method=get_downtime_to_broadcast&scope=Local

XML schema

https://goc.egi.eu/gocdbpi/private/?method=get_downtime_to_broadcast&output=xmlschema

Output Example

<?xml version="1.0"?>
<results>
 <DOWNTIME ID="57205437" PRIMARY_KEY="14101G0" CLASSIFICATION="SCHEDULED">
  <PRIMARY_KEY>14101G0</PRIMARY_KEY>
  <SITENAME>wuppertalprod</SITENAME>
  <HOSTNAME/>
  <SERVICE_TYPE/>
  <HOSTED_BY/>
  <SEVERITY>OUTAGE</SEVERITY>
  <DESCRIPTION>dCache upgrade</DESCRIPTION>
  <GOCDB_PORTAL_URL>
   https://next.gocdb.eu/portal/index.php?Page_Type=View_Object&object_id=1133&grid_id=0
  </GOCDB_PORTAL_URL>
  <INSERT_DATE>1263908942</INSERT_DATE>
  <START_DATE>1264154400</START_DATE>
  <END_DATE>1264158000</END_DATE>
  <REMINDER_START_DOWNTIME>3155760000</REMINDER_START_DOWNTIME>
  <BROADCASTING_START_DOWNTIME/>
 </DOWNTIME>
</results>


Back to GOCDB technical Documentation main page