control_rancid(1) General Commands Manual control_rancid(1)NAME
control_rancid - run rancid for devices of a group
SYNOPSIS
control_rancid [-V] [-m mail_rcpt] [-r device_name] group
DESCRIPTION
control_rancid is a sh(1) script to parse a group's router.db(5), run rancid for each of the devices, possibly re-run rancid for devices
that failed collection, e-mail diffs, and e-mail error reports.
The command-line options are as follows:
-V Prints package name and version strings.
-m mail_rcpt
Specify the recipient of diff mail, which is normally rancid-<group>. The argument may be a single address, multiple comma
separated addresses, or -m may be specified multiple times.
-r device_name
Specify the name, as it appears in the router.db, of a particular device to collect and generate diffs for. The device must be
marked "up".
The -r option alters the subject line of the diff mail. It will begin with <group name>/<device name> rather than just the group
name alone.
control_rancid is normally (and best) run via rancid-run(1) which provides a locking mechanism on a group basis and saves output in a log
file for each group.
SEE ALSO rancid-run(1), rancid.conf(5), router.db(5)
5 October 2006 control_rancid(1)
Check Out this Related Man Page
rancid-cvs(1) General Commands Manual rancid-cvs(1)NAME
rancid-cvs - initialize CVS or Subversion and rancid group files and directories
SYNOPSIS
rancid-cvs [-V] [group [group ...]]
DESCRIPTION
rancid-cvs creates the directories and router.db(5) for each rancid group and handles the revision control system (CVS or Subversion) set-
up. It must be run after installation and whenever a rancid group is added.
rancid-cvs reads rancid.conf(5) to configure itself, then proceeds with the initialization. First of the CVS or Subversion repository, if
necessary, and then for each of the rancid groups listed on the command-line or those in the variable LIST_OF_GROUPS from rancid.conf(5),
if the argument is omitted.
Running rancid-cvs for groups which already exist will not cause problems. If the group's directory already exists, the import into the
revision control system will be skipped, and if it's router.db(5) already exists, it will not be altered.
The command-line options are as follows:
-V Prints package name and version strings.
The best method for adding groups is add the group name to LIST_OF_GROUPS in rancid.conf(5), then run rancid-cvs. Do not create the
directories manually, allow rancid-cvs to do it.
SEE ALSO cvs(1), rancid.conf(5), router.db(5), svn(1)
5 October 2006 rancid-cvs(1)
Apologize if this is doesn't come under this group. I have a small script to find out users who last logged in to check there mail. (Tru 64 4.0, Netscape mail 3.6)
----->
cat $1|awk -F: '$2=="SMTP-Accept" && $5~/@maildomain/ {s=$5;u++;las=substr($1)} END {for (i in u) {print... (2 Replies)
How do I configure send mail to send mail to internet mail accounts. The system is on a network which has an internet net router configured. (2 Replies)
I m new to Linux, It is connected with internet on simple telephone line, now I m trying to connect it thru dedicated line and with a router. pl help me what i hv to done in s/w as well as h/w. Pl consider me a new user so detailed answer is required. (4 Replies)
I have to confirm that an engine was not able to run. In the output below you see that it indeed got errors, but it didn't send those messages to the output file. When I run the same thing with a different executable it works. So does this mean something in the executable could cause it not to... (7 Replies)
I want to make a Perl script to telnet to a router and apply commands, and get the output of the commands in a file.
Can any one help me in that? (2 Replies)
I have a script that puts out a list that looks like this:
bb1 newyork
bb1 pittsburg
bb2 seattle
bb2 spokane
sl1 sacramento
I want to seperate the output so that it instead has a space between each group so like this:
bb1 newyork
bb1 pittsburg
bb2 seattle
bb2 spokane
sl1... (8 Replies)
currently i have two clients connecting to my wifi router
in telnet router, i typed the command :
~# dumpleases
then it showed as following:
Hostname Mac Address IP-Address
billfan 00:15:00:15:c1:7e 192.168.11.100
00:16:cf:47:e7:ab... (4 Replies)
i need to send 2 diff mail in a single script:Below the script
#!/bin/ksh
echo "enter the number"
read num
if
then
mail -s "test" unix@yahoo.com
mail -s "test" 9886767000@nma.vodafone.in,9916138003@nma.vodafone.in
else
echo "test again"
fi... (5 Replies)
Hi,
I need to find if there is any error in the last few lines of the log file and send a mail accordingly.For example,
Following errors can be logged in the log file.
ERR_1="DB Connection not established"
ERR_2="Server Unloading"
I need to find if these errors are found in the log file and... (3 Replies)
Hello,
I have a ini-file containing comma-separated e-mail addresses, an bash-script sending a mail. Mail-addresses and the mail-script are separated, so I need not to change the important mail script.
But how can I read out the file into a variable? It is possible to handover the mail... (7 Replies)
I am working on an embedded linux router and trying to make a webpage where the user can input a desired number of CPE and have a script update that number on the router. I have a CLI where I can log in and type the following to change that number
echo "20">/proc/net/dbrctl/maxcpe which then... (7 Replies)
Hello, this is probably a simple request but I've been toying with it for a while.
I have a large list of devices and commands that were run with a script, now I have lines such as:
a-router-hostname-C#show ver
I want to print everything up to (and excluding) the # and everything after it... (3 Replies)
Hi I have a requirement where I have to generate a mail/alert to the user if any QA check is failed.
our oracle jobs run in unix environment and log file is created .
Sample is given below .
SELECT *
FROM product.fact_tally
WHERE period_id = '20130401' ;
LIMIT 5;
Ideally the above... (4 Replies)
Does anyone have an idea on how to diff 2 C code files to an output file of the diffs.
Then use the diffs output file to reconstitute the original C code file from that diff output.
Yes this is something that would benefit me from something I am working on. (2 Replies)
I put this together to search for unused IP addresses on a router. It's run as a Bash Command on OSX 10.9. Basically the user inputs the router address' IP range to sweep. 'jot' spits out a list of IP addresses based on that input and each one of those gets pinged. The output looks like this (tab... (4 Replies)