Skip to content
This repository has been archived by the owner on Sep 12, 2024. It is now read-only.

gwmsmon dependency

Sharad Agarwal edited this page May 28, 2020 · 14 revisions
  1. https://cms-gwmsmon.cern.ch/poolview/json/totals

site name, OS, SINGULARITY, MaxCpus, MaxMemMB

The json goes to dictionary gwmsmon_totals which is used by the function fetch_glidein_info in utils.py. The fetch_glidein_info function is called inside siteInfo class.

  1. https://cms-gwmsmon.cern.ch/poolview/json/summary

Name, TotalRunningJobs, TotalRunningCpus, MaxJobsRunning, TotalIdleJobs, TotalIdleCpus, Status

The json goes to dictionary gwmsmon_pool which is used by the function poll. The function is used in utils.py for agent status and putting agents in and out of drain.

  1. http://cmsgwms-frontend-global.cern.ch/vofrontend/stage/mcore_siteinfo.json

has only site names that are used

The json goes to the list mcore_ready in utils.py which is used by siteInfo class and the getSiteWhiteList function in utils.py. It is the list of sites which are ready for multicore.

  1. https://cms-gwmsmon.cern.ch/prodview//json/site_summary

CpusInUse, CpusPending

The json goes to the dictionary 'gwmsmon_prod_site_summary' in utils.py. This dictionary is used by fetch_glidein_info to check the site pressure.

  1. http://cms-gwmsmon.cern.ch/totalview//json/site_summary

not used anymore https://github.com/CMSCompOps/WmAgentScripts/pull/567 remove this call from unified.

  1. http://cms-gwmsmon.cern.ch/prodview//json/maxusedcpus

sixdays of every site

The six days of every site is used from the dictionary gwmsmon_prod_maxused which is called in fetch_glidein_info function. This is used for site pledge and pressure calculations.

  1. http://cms-gwmsmon.cern.ch/prodview/json/T2_CH_CERN_HLT

HLT prod view used in equalizor

  1. http://cms-gwmsmon.cern.ch/prodview/json/historynew/highio720/%task

Checking high I/O. Used in equalizor

  1. http://cms-gwmsmon.cern.ch/prodview/json/historynew/memorycpu720/%s/success

Checking memory/cpu usage of a task. Used in equalizor

  1. http://cms-gwmsmon.cern.ch/prodview/json/historynew/percentileruntime720/%s

Checking run time for the task. Used in equalizor

we also use , http://cms-gwmsmon.cern.ch/prodview/json/%s/summary for a lot of requests from the system. The function(def getGlideMon) is here - https://github.com/CMSCompOps/WmAgentScripts/blob/master/utils.py#L7170 which is being used by the equalizor module. https://github.com/CMSCompOps/WmAgentScripts/blob/master/Unified/equalizor.py

Clone this wiki locally