Merge "Trivial fix typos"
This commit is contained in:
commit
77d4ed080e
@ -142,7 +142,7 @@ class Collector(util.Dimensions):
|
||||
def run_single_check(self, check):
|
||||
"""Run a single check
|
||||
|
||||
returns number of measurement collected, colleciton time
|
||||
returns number of measurement collected, collection time
|
||||
"""
|
||||
|
||||
sub_timer = util.Timer()
|
||||
|
@ -756,7 +756,7 @@ class LibvirtCheck(AgentCheck):
|
||||
if self.init_config.get('vm_network_check_enable'):
|
||||
self._inspect_network(insp, inst, inst_name, instance_cache, metric_cache, dims_customer, dims_operations)
|
||||
|
||||
# Memory utilizaion
|
||||
# Memory utilization
|
||||
# (req. balloon driver; Linux kernel param CONFIG_VIRTIO_BALLOON)
|
||||
try:
|
||||
mem_stats = inst.memoryStats()
|
||||
|
@ -29,7 +29,7 @@ metadata = ['scale_group']
|
||||
# Include scale group dimension for customer metrics.
|
||||
customer_metadata = ['scale_group']
|
||||
# List 'ping' commands (paths and parameters) in order of preference.
|
||||
# The plugin will use the first fuctional command. 127.0.0.1 will be appended.
|
||||
# The plugin will use the first functional command. 127.0.0.1 will be appended.
|
||||
ping_options = [["/usr/bin/fping", "-n", "-c1", "-t250", "-q"],
|
||||
["/sbin/fping", "-n", "-c1", "-t250", "-q"],
|
||||
["/bin/ping", "-n", "-c1", "-w1", "-q"],
|
||||
@ -54,7 +54,7 @@ class Libvirt(Plugin):
|
||||
def _detect(self):
|
||||
"""Set self.available True if the process and config file are detected
|
||||
"""
|
||||
# Detect Agent's OS username by getting the group owner of confg file
|
||||
# Detect Agent's OS username by getting the group owner of config file
|
||||
try:
|
||||
gid = os.stat('/etc/monasca/agent/agent.yaml').st_gid
|
||||
self.agent_user = grp.getgrgid(gid)[0]
|
||||
|
Loading…
Reference in New Issue
Block a user