Discussion:
[rancid] Hello All & a little help?
Ben Granholm
2010-04-02 14:07:11 UTC
Permalink
Greetings everyone!

I am new to the list as well as new to Rancid. I am a linux novice and got Rancid easily set up on CentOS 5.4, I think due to the fact that it is awesomely user friendly. However, I really need it to both be web viewable as well as set to log router changes as they happen. With CentOS there doesn't seem to be a package to view CVS, which I installed it with. Anyone out there have any experience with this? I could write pages manually using perl and apache but would rather not re-invent the wheel if at all possible.
Also, currently it is set to poll in cron every hour. I can obviously shorten that time interval but is there some way to set traps up on the router to trigger a polling on the Rancid machine? Anyone out there doing anything like this?

Any help you can offer would be appreciated.

Thanks,

Ben Granholm
System Administrator
Crocker Communications Inc.
E-Mail: ***@corp.crocker.com
Chris Gauthier
2010-04-02 15:11:51 UTC
Permalink
Good morning,

Here is exactly the link you should read. It talks about your CVS desires specifically.

http://www.linux.com/archive/feed/55873


Chris Gauthier
Network Administrator
MaPS Credit Union
v: 503.375.2445
f: 503.779.1083
http://www.mapscu.com


"For once you have tasted flight you will walk the earth with your eyes turned skywards, for there you have been and there you will long to return."
-Leonardo da Vinci


-----Original Message-----
From: rancid-discuss-***@shrubbery.net [mailto:rancid-discuss-***@shrubbery.net] On Behalf Of Ben Granholm
Sent: Friday, April 02, 2010 7:07 AM
To: Rancid Discussion List
Subject: [rancid] Hello All & a little help?

Greetings everyone!

I am new to the list as well as new to Rancid. I am a linux novice and got Rancid easily set up on CentOS 5.4, I think due to the fact that it is awesomely user friendly. However, I really need it to both be web viewable as well as set to log router changes as they happen. With CentOS there doesn't seem to be a package to view CVS, which I installed it with. Anyone out there have any experience with this? I could write pages manually using perl and apache but would rather not re-invent the wheel if at all possible.
Also, currently it is set to poll in cron every hour. I can obviously shorten that time interval but is there some way to set traps up on the router to trigger a polling on the Rancid machine? Anyone out there doing anything like this?

Any help you can offer would be appreciated.

Thanks,

