NRPE_NT vs. NSClient

Sand Philipp Philipp.Sand at sycor.de
Tue Aug 10 09:20:51 CEST 2004


> nsclient is great for the standard stuff that you would need 
> to monitor, like the above. However, if you want to do rather 
> more interesting tests, then nrpe_nt would be a better tool, 
> as you can write your own tests (how's your batch file 
> scripting?) Only problem I have found with nsclient (I use 
> V201) is that on some w2k and most win 2003 machines, the 
> default port (1248) ends up in use by something else, which 
> results in the client not allowing the Nagios server to 
> connect to the machine. There is a message in the application 
> event log - forget what it is. When this happens, you can't 
> stop the nsclient service, and all you can do is change the 
> port number via regedit, and then reboot the machine. Yuck. 
> Changing the port used by nsclient to a different one (I use 
> 2323) resolves the problem.
The Port issue is right...but hell, you don't have to reboot your server
just because you
Did some changes to the nsclient port! I wrote a simple cmd file which
runs before the setup routine of
Nsclient, and whic automatically adds the new port number and a password
to the reg.

The problem with the ports in use mostly appears when you're running
exchange server on your server. The exchange server simply graps ports
greater 1024 in default settings...


> I monitor a few NT4 machines, where services, for some 
> reason, just stop working. In these cases, I use nrpe_nt as 
> an event handler to restart the services. So far, it's worked 
> fine for me. I also use it on a couple of w2k machines. I 
> haven't tried it on any windows2003 boxes yet.
I've tried some w2k3server boxes, runs fine here.


To the question asked before:

I mostly run NSClient + Eventlog Agent on all windows servers, just
because it's no big administrative overhead. With nrpe_nt you have to
care for config files on each server, and have to do a lot of changes on
each server.
Though NRPE_NT is really nice when you have to do things with Event
Handlers or wmi scripting and stuff...



Regards, 
Philipp


************************************************

sycor plastics - die neue Branchenlösung für die Kunststoffindustrie

www.sycor-plastics.de

************************************************




Diese E-Mail ist vertraulich und kann darüber hinaus persönliche Informationen beinhalten. Wenn Sie nicht der bestimmungsgemäße Empfänger sind, löschen Sie bitte die E-Mail und deren Anhänge sofort und benachrichtigen Sie uns darüber. Die Firma sycor willigt in keine Verträge oder vertragliche Verpflichtungen ein oder übermittelt rechtsverbindliche Angebote, die in Form von E-Mail versandt werden, sofern dies nicht ausdrücklich in schriftlicher Form zwischen den Parteien vereinbart wurde.

This e-mail is confidential and may contain personal and/or privileged information. If you are not the intended recipient please delete this e-mail and all attachments immediately and inform us. The company sycor does not agree with contracts or contract obligations sent by e-mail, neither do we transmit legally binding offers by e-mail, unless this is not expressly agreed upon between the parties and documented in written form.



-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list