check_mssql with a domain account

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
uidaho
Posts: 89
Joined: Tue Feb 12, 2013 11:58 am

check_mssql with a domain account

Post by uidaho »

Has anyone discovered how to use check_mssql with a domain account? I have tried variations of the username such as domain\user, domain\\user, in single quotes, double quotes, etc. The result is always "CRITICAL: Could not connect to <hostname> as <user>"

Thank you
David
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: check_mssql with a domain account

Post by abrist »

You cannot use a domain account with the check_mssql*.py plugins. They require actual database user login credentials.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
uidaho
Posts: 89
Joined: Tue Feb 12, 2013 11:58 am

Re: check_mssql with a domain account

Post by uidaho »

Do any of the XI mssql checks allow a domain account?
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: check_mssql with a domain account

Post by abrist »

Not as far as I know as none of the plugins include code for domain authentication. Instead, the plugins make a direct connection to the database instance/port/socket.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Locked