Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Oct 2008 13:42:16 -0400 (EDT)
From:      "Brian A. Seklecki" <lavalamp@spiritual-machines.org>
To:        nagios-users@lists.sourceforge.net, freebsd-questions@freebsd.org
Subject:   Check_CVSUp / PServer - Nagios Plugins?
Message-ID:  <20081010133141.D29402@arbitor.digitalfreaks.org>

next in thread | raw e-mail | index | archive | help

Hey all:

One of the big pitfalls of running a public CVS/CVSup/FTP mirror seems to 
be poor reporting on failed updates.

I'd like add some Nagios monitoring to our project.

For FTP and CVSUP rsyncs, I can have my cron(8)'d update scripts touch(1) 
a file if [ $? = 0 ]; then check them with libexec/nagios/check_file_age 
for mtime/utime.

However, I'd also like to monitor the CVSup and PServer services as well 
at the protocol level.

There do not seem to be any plugins in the public domain.

Ideas:

CVSUp:
   - php/perl/python bindings/libraries to talk cvsup protocol and maybe
     query a list of collections, plus the protocol version negotiated?

   - Is there maybe a way to exec() the cvsup(1)/csup(1) client in "list"
     mode?  Does the protocol have a list operation?

CVS Pserver:
   - Maybe just do a "cvs log src/Makefile" -- verifies that the protocol
     is active.

SSH:
   - Duh

FTP/RSYNC:
   - Yea


Thougths?  Discussion?

l8*
 	-lava (Brian A. Seklecki - Pittsburgh, PA, USA)
 	       http://www.spiritual-machines.org/

     "Guilty? Yeah. But he knows it. I mean, you're guilty.
     You just don't know it. So who's really in jail?"
     ~Maynard James Keenan




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20081010133141.D29402>