Added more logging messages
This commit is contained in:
parent
a5431054e8
commit
5bc484f75c
@ -278,8 +278,11 @@ def execute(config, state):
|
||||
state['hostname'],
|
||||
host_cpu_mhz)
|
||||
if log.isEnabledFor(logging.DEBUG):
|
||||
log.debug('Collected new data: %s', str(cpu_mhz))
|
||||
log.debug('Collected VM data: %s', str(cpu_mhz))
|
||||
log.debug('Overall host utilization: %s', str(host_cpu_mhz / state['physical_cpu_mhz']))
|
||||
log.debug('Collected host CPU MHz: %s', str(host_cpu_mhz))
|
||||
log.debug('Collected VM CPU MHz: %s', str(sum(cpu_mhz.values())))
|
||||
log.debug('Collected host - VMs CPU MHz: %s', str(host_cpu_mhz - sum(cpu_mhz.values())))
|
||||
|
||||
state['previous_overload'] = log_host_overload(
|
||||
state['db'],
|
||||
|
Loading…
x
Reference in New Issue
Block a user