MS SQL Database configuration issues

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
HAL
Posts: 151
Joined: Thu Sep 27, 2012 7:57 am

Re: MS SQL Database configuration issues

Post by HAL »

Is it an Issue with this path? should this be changed?
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: MS SQL Database configuration issues

Post by scottwilkerson »

You might want to change that in the first line of the script. As it doesn't appear to be loading this as a python script...
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
HAL
Posts: 151
Joined: Thu Sep 27, 2012 7:57 am

Re: MS SQL Database configuration issues

Post by HAL »

I have chnaged the command line to say python at the beginning. However when we run a command other than connection time we see a message reading "CRITICAL: Can access the server but cannot query". our DB admin has confirmed that the user had rights to query and they can do so on DB console.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: MS SQL Database configuration issues

Post by scottwilkerson »

Just to verify, are you using Windows Authentication or SQL Authentication?

The reason I ask is that this plugin requires using a SQL account and will not work with Windows Authentication.

If you are using SQL authentication you need to make sure the user has select access on the master database.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
HAL
Posts: 151
Joined: Thu Sep 27, 2012 7:57 am

Re: MS SQL Database configuration issues

Post by HAL »

Yes, we are using an SQL user account created specifically to access these SQL databases and has required rights to the connect to these databases.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: MS SQL Database configuration issues

Post by scottwilkerson »

HAL wrote:Yes, we are using an SQL user account created specifically to access these SQL databases and has required rights to the connect to these databases.
When you say "these databases" do you mean the master database?
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
HAL
Posts: 151
Joined: Thu Sep 27, 2012 7:57 am

Re: MS SQL Database configuration issues

Post by HAL »

yes, we mean the master database. We have run the plugin on different databases on different servers ending up with the same result.
HAL
Posts: 151
Joined: Thu Sep 27, 2012 7:57 am

Re: MS SQL Database configuration issues

Post by HAL »

Hi,
Any findings from the previous post?
Awaiting your response!
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: MS SQL Database configuration issues

Post by scottwilkerson »

Is this an instance based system or just running on port 1433?
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
HAL
Posts: 151
Joined: Thu Sep 27, 2012 7:57 am

Re: MS SQL Database configuration issues

Post by HAL »

I think its port based running on 1433
Locked