MS SQL Wizard

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Flava
Posts: 68
Joined: Wed Feb 01, 2012 10:06 am

Re: MS SQL Wizard

Post by Flava »

Domain authentication is not working at all, sql authentication works fine. Any other suggestions.
Thanks
yancy
Posts: 523
Joined: Thu Oct 06, 2011 10:12 am

Re: MS SQL Wizard

Post by yancy »

Can you try using mixed mode authentication on the MSSQL server instead of a windows user account.
sav2880
Posts: 60
Joined: Tue Mar 13, 2012 8:24 am

Re: MS SQL Wizard

Post by sav2880 »

yancy wrote:Can you try using mixed mode authentication on the MSSQL server instead of a windows user account.
I'm experiencing a similar issue and want to get a clarification here. I'm attempting to use a domain account to login, but have mixed mode authentication turned on ... are you saying in this case you'd like us to try a non-domain login with mixed mode turned on?
sav2880
Posts: 60
Joined: Tue Mar 13, 2012 8:24 am

Re: MS SQL Wizard

Post by sav2880 »

A little more to add to my own travails on this:

I took a look at the command for my particular attempt, it reads as this:

$USER1$/check_mssql_server.py $ARG1$

However, the SQL Wizard that I installed with 2011R1.9 (and upgraded subsequently to 2011R2.2) splits up the command between an $ARG1$ and a $ARG2$ section. If I do a copy/paste of the command and ARG1 at the command line, it brings up:

>

(Yeah, just that) ... so it makes sense that Nagios would interpret that as a null feedback. However, if I copy/paste the command AND $ARG1$ and $ARG2$, I once again get the CRITICAL:Unable to access SQL Server issue. That brings it back so something else I've read, that you have to give the domain account specific permissions. Can someone from Nagios verify what kind of permissions are required for an account to be able to get in and get these settings out of the server and/or database?

One additional tidbit from this sense ... the account I am using (we'll call it DOMAIN\SQLSERVICE) is a domain admin, which becomes a local admin via Local Users & Groups, and then becomes a overall sysadmin due to the inclusion of BUILTIN\Administrators in the sysadmin SQL security group. So, it's part of SQL Server through this nesting of permissions, maybe it has to be much more explicit than that. I did also find a thread on Experts Exchange about this, it's attached as a PDF.

Thanks!
You do not have the required permissions to view the files attached to this post.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: MS SQL Wizard

Post by scottwilkerson »

As far as I am aware you will need to use SQL Server Authentication to use these plugins.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Flava
Posts: 68
Joined: Wed Feb 01, 2012 10:06 am

Re: MS SQL Wizard

Post by Flava »

Is there a way around the SQL authentication? it is not practicle for configuring large number of servers. The plugin is usefull but poorly implemented, this should really be fixed as patch.
Thanks
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: MS SQL Wizard

Post by scottwilkerson »

Unfortunately at this time I am unaware of any plugins that can accomplish this with Windows authentication
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked