Skip to content

MonitoringSitesAgent

hamar edited this page Jun 14, 2011 · 1 revision

Monitoring Sites Agent

Description

This Agent can be used to submit a simple user job for each site available in Dirac resources.

Functions

Name of the function, input and output:

getAvailableSites(gridType): sites -List of available sites
submitMonitorJob(self,sites): jobDict - Dictionary of Sites and JobIDs submitted
sendEmail(self,jobDict):

Configuration Parameters

In the CS is required to made the following changes:

Configuration -> Systems -> WorkloadManagement -> Agents

MonitoringSitesAgent
  # Each many time the Agent is going to be executed
  PollingTime = 86400
  # GridType correspond to the prefix used to describe the sites, used to be LCG.
  GrydType = EELA
  # E-mail address to send the e-mail with the agent execution summary
  MailTo = hamar@cppm.in2p3.fr
  # E-mail address to be used to send the e-mail
  MailFrom = dirac@dirac.eela.if.ufrj.br

In Operations section:

Operations -> Shifter
  MonitoringSitesManager
    # User used to submit the jobs
    User = vhamar
    # Group of the user to submit the job
    Group = eela_user

Clone this wiki locally