Hi Aidan..
the script is below. you will have to change some of the directories, but it's not a complex script.
Good luck, let me know how you get on with it.
PS. you may like also to look at KIWI SOFT Cat Tools.
I'm just starting to get into it and it looks pretty fly.
# 01/11/00
# This script retrieves router configurations and reports
# if any changes have been made since the last time a
# config was retrieved.
# It is normally executed by cron, once a month to keep
# the configuration database up to date.
# It can be run on an ad hoc basis to update the config d/b
# after any changes have been made.
# Use the extension CHANGE and follow the on screen prompts
# to update manually.
# Written by Phil Gregory. Lead Technician GPU Power UK
# phil.gregory@gpupower.co.uk
# This script may be distributed within GPU Power as long as the above
# message is kept intact.
#
bindir=/usr/OV/bin
changed=NO
maillist="PUT EMAIL ADDRESSES HERE"
function getconfig {
rm $fname
touch $fname
chmod 666 $fname
$bindir/snmpset -c <READ COMMUNITY> $rname .1.3.6.1.4.1.9.2.1.55.IP.ADDRESS.OF.UNIX.BOX octetstring $fname
}
function haschanged {
difference=$(diff $fname /usr/OV/log/routers/$rname-current)
if [ "$difference" = "" ]
then
changed=NO
else
changed=YES
fi
}
function backupcfg {
timestamp=$(date +"%H%M%d%m%y"

cp /usr/OV/log/routers/$rname-current /usr/OV/log/routers/$rname.b4.$timestamp
cp $fname /usr/OV/log/routers/$rname-current
}
function reportdifferences {
echo "$message" > /tmp/diff.report
diff $fname /usr/OV/log/routers/$rname-current >> /tmp/diff.report
mail -s "$subject" $maillist < /tmp/diff.report
}
function copytoftp {
cp /usr/OV/log/routers/$rname-current /u/ftp/log/routers/$rname-current
chmod a+r /u/ftp/log/routers/$rname-current
}
# if the command is entered as rconfig CHANGE rcn then just update the config
# for the router spec'd and notify the maillist of the changes
if [ "$1" = "CHANGE" ]
then
clear
banner WARNING
echo "THE COMMAND YOU HAVE ENTERED WILL UPDATE
THE CONFIGURATION DATABASE.
NOTIFICATION OF THE CHANGES WILL BE SENT TO
$maillist
Please confirm you are sure by entering YES"
read sure
if [ $sure = "YES" ]
then
echo "Please enter the hostname of the router
where configuration changes have been made"
read rname
fname=/tmp/$rname-confg
subject="Recorded/Authorised configuration change on router $rname"
message="The following changes were made on router $rname"
getconfig
reportdifferences
backupcfg
copytoftp
fi
else
cat /etc/router.list |while read rname
do
fname=/tmp/$rname-confg
getconfig
haschanged
if [ "$changed" = "YES" ]
then
subject="UNRECORDED changes found on Router $rname"
message="The following UNRECORDED/UNAUTHORISED changes have been made on router $rname"
reportdifferences
backupcfg
copytoftp
fi
done
fi