Author | Brian Scott |
---|---|
Compatibility | Xymon 4.3 |
Requirements | FreeBSD, Bourne Shell (sh) |
Download | None |
Last Update | 2011-08-12 |
Simple shell script to monitor FreeBSD geom based mirroring.
Status is red for degraded (missing a component) and yellow when recovering.
Pretty much standard fare:
[gmirror] ENVFILE /home/hobbit/server/etc/xymonserver.cfg NEEDS xymond CMD $XYMONHOME/ext/gmirror.sh LOGFILE $XYMONSERVERLOGS/gmirror.log INTERVAL 5m
Or the equivalent on the client side.
Nice features like green/red/yellow dots against individual mirrors.
Ability to exclude mirrors that we don't care about.
As with all of these things, the code started out by kicking around other people's code.