Ben Granholm
System Administrator
Crocker Communications Inc.
E-Mail: ***@corp.crocker.com
Chris Gauthier
2010-04-02 15:27:47 UTC
Permalink
I spoke a little soon. That article (which I could only half-read because I hadn't had my coffee yet) only mentioned a manual install of RANCID. But, to be sure, there is a package of CVS for CentOS 5.

Just look here: http://www.unix.com/unix-dummies-questions-answers/111875-installing-cvs-centos-5-3-a.html

Chris Gauthier


-----Original Message-----
From: rancid-discuss-***@shrubbery.net [mailto:rancid-discuss-***@shrubbery.net] On Behalf Of Chris Gauthier
Sent: Friday, April 02, 2010 8:12 AM
To: Ben Granholm; Rancid Discussion List
Subject: [rancid] Re: Hello All & a little help?

Good morning,

Here is exactly the link you should read. It talks about your CVS desires specifically.

http://www.linux.com/archive/feed/55873


Chris Gauthier
Network Administrator
MaPS Credit Union
v: 503.375.2445
f: 503.779.1083
http://www.mapscu.com


"For once you have tasted flight you will walk the earth with your eyes turned skywards, for there you have been and there you will long to return."
-Leonardo da Vinci


-----Original Message-----
From: rancid-discuss-***@shrubbery.net [mailto:rancid-discuss-***@shrubbery.net] On Behalf Of Ben Granholm
Sent: Friday, April 02, 2010 7:07 AM
To: Rancid Discussion List
Subject: [rancid] Hello All & a little help?

Greetings everyone!

I am new to the list as well as new to Rancid. I am a linux novice and got Rancid easily set up on CentOS 5.4, I think due to the fact that it is awesomely user friendly. However, I really need it to both be web viewable as well as set to log router changes as they happen. With CentOS there doesn't seem to be a package to view CVS, which I installed it with. Anyone out there have any experience with this? I could write pages manually using perl and apache but would rather not re-invent the wheel if at all possible.
Also, currently it is set to poll in cron every hour. I can obviously shorten that time interval but is there some way to set traps up on the router to trigger a polling on the Rancid machine? Anyone out there doing anything like this?

Any help you can offer would be appreciated.

Thanks,

Ben Granholm
System Administrator
Crocker Communications Inc.
E-Mail: ***@corp.crocker.com
john heasley
2010-04-02 15:33:11 UTC
Permalink
Post by Chris Gauthier
I spoke a little soon. That article (which I could only half-read because I hadn't had my coffee yet) only mentioned a manual install of RANCID. But, to be sure, there is a package of CVS for CentOS 5.
Just look here: http://www.unix.com/unix-dummies-questions-answers/111875-installing-cvs-centos-5-3-a.html
both of the questions are answered in the RANCID FAQ.
Ben Granholm
2010-04-02 15:51:04 UTC
Permalink
I have CVS for CentOS. The problem I am running into is making that available via a web interface with an RPM like ViewVC or cvsweb, which I cannot find for CentOS. The FAQ for Rancid points to cvsweb for FreeBSD. I am a linux newbie so I don't think I could compile the source from scratch. I was hoping I wasn't the only one out there running CentOS, Rancid and CVS who was using a web solution.

Anyone have something?

Ben Granholm
System Administrator
Crocker Communications Inc.
E-Mail: ***@corp.crocker.com

----- Original Message -----
From: "Chris Gauthier" <***@mapscu.com>
To: "Rancid Discussion List" <rancid-***@shrubbery.net>
Sent: Friday, April 2, 2010 11:27:47 AM
Subject: [rancid] Re: Hello All & a little help?

I spoke a little soon. That article (which I could only half-read because I hadn't had my coffee yet) only mentioned a manual install of RANCID. But, to be sure, there is a package of CVS for CentOS 5.

Just look here: http://www.unix.com/unix-dummies-questions-answers/111875-installing-cvs-centos-5-3-a.html

Chris Gauthier


-----Original Message-----
From: rancid-discuss-***@shrubbery.net [mailto:rancid-discuss-***@shrubbery.net] On Behalf Of Chris Gauthier
Sent: Friday, April 02, 2010 8:12 AM
To: Ben Granholm; Rancid Discussion List
Subject: [rancid] Re: Hello All & a little help?

Good morning,

Here is exactly the link you should read. It talks about your CVS desires specifically.

http://www.linux.com/archive/feed/55873


Chris Gauthier
Network Administrator
MaPS Credit Union
v: 503.375.2445
f: 503.779.1083
http://www.mapscu.com


"For once you have tasted flight you will walk the earth with your eyes turned skywards, for there you have been and there you will long to return."
-Leonardo da Vinci


-----Original Message-----
From: rancid-discuss-***@shrubbery.net [mailto:rancid-discuss-***@shrubbery.net] On Behalf Of Ben Granholm
Sent: Friday, April 02, 2010 7:07 AM
To: Rancid Discussion List
Subject: [rancid] Hello All & a little help?

Greetings everyone!

I am new to the list as well as new to Rancid. I am a linux novice and got Rancid easily set up on CentOS 5.4, I think due to the fact that it is awesomely user friendly. However, I really need it to both be web viewable as well as set to log router changes as they happen. With CentOS there doesn't seem to be a package to view CVS, which I installed it with. Anyone out there have any experience with this? I could write pages manually using perl and apache but would rather not re-invent the wheel if at all possible.
Also, currently it is set to poll in cron every hour. I can obviously shorten that time interval but is there some way to set traps up on the router to trigger a polling on the Rancid machine? Anyone out there doing anything like this?

Any help you can offer would be appreciated.

Thanks,

Ben Granholm
System Administrator
Crocker Communications Inc.
E-Mail: ***@corp.crocker.com
_______________________________________________
Rancid-discuss mailing list
Rancid-***@shrubbery.net
http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss
Steve Teti
2010-04-02 16:00:56 UTC
Permalink
Hi Ben,
Post by Ben Granholm
However, I really need it to both be web viewable
Check out ViewVC (http://viewvc.org/), it works great for us. WebSVN
(http://websvn.tigris.org/) is somewhat prettier if you're using an SVN
backend.
Post by Ben Granholm
Is there some way to set traps up on the router to trigger a polling on the Rancid machine?
I'm not sure about triggering config backups when changes are made. You
may be able to do this with an EEM script if your router supports it,
but I don't know. An alternative would be TACACS+ command accounting,
which will log every command entered on your routers. When combined
with rancid's hourly config backups, you can easily track down
who-did-what-when if a problem occurs.

Good luck!

Steve

Loading...