I am attempting to work with !COUNTERS in check_NT. I am able receive a correct response when I query the system using CLI, however when importing the command into Nagios, it constantly shows 0 within Nagios. What am I doing wrong?
CLI that works:
./check_nt -H <Server IP> -p 12489 -v COUNTER -l "\\SQLServer:General Statistics\User Connections"
service_description SQL DB User Connections
check_command check_nt!COUNTER!-d SHOWALL -l "\\SQLServer:General Statistics\User Connections"