Home Directory Plugins Databases SQLServer check_mssql_monitor

Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me
Don't miss your chance to attend the 2014 Nagios World conference!

Don't miss your chance to attend the 2014 Nagios World Conference, Oct 13-16th. Informative Sessions, Networking, Food and Cocktails! Visit go.nagios.com/conference/ for more information or to register.


check_mssql_monitor

Bookmark and Share

Rating
1 vote
Favoured:
0
Hits
85134
Files:
FileDescription
check_mssql_monitorcheck_mssql_monitor
Retreive workload information (cpu, io and idle percent values) from sp_monitor procedure of Microsoft Sql Server.
Retreive workload information (cpu, io and idle percent values) from sp_monitor procedure of Microsoft Sql Server.

The check_mssql_monitor plugin, writing in Perl, use perfdata array to store the response values for historical and graphical use.

Support also, for cpu and io, warning and critical threshold values.
(e.g. --cpuWarning=40 --cpuCritical=80 --ioWarning=30 --ioCritical=60)
Reviews (1)
This is a very nice plugin, but be warned that it will require "sysadmin" privileges on SQL server to run.

Considering that you will also need to activate TCP/IP remote connection and plain SQL authentication for your nagios user to connect to the SQL database, that could be a major security hole in your infrastructure if you do not properly lock the connections between your monitoring server and your SQL Server.

There is some methods you can use to mitigate the risk, including creating a dedicated database for this monitoring, with a dedicated user, and a dedicated stored procedure, as explained here:
http://www.sqlapprentice.net/?p=108

But I would love to have a plugin who could just perform a basic SQL test without requiring admin privileges to the master system database.