You could try using the winnrpe http://www.itefix.no/i2/winrpe
This will give you all the flexibility of the nrpe , but on a windows machine. Assaf On Wednesday 20 May 2009 13:17:48 Leleux, Jeremy J wrote: > Thanks for the posts y'all! I was able to get it running w/ 2 batch > files. The first batch file was strictly a file copy script that sent > over the config and update script. The second batch uses psexec to run > the update script on each windows server. I'm still working out some > kinks, but for the most part it's working. If anyone is looking for > more information on how to do this, let me know and I would be glad to > help. > > Respectfully, > > Jeremy Leleux > IT Administrator > Sunland Construction, Inc. > Corporate Division > Office: 337.550.2142 > Fax: 337.546.0245 > Mobile: 337.580.6062 > Email: jjlel...@sunlandconstruction.com > > -----Original Message----- > From: Alex Burger [mailto:ale...@users.sourceforge.net] > Sent: Tuesday, May 19, 2009 1:02 PM > To: Leleux, Jeremy J > Cc: nagios-users@lists.sourceforge.net > Subject: Re: [Nagios-users] Running Windows batch files through NRPE > > > You are running NSClient++ as a service which is using the SYSTEM > account. The SYSTEM account does not have access to network resources. > One solution is to create a domain user account and then change the > NSClient++ service to use the new account. Also make sure the account > has access to the batch file. > > As someone else mentioned it may make more sense to use a scheduled task > > but it also needs to run as a network account that has access. You may > want to look at psexec from Sysinternals. > > Alex > > Leleux, Jeremy J wrote: > > I'm running Nagios 3.0.6/CentOS 5.2 for my Nagios server. Its > > monitoring my Windows Servers, all 2003, I have NSClient++ on those > > servers and its working fine. My problem is that I'm trying to > > centralize the configs on the NSClient++'s w/ the help of batch files. > > I have setup commands to allow me run the scripts w/ the help of > > check_nrpe, but they will not run. > > > > Here is the contents of one of my batch files, nscpp_config.bat, to > > update the NSClient++ config: > > @echo off > > xcopy > > \\10.10.0.50\public\Departments\Infor~1\Scripts\nscpp_copy.bat > > C:\Progra~1\NSClient++ /Y > > exit > > When I try to run this command from my Nagios Server, I get an > > "Invalid > > > Drive Specification Error". And here is my config line to allow the > > command in NSClient++: > > --------------------------------------------------------------------------- >--- Crystal Reports - New Free Runtime and 30 Day Trial > Check out the new simplified licensing option that enables > unlimited royalty-free distribution of the report engine > for externally facing server and web deployment. > http://p.sf.net/sfu/businessobjects > _______________________________________________ > Nagios-users mailing list > Nagios-users@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 -- Assaf Flatto SSP Ops Team Linux System Administrator 169 Euston Road, London, NW1 2AE Along with a few colleagues I am doing The Three Peaks Challenge again this year to raise money for The Railway Children. Please sponsor me by making a donation online, simply click on the link below and give via your switch/credit card. Thank you. http://www.justgiving.com/londonnorththreepeaks IMPORTANT . this email and the information in it may be confidential, legally privileged and/or protected by law. It is intended solely for the use of the person to whom it is addressed. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Please also delete all copies of this email and any attachments from your system. We cannot guarantee the security or confidentiality of email communications. We do not accept any liability for losses or damages that you may suffer as a result of your receipt of this email including but not limited to computer service or system failure, access delays or interruption, data non-delivery or mis-delivery, computer viruses or other harmful components. Copyright in this email and any attachments belong to Select Service Partner UK Limited. Should you communicate with anyone at Select Service Partner UK Limited by email, you consent to us monitoring and reading any such correspondence. Nothing in this email shall be taken or read as suggesting, proposing or relating to any agreement concerted practice or other practice that could infringe UK or EC competition legislation. Select Service Partner UK Limited is a company registered in England and Wales (company number 05687183) whose registered office is at 1 The Heights, Brooklands, Weybridge. Surrey. KT13 0NY ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://www.creativitycat.com _______________________________________________ Nagios-users mailing list Nagios-users@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