[Nagiosplug-devel] Best Way to Monitor Cruisecontrol

Subhendu Ghosh sghosh at sghosh.org
Wed Feb 18 17:50:04 CET 2004


On Wed, 18 Feb 2004, Robert Pearse wrote:

> I don't want to change the Cruisecontrol installation. There's already
> too much involved in configuring it, as it is.
> 
> Maybe I should have asked for the best way to monitor and remote file.
> 
> Robert
> 
> > -----Original Message-----
> > From: Jason Martin [mailto:jhmartin at toger.us]
> > 
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA1
> > 
> > If is is a continous process then you could have the cruisecontroll
> > program send a passive check every time it completes a cycle and use
> > freshness checking to verify that you've received it in time.
> > 
> > - -Jason Martin
> > 
> > On Wed, 18 Feb 2004,
> > Robert Pearse wrote:
> > 
> > > For those of you that are unfamiliar with Cruisecontrol, it's
> another SF
> > > project that constantly builds code in a loop. Every so often, as
> > > configured, it will start a build if it has seen a CVS commit.
> > >
> > >
> > >
> > > I'm trying to monitor the Cruisecontrol process on a remote server
> using
> > > Nagios. I think the easiest way to do that is to monitor
> > > cruisecontrol.log and see if the file is changing every half hour.
> If
> > > not, then it's stuck.
> > >
> > >
> > >
> > > What's the best way to monitor a file for changes on a remote
> server?
> > >

if you have ssh access you could:
- check the timestamp (newness?)
- diff file versus older copy 


-- 

-sg





More information about the Devel mailing list