Previous topic

agis-list-panda-queues

Next topic

agis-list-rc

agis-list-downtimes

class agis.cli.list_downtimes.ListDowntimes

Retrieve information about past, ongoing, scheduled downtimes of ATLAS sites: agis-list-downtimes tool.

Author :Alexey Anisenkov
Contact :anisyonk@cern.ch
Program:agis-list-downtimes
Version:$Id: list_downtimes.py 595 2012-06-11 08:50:05Z anisyonk $

Description:

Lists downtimes of ATLAS sites stored in the AGIS system.

How to run:

$ agis-list-downtimes --help

Options:

--version

show program’s version number and exit

-h, --help

show this help message and exit

--server <host:port>

AGIS service endpoint to use, hostname:port

-c <cloud>, --cloud <cloud>

Filter by cloud name or alias

-s <site>, --site <site>

Filter by ATLAS site name

--rc_site <rc_site>

Filter by RegCenter site name

-t <tier_level>, --tier_level <tier_level>

Filter by tier level value [0-3]

--severity <severity>

Filter by case-insensitive severity value

--state <state>

Filter by state value, possible values=[‘ACTIVE’, ‘DISABLED’]

--bstart_time <start_time>

String in format YYYY-MM-DD [HH:MM:ss]: list downtimes with the beginning time not earlier than start_time

--bend_time <end_time>

String in format YYYY-MM-DD [HH:MM:ss]:List downtimes with the beginning time not later than end_time

--ongoing_time <2013-10-11 15:40:13>

String in format YYYY-MM-DD [HH:MM:ss]: Filter by downtimes valid on given ongoing time, by default use current time

--show <ongoing>

Show downtimes: past, current, from now on, future or all, ignored if other time parameters given. By default shown ongoing downtimes only, possible values=[‘all’, ‘past’, ‘ongoing’, ‘henceforward’, ‘future’]

--groupby <site>

the parameter specified for what data key apply grouping, possible values: site, ddmsite, by default, groupby=site (ATLAS site name)

--show-services

if specified then additional line with the list of affected service endpoints added to the output

--output <key1,key2,key3>
Comma separated list of output key columns to be printed, possible values=[‘id’, ‘site’, ‘start_time’, ‘end_time’, ‘severity’, ‘classification’, ‘affected_services’, ‘description’, ‘last_modified’, ‘state’, ‘state_comment’, ‘state_update’],

default=’groupby,site,start_time,end_time,severity,classification,affected_services,description’