I'm trying to put together a few check_nt performance monitor checks. I have the checks returning good data, but the units are not correct.
Here is one example
service_description SQL Server: Page Life Expectancy
check_command check_nt!COUNTER! -l "\\SQLServer:Buffer Manager\\page life expectancy","Page life expectancy: %.f" -w 1000 -c 350
This appears to return correct data, but the units are in percent. I have tried various syntax combinations (%%.f, %.f%, etc) without success.
Also, in the performance graphs the Label and Units appear as Page_life_expectancy __%.f. How can I fix this??