Page 1 of 1

Monitoring MSSQL Server

Posted: Sun Jan 26, 2014 6:01 pm
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!

Re: Monitoring MSSQL Server

Posted: Mon Jan 27, 2014 11:35 am
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