check_mssql_database gives type 'exceptions.ValueError' erro
Posted: Thu May 10, 2018 7:46 am
Hi,
I am hoping someone can help with this issue I having with the "check_xi_mssql_database" plugin. In CCM when I run the below command
When i run the check command in ccm it works fine and returns
I am hoping someone can help with this issue I having with the "check_xi_mssql_database" plugin. In CCM when I run the below command
Code: Select all
$USER1$/check_mssql_database.py -H $HOSTADDRESS$ $ARG1$
-U 'mylogin' -P '$mypassword' -T 'mydb' -p 1433 --datasize --warning 100000000 --critical 1000000000My problem is when I look at my services the status shows up as unknown and the status information is "<type 'exceptions.ValueError'>" . This happens for all commands that use this plugin. Some things to note, the commands return ok when running directly from commandline, also the my password has a $ in it, but if check command works I wouldnt think this would be an issue. Thanks for the help.OK: Database size is 1589248.0KB|KB=1589248.0;100000000;1000000000;;