What can it do?
With SRF you can:
- monitor/archive changes in the text output of any command
This can be useful for:
- working out why a host/service no longer works
- monitoring web pages for changes (e.g. job sites, software releases, bug fixes)
What does it consist of?
SRF consists of:
- srf and mailx-if-not-empty commands
- example configuration files
What has it been tested on?
SRF has been tested on:
but it should work on all Unix-like operating systems.
What are its prerequisites?
SRF requires:
Documentation
Debian installation
If not already done, configure access to this repository as described at ahuxley-keyring.
Run:
apt-get install srf
Downloads
version |
released |
version description |
file |
file description |
1.3.4 |
17/01/2012 |
latest stable |
source |
|
Debian package |
||||
RPM |
Bugs and change requests
id |
filed |
description |
response |
status |
SRF#001 |
19/02/2010 |
missing dependency on sharutils |
modify rules |
fixed in 0.99.3 |
SRF#002 |
19/02/2010 |
no system config file and no crontab entry |
modify rules; for crontab see MDI source |
fixed in 0.99.2 |
SRF#003 |
19/02/2010 |
no man pages |
write man pages for srf, mailx-if-not-empty |
fixed in 0.99.3 |
SRF#004 |
04/03/2010 |
no option to modify retention period |
add --archive-count option |
fixed in 0.99.4 |
SRF#005 |
07/04/2010 |
naming of 'master' modes exposes complexity |
strip 'master-' prefix to main modes and add 'component-' prefix to sub-modes |
fixed in 1.1 |
SRF#006 |
10/11/2010 |
variations in white space trigger alert |
add --diff-opts and --diff-cmd and use |
fixed in 1.1 |
SRF#007 |
20/12/2010 |
add ability to diff against specified text rather than old version |
add option --diff-text |
fixed in 1.1 |
SRF#008 |
20/12/2010 |
add ability to specify minimum time to pass between checks |
|
rejected (not needed) |
SRF#009 |
20/12/2010 |
add much more logging to syslog |
|
fixed in 1.1 |
SRF#010 |
20/12/2010 |
investigate why report wound up in ~srf and not in /staging/logs/srf |
|
duplicate of SRF#012 |
SRF#011 |
03/01/2011 |
file .last-check-for-old is badly named |
include 'srf' in name of file |
fixed in 1.2.2 |
SRF#012 |
26/01/2011 |
.forward should be a conf file symlinked from ~srf to /etc/srf |
modify srf.debian module accordingly |
fixed in 1.2.2 |
SRF#013 |
26/01/2011 |
previous-but-now-cleared command output reported with --diff-text="" |
due to ADE bug |
retitled ADE#320 |
SRF#014 |
04/02/2011 |
usage errors from .forward file not logged |
enable syslogging much earlier if stdin not tty |
fixed in 1.2.2 |
SRF#015 |
09/02/2011 |
duplicate IDs in the config file are not detected |
copy config file to tmp file with 'set -e' prefix |
fixed in 1.2.4 |
SRF#016 |
13/02/2011 |
when srf itself changes it reports IDs' output changed |
|
fixed in 1.2.4 |
SRF#017 |
08/04/2011 |
add symlink 'newest' and 'oldest' to each host's directory in archiv |
|
fixed in 1.2.6 |
SRF#018 |
10/04/2011 |
server-side did-everybody-report-in-? check needed |
|
open |
SRF#019 |
13/04/2011 |
srf --id=getiplayer --apply=true --archive=false --alert=true --diff-opts=-bB "$WEBCAT ftp://ftp.infradead.org/pub/get_iplayer/" |
another confusion in obsoletion code regarding newest/oldest symlinks |
fixed in 1.2.8 |
SRF#020 |
13/04/2011 |
should --archive=false imply --diff-text=""? |
suggestion rejected as based on false presumption |
rejected |
SRF#021 |
21/09/2011 |
execution of .forward pipe times out |
implement 'queue-submit', 'queue-runner', modify .forward and add crontab entry for queue-runner, update man page, add recommendation to use queue-submit/runner to 'INSTALL' document |
fixed in 1.3 |
SRF#022 |
06/12/2011 |
permissions of archive directories vary according to whether queuer used or not |
|
open |
SRF#023 |
06/12/2011 |
main.conf is a very bad name for a configuration file |
|
open |
SRF#024 |
18/12/2011 |
=== gnocchi/group (changed) === |
recode to set DATE only once and eliminate // occurrences |
open |
Copyright
SRF is (C) AlexisHuxley 2009-2012 and is distributed under the terms of the GPL.
See also
Computing (other software by AlexisHuxley)
