Cygwin and nrpe

Daniel Wittenberg daniel-wittenberg at uiowa.edu
Tue Sep 17 18:15:28 CEST 2002


I'm not sure if cygwin is still this way, but it used to use a
shared-memory model (from my understanding anyway), in that another user
on the system had access to the memory used by cygwin-apps, which made
it a bad choice for systems that had users that could login.  I don't
know many servers that do that, but it's a possibility.  (this is how it
was explained to me maybe 6+ months ago, so I apologize if it's wrong).

Dan

On Mon, 2002-09-16 at 16:39, Carroll, Jim P [Contractor] wrote:
> I wouldn't say it's stupid at all.  It's always interesting to see the
> creative juices flowing, provided they don't wash you out to sea.  ;)
> 
> Now that you are able to compile/run nrpe under cygwin, I'd be curious to
> know if there are any (open source/freeware/shareware) utils which act as a
> 'wrapper' for programs, letting you run them as a service, in a sort of
> bare-bones, hackneyed way.
> 
> Just adding my own juices to the punch mix....
> 
> jc
> 
> > -----Original Message-----
> > From: Rusch, Daniel [mailto:Daniel.Rusch at GlobalCrossing.com]
> > Sent: Monday, September 16, 2002 2:44 PM
> > To: Nagios-User (E-mail)
> > Subject: [Nagios-users] Cygwin and nrpe
> > 
> > 
> > I posted this last week, am I to assume by the overwhelming 
> > lack of response
> > that I am the only one trying this?  Does that mean this is, 
> > hmm, stupid??
> > 
> > Thanks,
> > 
> > DR
> > 
> > All,
> > 
> > I have successfully compiled and run nrpe on a windows box in a cygwin
> > shell.  I then was able to have my nagios host execute an nrpe command
> > against the nrpe daemon running in the cygwin shell on the 
> > windows box and
> > the daemon returned the correct data.
> > 
> > Has anyone actually done this in a production environment?  Are there
> > security concerns (other than the obvious like ensure telnet 
> > is disabled)?
> > Stability concerns?  
> > 
> > Can Cygwin run as a service under windows?
> > 
> > I was able to get nrpe to run (or appear to run ) without 
> > cygwin running but
> > without cygwin running nrpe doesn't seem to actually listen 
> > on a port.  
> > 
> > 
> > What we are doing is using nrpe to cascade through several 
> > servers to ensure
> > that the actual path is up (through DMZ's and the like). For 
> > example Nagios
> > is running on server A, nrpe daemon run on servers B, C and D.  Nagios
> > executes a service for B with a command of check_nrpe!check_c 
> >   The daemon
> > on B then executes check_c which in turn causes server c to 
> > execute check_d.
> > This works great as long as all boxes are unix or all are 
> > unix and the last
> > one is windows running nsclient.  
> > 
> > Unfortunately some of the systems us windows boxes in the 
> > middle of the
> > system and this breaks the chain. With cygwin I believe I can 
> > over come this
> > problem.




-------------------------------------------------------
Sponsored by: AMD - Your access to the experts on Hammer Technology! 
Open Source & Linux Developers, register now for the AMD Developer 
Symposium. Code: EX8664 http://www.developwithamd.com/developerlab




More information about the Users mailing list