Bug 629912

Summary: Doc: How to Adjust update rate on slot utilization graph in Cumin
Product: Red Hat Enterprise MRG Reporter: Jan Sarenik <jsarenik>
Component: Management_Console_Installation_GuideAssignee: Alison Young <alyoung>
Status: CLOSED CURRENTRELEASE QA Contact: ecs-bugs
Severity: medium Docs Contact:
Priority: low    
Version: 1.0CC: iboverma, jneedle, jross, lbrindle, matt, tstclair
Target Milestone: 2.1Keywords: Documentation, FutureFeature
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-01-26 19:30:18 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 733205, 738875    
Bug Blocks:    
Deadline: 2011-09-30   

Description Jan Sarenik 2010-09-03 09:14:27 UTC
Maybe this is an RFE, but I would like to see more frequent
updates to my Grid graph in Cumin and changing this value
does not help at all...

condor-qmf-7.4.4-0.10.el5

How reproducible: 100%

Steps to Reproduce:
1. echo "QMF_UPDATE_INTERVAL = 10" > /etc/condor/config.d/50-QMFjasan.config
2. service condor restart
3. look at Cumin's Grid graphs and see they get updated only once in 15 mins
  
Actual results: Graphs are updated merely every 15 minutes.

Expected results: The interval should be easily settable and it should
  provide an obvious change immediately after restarting Condor.

Additional info:
   There is no documentation, no mention of this config option anywhere
   in the current source tree. What is the unit? Minutes? Seconds?

~/grid.git$ grep -r QMF_UPDATE_INTERVAL * | cut -d: -f1
src/management/MgmtStartdPlugin.cpp
src/management/MgmtCollectorPlugin.cpp
src/management/MgmtNegotiatorPlugin.cpp
src/management/MgmtMasterPlugin.cpp
src/management/MgmtScheddPlugin.cpp
src/condor_triggerd/Triggerd.cpp
src/condor_job_server/job_server_main.cpp

Comment 1 Matthew Farrellee 2010-09-07 11:34:43 UTC
The graph of slot utilization is controlled by how often the Collector advertises new information. The QMF_UPDATE_INTERVAL controls how often new information will be published.

collector.cpp:	int i = param_integer("COLLECTOR_UPDATE_INTERVAL",900); // default 15 min

The Collector only updates information every 15 minutes.

If you want to see more samples in the slot utilization graph, change the COLLECTOR_UPDATE_INTERVAL.

We can take this as an RFE for better documentation of this fact and potentially as something that is adjustable from the Admin view of the console.

Comment 4 Matthew Farrellee 2011-10-03 11:50:00 UTC
FAQ -

Q: How can I make the "Grid -> Overview, Host info" graph update more frequently?

A: The data comes from the Collector and is controlled by the COLLECTOR_UPDATE_INTERVAL, defaulting to 300 seconds (15 minutes). Set it to a smaller value, such as 30, on the nodes where the condor_collector is running.

Comment 11 Lana Brindley 2012-01-26 19:30:18 UTC
This book is now available on redhat.com/docs. Please raise a new bug if you spot any issues.

Thanks,
LKB