summaryrefslogtreecommitdiffstats
path: root/bin/env.in
diff options
context:
space:
mode:
Diffstat (limited to 'bin/env.in')
-rw-r--r--bin/env.in42
1 files changed, 42 insertions, 0 deletions
diff --git a/bin/env.in b/bin/env.in
new file mode 100644
index 0000000..37e9a8b
--- /dev/null
+++ b/bin/env.in
@@ -0,0 +1,42 @@
+#
+# This file setups up the environment used for rancid
+#
+# This will be site specific
+#
+TERM=network;export TERM
+#
+# Under $BASEDIR, there will be a bin directory for the rancid programs,
+# a log directory for the logs from rancid and a directory for each group
+# of routers. In addition to these directories, there will be the CVS
+# repositories as well.
+# use a full path (no sym-links) for BASEDIR. some versions of CVS seemingly
+# don't take kindly to sym-links.
+#
+TMPDIR=/tmp; export TMPDIR
+BASEDIR=@prefix@; export BASEDIR
+PATH=$BASEDIR/bin:@ENV_PATH@; export PATH
+#PATH=$BASEDIR/bin:/usr/local/bin:/usr/ucb:/usr/bin:/bin:/usr/lib:/usr/sbin;export PATH
+CVSROOT=$BASEDIR/CVS; export CVSROOT
+#
+# if NOPIPE is set, temp files will be used instead of a cmd pipe during
+# collection from the router(s).
+#NOPIPE=YES; export NOPIPE
+#
+# if NOCOMMSTR is set, snmp community strings will be stripped from the configs
+#NOCOMMSTR=YES; export NOCOMMSTR
+#
+# How many hours to go by before complaining about routers that
+# can not be reached.
+OLDTIME=4; export OLDTIME
+#
+LIST_OF_GROUPS="sl joebobisp"
+#
+# For each group, define a list of people to receive the diffs.
+# in a .mailrc file in the following format:
+# alias rancid-$GROUP hank@rem.com pwhiting@sprint.net
+# or sendmail's /etc/aliases.
+# rancid-group: joe,moe@foo
+# rancid-group-admin: hostmaster
+# be sure to read ../README regarding aliases.
+#
+umask 007