Is there a way to alter the value presentation so for the below example it shows MB used instead of bytes?
Hi,
yes. By defining a specific template. The graph you currently get is generated by using a default template.
Take a look at the disk checks for example, if you have any. Or at the template for it: /usr/share/icingaweb2/modules/graphite/templates/disk.ini
From what I can see the temlate getting applied is “multi3-service” on this graph and also on partition space that is using the check command below:
But there is templates for Invoke-IcingaCheckMemory from what I can see… but it doesn’t seem to get applied:
multi3-service
is one of the default templates. It doesn’t know anything about the value’s unit. For this you need your own template as mentioned.
Invoke-IcingaCheckMemory
is identified using the check command, but no metrics were fetched. It looks for used_bytes
and memory_percent_used
. Take a look at the service’s performance data and check if those exist. Their names may differ though. Then try adjusting the template.