EmailAgent

EmailAgent This agent reads a cache file ( cache.db ) which contains the aggregated information of what happened to the elements of each site. After reading the cache file ( by default every 30 minutes ) it sends an email for every site and then clears it.

class DIRAC.ResourceStatusSystem.Agent.EmailAgent.EmailAgent(*args, **kwargs)

Bases: DIRAC.Core.Base.AgentModule.AgentModule

am_Enabled()
am_checkStopAgentFile()
am_createStopAgentFile()
am_disableMonitoring()
am_getBasePath()
am_getControlDirectory()
am_getCyclesDone()
am_getMaxCycles()
am_getModuleParam(optionName)
am_getOption(optionName, defaultValue=None)
am_getPollingTime()
am_getShifterProxyLocation()
am_getStopAgentFile()
am_getWatchdogTime()
am_getWorkDirectory()
am_go()
am_initialize(*initArgs)
am_monitoringEnabled()
am_removeStopAgentFile()
am_secureCall(functor, args=(), name=False)
am_setModuleParam(optionName, value)
am_setOption(optionName, value)
am_stopExecution()
beginExecution()
endExecution()
execute()
finalize()
initialize()

EmailAgent initialization