Check Output Data Format
Posted: Wed Nov 20, 2019 4:56 pm
I have a check which returns numbers but I would like to format the number to an integer.
I'm not sure what I need to pass to the command to get the right formatting for integer output:
$USER1$/check_nt -H $HOSTADDRESS$ -p 12489 -v COUNTER -l "\\Server\\Errors Logon","Since last reboot","logon errors"
Is there documentation somewhere that shows the string formatting options? (%.2f etc)
Can somebody guide me to what I need to change in my check to get the correct formatting of the data output so I get integer output?
I'm not sure what I need to pass to the command to get the right formatting for integer output:
$USER1$/check_nt -H $HOSTADDRESS$ -p 12489 -v COUNTER -l "\\Server\\Errors Logon","Since last reboot","logon errors"
Is there documentation somewhere that shows the string formatting options? (%.2f etc)
Can somebody guide me to what I need to change in my check to get the correct formatting of the data output so I get integer output?