hi all,<br><br>I've got a question about the check_mssql plugin. I've got the plugin defined as so:<br><br># command 'check_mssql_db_online'<br>define command{<br> command_name check_mssql_db_online<br>
command_line $USER1$/check_mssql -H $HOSTALIAS$ -p $ARG1$ -U "$USER10$" -P "$USER11$" -D "$ARG2$" -o<br> }<br><br>USER10 = username<br>USER11 = password<br><br>This check is checking the status of the tempdb on an mssql server. The check is execute as:<br>
<br>check_mssql -H server1.domain.tld -p 1433 -U username -P password -D tempdb -o<br><br>When i run the command by hand on the commandline, it works fine.<br><br>When I test the command in the web UI, it works fine.<br>
<br>
When the check command runs on schedule, it fails with UNKNOWN state and a message saying the login failed.<br><br>how can i debug this to figure out why it fails when running on schedule, but works fine when running by hand...?<br>
<br>thx,<br><br>J<br>