Corrected unit of snmp based harware disk and memory meters
The unit of following hardware disk and memory meters is KiloBytes rather than Bytes hardware.disk.size.total hardware.disk.size.used hardware.memory.total hardware.memory.used hardware.memory.buffer hardware.memory.cached hardware.memory.swap.total hardware.memory.swap.avail DocImpact Change-Id: I83680c3aa45e34ac2a4a0e7174a8072cd32bcdac Closes-Bug: #1479491
This commit is contained in:
parent
12429d058b
commit
024ace9916
@ -35,7 +35,7 @@ class _Base(plugin.HardwarePollster):
|
||||
return util.make_sample_from_host(host,
|
||||
name=self.IDENTIFIER,
|
||||
sample_type=sample.TYPE_GAUGE,
|
||||
unit='B',
|
||||
unit='KB',
|
||||
volume=value,
|
||||
res_metadata=metadata,
|
||||
extra=extra,
|
||||
|
@ -32,7 +32,7 @@ class _Base(plugin.HardwarePollster):
|
||||
return util.make_sample_from_host(host,
|
||||
name=self.IDENTIFIER,
|
||||
sample_type=sample.TYPE_GAUGE,
|
||||
unit='B',
|
||||
unit='KB',
|
||||
volume=value,
|
||||
res_metadata=metadata,
|
||||
extra=extra)
|
||||
|
Loading…
Reference in New Issue
Block a user