The wiki is in the process of being deprecated and migrated to other supports.

Difference between revisions of "Ticket generator Availability Reliability"

From EGIWiki
Jump to navigation Jump to search
(Created page with "= How to use ticket generator = current version of the script: 3.0 features: *bulk child ticket creation *'assigned to' set *'affected site' set *'type of problem' set t...")
 
(No difference)

Revision as of 16:11, 7 December 2012

How to use ticket generator

current version of the script: 3.0

features:

  • bulk child ticket creation
  • 'assigned to' set
  • 'affected site' set
  • 'type of problem' set to Operations



  • Configure the script.

In start-explanations.pl/start-suspend.pl file at the beginning of the script you have to fill in following variable:

# PRODUCTION
my $endpoint = "https://gusiwr.fzk.de/arsys/services/ARService?server=gusiwr&webService=Grid_HelpDesk";
my $user = ""; # login to GGUS web-services
my $pass = ""; # password to GGUS web-services

# Submitter data, Those data will be used as submitter's data to create tickets
my $Mail = ""; # your email address
my $DN = "";   # your DN
my $Name = ""; # Name and Surname


  • Prepare input file.

The input plain file format for both scripts is as follow:

ROC/NGI support unit in GGUS; Site name; Availability; Reliability;

Remember that in each line should be one site and the number of semicolons should be always 4. For start-suspend.pl script Availability and Reliability values are omitted but semicolons are necessary.

example:

NGI_PL; CYFRONET_LCG2; 50%; 10%;
NGI_PL; IFJ-PAN; 15%; 3%;
  • Execute the tool

Login to machine with perl installed and execute the script as follow:

perl start-explanations.pl/start-suspend.pl PARENT_TICKET_ID "DATE" FILE_NAME

PARENT_TICKET_ID - number of "Availability/reliability statistics for *" ticket

DATE - date of the report. Format: "month year"

FILE_NAME - file with input availability/reliability data

example:

  perl start-explanations.pl 4121 "May 2010" dane.txt