Trivial fix typos

Change-Id: I0525ee88d8796c4cf369720c7130874eba42fa10
This commit is contained in:
Vu Cong Tuan 2017-06-01 08:08:24 +07:00
parent 81478dd72a
commit 781fb460c7
3 changed files with 4 additions and 4 deletions

View File

@ -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()

View File

@ -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()

View File

@ -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"]]
@ -53,7 +53,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]