summaryrefslogtreecommitdiffstats
path: root/etc/rancid.conf.sample.in
diff options
context:
space:
mode:
Diffstat (limited to 'etc/rancid.conf.sample.in')
-rw-r--r--etc/rancid.conf.sample.in59
1 files changed, 59 insertions, 0 deletions
diff --git a/etc/rancid.conf.sample.in b/etc/rancid.conf.sample.in
new file mode 100644
index 0000000..c550c74
--- /dev/null
+++ b/etc/rancid.conf.sample.in
@@ -0,0 +1,59 @@
+#
+# This file sets up the environment used for rancid. see rancid.conf(5)
+#
+# This will be site specific
+#
+TERM=network;export TERM
+#
+# Under BASEDIR (i.e.: --localstatedir), there will be a "logs" directory for
+# the logs from rancid and a directory for each group of routers defined in
+# LIST_OF_GROUPS (below). In addition to these, there will be a "CVS"
+# directory which is the cvs repository.
+#
+# Use a full path (no sym-links) for BASEDIR. Some versions of CVS seem to
+# dislike sym-links.
+#
+TMPDIR=/tmp; export TMPDIR
+# Be careful changing this, it affects CVSROOT below.
+BASEDIR=@localstatedir@; export BASEDIR
+PATH=@bindir@:@ENV_PATH@; export PATH
+# Location of the CVS repository. Be careful changing this.
+CVSROOT=$BASEDIR/CVS; export CVSROOT
+# Location of log files produced by rancid-run(1).
+LOGDIR=$BASEDIR/logs; export LOGDIR
+#
+# if NOPIPE is set, temp files will be used instead of a cmd pipe during
+# collection from the router(s).
+#NOPIPE=YES; export NOPIPE
+#
+# FILTER_PWDS determines which passwords are filtered from configs by the
+# value set (NO | YES | ALL). see rancid.conf(5).
+#FILTER_PWDS=YES; export FILTER_PWDS
+#
+# if NOCOMMSTR is set, snmp community strings will be stripped from the configs
+#NOCOMMSTR=YES; export NOCOMMSTR
+#
+# How many hours should pass before complaining about routers that
+# can not be reached. The value should be greater than the number
+# of hours between your rancid-run cron job.
+OLDTIME=4; export OLDTIME
+#
+# How many hours should pass before complaining that a group's collection
+# (the age of it's lock file) is hung.
+#LOCKTIME=4; export LOCKTIME
+#
+# The number of devices to collect simultaneously.
+#PAR_COUNT=5; export PAR_COUNT
+#
+# list of rancid groups
+#LIST_OF_GROUPS="sl joebobisp"
+# more groups...
+#LIST_OF_GROUPS="$LIST_OF_GROUPS noc billybobisp"
+#
+# For each group, define a list of people to receive the diffs.
+# in sendmail's /etc/aliases.
+# rancid-group: joe,moe@foo
+# rancid-group-admin: hostmaster
+# be sure to read ../README regarding aliases.
+#
+umask 027