Search All Sites
Nagios Live WebinarsLet our experts show you how Nagios can help your organization.
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.
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)
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:
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.