MSSQL Server Monitoring Wizard Configuration
-
wipro-cloud-services
- Posts: 58
- Joined: Thu Nov 11, 2010 4:42 am
MSSQL Server Monitoring Wizard Configuration
When i try to monitor DB with MSSQL Server Monitoring Wizard Configuration wizard, Status shows "Warning" and Status Information as "(null)". Please advice on the below queries.
Address - IP address of server ?
Instance - Hostname of server or IP address ?
Username and Password - SQL or Windows authentication credentials ?
Can you please advice.
Address - IP address of server ?
Instance - Hostname of server or IP address ?
Username and Password - SQL or Windows authentication credentials ?
Can you please advice.
Re: MSSQL Server Monitoring Wizard Configuration
Address - Yes, IP address of the server
Instance - If you don't know what this is, leave it blank. This is how the MSSQL hands off to different databases running on the same server. If you call the database something like MSSQLSERVER\TECH_SUPPORT. TECH_SUPPORT would be your instance name.
Username and Password - It must be SQL authentication.
Instance - If you don't know what this is, leave it blank. This is how the MSSQL hands off to different databases running on the same server. If you call the database something like MSSQLSERVER\TECH_SUPPORT. TECH_SUPPORT would be your instance name.
Username and Password - It must be SQL authentication.
Nicholas Scott
Former Nagios employee
Former Nagios employee
-
wipro-cloud-services
- Posts: 58
- Joined: Thu Nov 11, 2010 4:42 am
Re: MSSQL Server Monitoring Wizard Configuration
I have tried, but same error. Updated details below.
Server IP: 10.194.131.193
Hostname: ZEW-V-0AC283C1
And configured details as below:
Address: 10.194.131.193
Instance: LEFT BLANC first time an used ZEW-V-0AC283C1 in second time. Same error.
Port: 1433
Username: ZEW-V-0AC283C1\sa and only sa second time.
Password: Entered password.
Please let me know if anything is missed above.
I have opened up all the ports in the server and also installed "NSCP-0.4.0.183-x64" package
Server IP: 10.194.131.193
Hostname: ZEW-V-0AC283C1
And configured details as below:
Address: 10.194.131.193
Instance: LEFT BLANC first time an used ZEW-V-0AC283C1 in second time. Same error.
Port: 1433
Username: ZEW-V-0AC283C1\sa and only sa second time.
Password: Entered password.
Please let me know if anything is missed above.
I have opened up all the ports in the server and also installed "NSCP-0.4.0.183-x64" package
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: MSSQL Server Monitoring Wizard Configuration
Is ZEW-V-0AC283C1 your database name or the name of the instance? This is as equally important as the other parts because the checks need to be directed at a specific instance if you are running multiple databases.
-
wipro-cloud-services
- Posts: 58
- Joined: Thu Nov 11, 2010 4:42 am
Re: MSSQL Server Monitoring Wizard Configuration
ZEW-V-0AC283C1 is the instance name, Database name can be taken as "TEST"..
Re: MSSQL Server Monitoring Wizard Configuration
You're going to have to try running this on the command line and see the error the its giving:
Drop to the command line and run the following commands:
What does that return?
Drop to the command line and run the following commands:
Code: Select all
cd /usr/local/nagios/libexec
./check_mssql_database.py -H 10.194.131.193 -I 'ZEW-V-0AC283C1' -U <username> -P <password> --table=TEST
Nicholas Scott
Former Nagios employee
Former Nagios employee
-
wipro-cloud-services
- Posts: 58
- Joined: Thu Nov 11, 2010 4:42 am
Re: MSSQL Server Monitoring Wizard Configuration
Apologies for delay. "CRITICAL:Unable to access SQL Server." returns from command:
./check_mssql_database.py -H 10.194.25.52 -I 'ZUE-V-0AC21934' -U test123 -P test123 --table=TEST
I have started testing with different server, so IP and hostname have changed now. Please let me know.
SQL login test123 has full access to all the DB's.
Please check and advice.
./check_mssql_database.py -H 10.194.25.52 -I 'ZUE-V-0AC21934' -U test123 -P test123 --table=TEST
I have started testing with different server, so IP and hostname have changed now. Please let me know.
SQL login test123 has full access to all the DB's.
Please check and advice.
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: MSSQL Server Monitoring Wizard Configuration
I noticed in your post above you labeled as hostname. The -I is not for hostname it is for Instances, and if you aren't using instances you should leave that off.
Try
Try
Code: Select all
./check_mssql_database.py -H 10.194.25.52 -U test123 -P test123 --table=TEST-
wipro-cloud-services
- Posts: 58
- Joined: Thu Nov 11, 2010 4:42 am
Re: MSSQL Server Monitoring Wizard Configuration
Team,
Now we are able to monitor Database. Thank you for the support provided.
Now we are able to monitor Database. Thank you for the support provided.
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: MSSQL Server Monitoring Wizard Configuration
Closing thread and marking as resolved, thanks for letting us know!