Monitoring MSSQL Server

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
brent_weaver
Posts: 10
Joined: Mon Mar 04, 2013 3:53 pm

Monitoring MSSQL Server

Post by brent_weaver »

Nagios world,

I am a Linux/UNIX admin being thrust into the world of microsoft... The good news is that it seems there are finally powerful scripting environments in Windows, so I feel this may be a good time to jump in. I have allot of exp with shell/perl scripting in *NIX env's... So my question.

How easy is it to use WMI or Powershell with NSC++ client? I see reference to it in the docs, but what is the reality? Does it work well? What are the pros and cons?

Any advice is more than welcome. And a HUGE thanks to all the brilliant and kind people that drive such a strong community like this! Nagios is a great product!
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Monitoring MSSQL Server

Post by abrist »

brent_weaver wrote:How easy is it to use WMI or Powershell with NSC++ client? I see reference to it in the docs, but what is the reality?
Fairly easy. You setup the wmi check or the powershell script in nsclient just as you would a vbs script or any other external script.
http://nsclient.org/nscp/wiki/guides/na ... al_scripts

http://exchange.nagios.org/index.php?op ... =check_wmi
http://exchange.nagios.org/index.php?op ... powershell
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Locked