We are currently evaluating Nagios XI with the intention to purchase, but we ran into the following issue when running the check_xi_mssql_database check command. Nagios should have sent
Code: Select all
/usr/local/Nagios/libexec/check_mssql_database.py –H (our internal sql IP) –U sa –P \$ocInfo1 –T TestTable –p 1433 –logtruncs –warning 1000 –critical 30
Code: Select all
/usr/local/Nagios/libexec/check_mssql_database.py –H (our internal sql IP) –U ‘sa’ –P ‘$ocInfo1’ –T ‘TestTable’ –p 1433 –logtruncs –warning 1000 –critical 30Code: Select all
/usr/local/Nagios/libexec/check_mssql_database.py –H (our internal sql IP) –U sa –P \\$ocInfo1 –T TestTable –p 1433 –logtruncs –warning 1000 –critical 30It seems that NagiosXI runs its escape routine over all of the text contained in the $ARG#$ variables even though it should not do so when within single quotes.
Can you please advise? Thanks!