AgentStatusWatcher - dmwm/WMCore GitHub Wiki

AgentStatusWatch has following funtionalities

  1. Retrieves Agents status (Component/Thread errors, disk usage, proxy expiration) and report to WMStats)
  2. Collect overview of total jobs status in Agent and report to WMStats
  3. Monitor site status and threshold from SSB and update resource control data in WMBS accordingly. (considering how many agent is in active status)
  4. Control the draining procedure and monitor drain conditions and update to ReqMgrAux db.

There are 3 threads handling above functions.

  • AgentStatusPoller #1, #2
  • ResourceControlUpdater #3
  • DrainStatusPoller #4