RANCID Integration with RHEL
![](https://secure.gravatar.com/avatar/7684e5e4f4c1ceea39b74e79ac0f1833.jpg?s=120&d=mm&r=g)
I’m trying to install RANCID on Observium using the doc http://www.observium.org/docs/rancid/.
I get as far as
Run this command to create the folder structure:
su - rancid /var/lib/rancid/bin/rancid-cvs
but get
-bash: /var/lib/rancid/bin/rancid-cvs: No such file or directory
Is there a different directory when running Observium on RHEL that I should be using to create the folder structure?
![](https://secure.gravatar.com/avatar/e615dfece074546c2ef176d80890fd77.jpg?s=120&d=mm&r=g)
It's wherever you installed rancid. Did you install Rancid using a package manager (yum/rpm)? On my centos6 dev system, it's /var/rancid. Try:
su - rancid pwd
to show the location of your rancid home directory.
On Wednesday, November 4, 2015, Johnson, Edward A. eajohnson@prf.org wrote:
I’m trying to install RANCID on Observium using the doc http://www.observium.org/docs/rancid/.
I get as far as
Run this command to create the folder structure:
su - rancid /var/lib/rancid/bin/rancid-cvs
but get
-bash: /var/lib/rancid/bin/rancid-cvs: No such file or directory
Is there a different directory when running Observium on RHEL that I should be using to create the folder structure?
![](https://secure.gravatar.com/avatar/7684e5e4f4c1ceea39b74e79ac0f1833.jpg?s=120&d=mm&r=g)
I installed it using yum. the location of the rancid home directory is /var/rancid but it is empty.
On Nov 4, 2015, at 10:10 AM, Aaron Finney <aaron.finney@openx.commailto:aaron.finney@openx.com> wrote:
It's wherever you installed rancid. Did you install Rancid using a package manager (yum/rpm)? On my centos6 dev system, it's /var/rancid. Try:
su - rancid pwd
to show the location of your rancid home directory.
On Wednesday, November 4, 2015, Johnson, Edward A. <eajohnson@prf.orgmailto:eajohnson@prf.org> wrote: I’m trying to install RANCID on Observium using the doc http://www.observium.org/docs/rancid/.
I get as far as
Run this command to create the folder structure:
su - rancid /var/lib/rancid/bin/rancid-cvs
but get
-bash: /var/lib/rancid/bin/rancid-cvs: No such file or directory
Is there a different directory when running Observium on RHEL that I should be using to create the folder structure?
-- [http://i.cdn.openx.com/img/openx_logo.gif] Aaron Finney | Network Engineer 888 East Walnut Street, 2nd Floor | Pasadena, CA 91101 office: +1 (626) 466-1141 x6035
Watch how we make online advertising simple: http://bit.ly/Ent_vid www.openx.comhttp://www.openx.com/ | follow us on: Twitterhttp://www.twitter.com/ Facebookhttp://www.facebook.com/ LinkedInhttp://www.linkedin.com/
_______________________________________________ observium mailing list observium@observium.orgmailto:observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
![](https://secure.gravatar.com/avatar/0886233a7bf4279140654a3fd2605eb6.jpg?s=120&d=mm&r=g)
On Wed, Nov 04, 2015 at 05:03:00PM +0000, Johnson, Edward A. wrote:
I installed it using yum. the location of the rancid home directory is /var/rancid but it is empty.
[root@cent7-vm observium]# rpm -ql rancid | grep rancid-cvs /usr/bin/rancid-cvs /usr/libexec/rancid/rancid-cvs /usr/share/man/man1/rancid-cvs.1.gz /usr/share/rancid/rancid-cvspurge
![](https://secure.gravatar.com/avatar/7684e5e4f4c1ceea39b74e79ac0f1833.jpg?s=120&d=mm&r=g)
Thanks, that helped some. Can I get help working with the rest of the instructions as far as what the .cloginrc should contain for the identity path? I think it would be:
add identity * /usr/libexec/rancid/.ssh/id_dsa
I’m not sure about the public key credentials part of the instructions either. Again, I’m assuming that the path would be /usr/libexec/rancid/.ssh but I don’t see a .ssh folder in that path.
![](https://secure.gravatar.com/avatar/e615dfece074546c2ef176d80890fd77.jpg?s=120&d=mm&r=g)
When I set it up on rhel previously, I loosely followed the instructions on the shrubbery page and these:
http://www.richardyau.com/?p=11
Good luck!
On Wednesday, November 4, 2015, Johnson, Edward A. eajohnson@prf.org wrote:
Thanks, that helped some. Can I get help working with the rest of the instructions as far as what the .cloginrc should contain for the identity path? I think it would be:
add identity * /usr/libexec/rancid/.ssh/id_dsa
I’m not sure about the public key credentials part of the instructions either. Again, I’m assuming that the path would be /usr/libexec/rancid/.ssh but I don’t see a .ssh folder in that path.
observium mailing list observium@observium.org javascript:; http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
![](https://secure.gravatar.com/avatar/7684e5e4f4c1ceea39b74e79ac0f1833.jpg?s=120&d=mm&r=g)
Thanks, Aaron. Looks like I have Rancid installed but I’m confused when editing Observium’s config.php.
$config['rancid_configs'][] = "/var/lib/rancid/observium/configs/“;
What path should I use instead?
On Nov 4, 2015, at 10:51 PM, Aaron Finney <aaron.finney@openx.commailto:aaron.finney@openx.com> wrote:
When I set it up on rhel previously, I loosely followed the instructions on the shrubbery page and these:
http://www.richardyau.com/?p=11
Good luck!
On Wednesday, November 4, 2015, Johnson, Edward A. <eajohnson@prf.orgmailto:eajohnson@prf.org> wrote: Thanks, that helped some. Can I get help working with the rest of the instructions as far as what the .cloginrc should contain for the identity path? I think it would be:
add identity * /usr/libexec/rancid/.ssh/id_dsa
I’m not sure about the public key credentials part of the instructions either. Again, I’m assuming that the path would be /usr/libexec/rancid/.ssh but I don’t see a .ssh folder in that path.
_______________________________________________ observium mailing list observium@observium.orgjavascript:; http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
-- [http://i.cdn.openx.com/img/openx_logo.gif] Aaron Finney | Network Engineer 888 East Walnut Street, 2nd Floor | Pasadena, CA 91101 office: +1 (626) 466-1141 x6035
Watch how we make online advertising simple: http://bit.ly/Ent_vid www.openx.comhttp://www.openx.com/ | follow us on: Twitterhttp://www.twitter.com/ Facebookhttp://www.facebook.com/ LinkedInhttp://www.linkedin.com/
_______________________________________________ observium mailing list observium@observium.orgmailto:observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
participants (3)
-
Aaron Finney
-
Brandon Ewing
-
Johnson, Edward A.