Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I am sorry for not being able to come up with a more descriptive question title.

For getting remote metrics I use nrpe on linux-based machines and nsclient++ on windows-based machines.

If I need to check, for example, if a certain server is reachable from another server, I'd just run an appropriate plugin (like check_http) using nrpe. I've recently faced the need to do the same thing, but the remote server is running windows so I am stuck with nsclient++.

Now, you can run scripts from nsclient++, so you can write a vb/powershell script, that will do that. Before I do that, however, I'd like to know if there are any existing solutions (surely, I am not the only person on Earth who had to deal with this).

At the very least I'd like to have something, like check_http, that I will able to run using nsclient++.

share|improve this question
add comment

3 Answers

up vote 3 down vote accepted
+150

this should be, what you are looking for: http://www.nagioswiki.com/wiki/index.php/Using_NSclient_and_NagiosPluginsNT_for_Service_Delivery

It is a combination of nagios plugins for windows and nsclient++.

share|improve this answer
    
I really don't know how I've missed it! I'll give it a shot, of course –  shylent Feb 3 '10 at 11:36
    
Oh well, I might as well accept this answer. I've checked the plugins, that you've found, but, really, they are terrible. Sure, they seem to do what they are supposed to do, but the functionality is extremely limited. It seems, that the author was just lazy. I guess, I will have to implement it myself. –  shylent Feb 8 '10 at 7:15
    
perhaps the script you are searching for is available in perl and will also run on windows. have you tried NagiosExchange (exchange.nagios.org) or MonitorExchange (monitoringexchange.org)? –  Christian Feb 8 '10 at 7:38
    
just for the record, there are no plugins, that implement at least the most basic subset of the functionality of check_http, neither at exchange.nagios.org, nor at monitoringexchange.org. I've written my own using powershell. –  shylent Feb 11 '10 at 17:04
add comment

You could try to turn the Windows server into *nix with cygwin, run an ssh server on the Windows machine, and then use check_by_ssh :-)

share|improve this answer
    
Kyle Brandt♦ Could you tell me more about this way? –  user154644 Jan 16 '13 at 7:11
add comment

Just as you can run the NRPE/NSclient checks locally, you can use psexec to run them from a remote machine.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.