check_mssql could not connect
Posted: Fri Sep 16, 2016 8:05 am
Hi Nagios Support Team,
We are using 5.2.2.
We are trying to use the check_mssql plugin to run some basic query against one of our databases. With the username and password (its a service account) we can successfully run the query from the server. However, when we use the plugin from the Nagios server we get this issue:
CRITICAL: Could not connect to x.x.x.x as domain\username
The syntax is:
./check_mssql -H x.x.x.x --username domain\\username --password xxxxxx
As background:
I tried a different tool called 'tsql' (v7.x) from our Nagios Linux server. The syntax is:
tsql -S x.x.x.x -p 1433 -U domain\\username –P xxxxxxxxx -D our database
This tool replies back with output : "Login failed. The login is from untrusted domain and cannot be used with Windows authentication.
What am I missing?
Thank you.
We are using 5.2.2.
We are trying to use the check_mssql plugin to run some basic query against one of our databases. With the username and password (its a service account) we can successfully run the query from the server. However, when we use the plugin from the Nagios server we get this issue:
CRITICAL: Could not connect to x.x.x.x as domain\username
The syntax is:
./check_mssql -H x.x.x.x --username domain\\username --password xxxxxx
As background:
I tried a different tool called 'tsql' (v7.x) from our Nagios Linux server. The syntax is:
tsql -S x.x.x.x -p 1433 -U domain\\username –P xxxxxxxxx -D our database
This tool replies back with output : "Login failed. The login is from untrusted domain and cannot be used with Windows authentication.
What am I missing?
Thank you.