wernerfred / check_synology

This plugin will check a lot of different values on your Synology DiskStation.
MIT License
17 stars 25 forks source link

Update performance data unit of measure #61

Open dropthemic opened 3 months ago

dropthemic commented 3 months ago

The performance data has the wrong unit, all are marked as "c" which is a continuous counter. Per Nagios guidelines, load averages should have no unit, and memory/storage should be in KB/GB/B units.

When using pnp4nagios, the graphs are incorrectly rendered with the continuous counter UOM, this patch fixes the issue.

Sample perf data before change: ...| /volume1=4998c /volume2=2211c

After change: ...|/volume1=4998GB /volume2=2211GB