Discussion:
[rancid] Rancid Emails on Downed Hosts
Chris Kilian
2011-04-17 23:14:14 UTC
Permalink
Guys

Where is that you set Rancid to email a list of routers etc that it cant get the config for? I know it can be done and just cant find for the life of me where this is, had a look in the rancid.conf file and cant see anything obvious in there
Ron Whitney
2011-04-18 17:42:08 UTC
Permalink
Assuming that I understand the question correctly, RANCID will e-mail
that info to 'rancid-<groupname>' on the local machine. You then define
the 'rancid-<groupname>' alias in /etc/aliases and define who should
receive the e-mails.

Example:
You've added devices to a group called CompanyA. RANCID will send the
e-mail to thel address of 'rancid-CompanyA' on the local machine.
Within /etc/aliases, you might have a line such as:

rancid-CompanyA ***@example.com

Note: This is a very simple example as I applied it to an older version
of RANCID. Caveat emptor.



Ron Whitney
Network Administrator

Do it Best Corp. | 6502 Nelson Road | Fort Wayne, IN 46803
260.748.5657 (direct) | 260.748.5623 (fax)

-----Original Message-----
From: rancid-discuss-***@shrubbery.net
[mailto:rancid-discuss-***@shrubbery.net] On Behalf Of Chris Kilian
Sent: Sunday, April 17, 2011 19:14
To: rancid-***@shrubbery.net
Subject: [rancid] Rancid Emails on Downed Hosts


Guys

Where is that you set Rancid to email a list of routers etc that
it cant get the config for? I know it can be done and just cant find for
the life of me where this is, had a look in the rancid.conf file and
cant see anything obvious in there
Eric Girard
2011-04-18 18:03:38 UTC
Permalink
Chris,
If it is not what Ron suggested, there is also the downreport script, which sends summary emails of the state of your router.db files.

Eric

From: rancid-discuss-***@shrubbery.net [mailto:rancid-discuss-***@shrubbery.net] On Behalf Of Ron Whitney
Sent: Monday, April 18, 2011 1:42 PM
To: rancid-***@shrubbery.net
Subject: Re: [rancid] Rancid Emails on Downed Hosts

Assuming that I understand the question correctly, RANCID will e-mail that info to 'rancid-<groupname>' on the local machine. You then define the 'rancid-<groupname>' alias in /etc/aliases and define who should receive the e-mails.

Example:
You've added devices to a group called CompanyA. RANCID will send the e-mail to thel address of 'rancid-CompanyA' on the local machine. Within /etc/aliases, you might have a line such as:

rancid-CompanyA ***@example.com<mailto:***@example.com>

Note: This is a very simple example as I applied it to an older version of RANCID. Caveat emptor.



Ron Whitney
Network Administrator

Do it Best Corp. | 6502 Nelson Road | Fort Wayne, IN 46803
260.748.5657 (direct) | 260.748.5623 (fax)
-----Original Message-----
From: rancid-discuss-***@shrubbery.net [mailto:rancid-discuss-***@shrubbery.net] On Behalf Of Chris Kilian
Sent: Sunday, April 17, 2011 19:14
To: rancid-***@shrubbery.net
Subject: [rancid] Rancid Emails on Downed Hosts
Guys

Where is that you set Rancid to email a list of routers etc that it cant get the config for? I know it can be done and just cant find for the life of me where this is, had a look in the rancid.conf file and cant see anything obvious in there
Continue reading on narkive:
Loading...