use check_nt with COUNTER convert kb to gb
Posted: Tue Nov 15, 2016 3:17 am
We are using a check to monitor the temdb file size with check_nt
./check_nt -H $HOSTADDRESS$ -p 12489 -v COUNTER -l "\\SQLServer:Databases(tempdb)\Data File(s) Size (KB)","%f"
but we would like to display the file size in GB instead of KB. With this check we always get a kb file size back. Is there a simple way to still use the check_nt check and display (UOM) in GB? Or is there a document we can use (we already checked ./check_nt --help)
Thanks in advance!
./check_nt -H $HOSTADDRESS$ -p 12489 -v COUNTER -l "\\SQLServer:Databases(tempdb)\Data File(s) Size (KB)","%f"
but we would like to display the file size in GB instead of KB. With this check we always get a kb file size back. Is there a simple way to still use the check_nt check and display (UOM) in GB? Or is there a document we can use (we already checked ./check_nt --help)
Thanks in advance!