Checking remote processes

Norberto Meijome freebsd at meijome.net
Mon Oct 2 22:13:53 PDT 2006


On Mon, 2 Oct 2006 01:52:19 -0000 (GMT)
jhall at vandaliamo.net wrote:

> > In the last episode (Oct 02), jhall at vandaliamo.net said:  
> >> Is there a way to test a remote server to determine if certain
> >> processes are running?
> >>
> >> For example, can server 1 check server 2, which is at a remote
> >> location, to ensure squid is running?
> >>
> >> I have not been able to figure out how to do this, or if it is even
> >> possible.  
> >
> > Easiest way would be to try connecting to squid's listening port.  This
> > only works with daemons that listen on internet sockets, but quite a
> > few do.
> >
> > --
> > 	Dan Nelson
> > 	dnelson at allantgroup.com
> >  
> I hadn't thought of that.  I'll give it a try.

you may want to look into a proper management system to handle this, like
nagios and similar. No point reinventing the wheel.

_________________________
{Beto|Norberto|Numard} Meijome

"Time exists so everything doesn't happen at once"
   Albert Einstein

I speak for myself, not my employer. Contents may be hot. Slippery when wet.
Reading disclaimers makes you go blind. Writing them is worse. You have been
Warned.


More information about the freebsd-questions mailing list