icinga-powershell-plugins
icinga-powershell-plugins copied to clipboard
Invoke-IcingaCheckUptime: Uptime value in output should not be transformed/calculated
trafficstars
Hola!
Currently (v1.12.0) the output displays the uptime in transformed/calculated form:
> Invoke-IcingaCheckUptime
[OK] System Uptime: 1.72h
or
[OK] System Uptime: 13.12d
The examples from the documentation (https://github.com/Icinga/icinga-powershell-plugins/blob/master/doc/plugins/15-Invoke-IcingaCheckUptime.md#examples) show two different and (imo) better representations of the uptime:
"Windows Uptime: Days: 19 Hours: 13 Minutes: 48 Seconds: 29"
or my favorite:
System Uptime: 22d 16h 42m 35s
I'd like to request that the check reflects one of the outputs from the documentation.
The 1.72h(not 1h 72m ;-)) or 13.12d (not 13d 12h ;-)) are not that clear without also displaying the last boot time (via -Verbosity 2) and are a bit confusing in regard to the position after the decimal point.