Check_CVSUp / PServer - Nagios Plugins?
Brian A. Seklecki
lavalamp at spiritual-machines.org
Fri Oct 10 19:42:16 CEST 2008
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
_______________________________________________
freebsd-questions at freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
More information about the Users
mailing list