Discussion:
[rancid] cvsweb/cvs help
Ben Granholm
2011-07-06 15:05:09 UTC
Permalink
Greetings,

I am currently running rancid on CentOS release 5.6 (Final) using cvs and cvsweb. This current configuration works great, however the display leaves something to be desired. We are keeping track of a number of configurations on various routers and switches, etc... but this is all done on our internal management network which has no DNS entries. So when I go to look at it, it is a giant list of IP addresses. It would be nice to have some sort of description on it. I could do a workaround by adding entries to a local dns or even the hosts file but I would rather a description field. If anyone has done this successfully, some guidance would be appreciated.



Thanks,


Ben Granholm
john heasley
2011-07-06 15:48:18 UTC
Permalink
Post by Ben Granholm
Greetings,
I am currently running rancid on CentOS release 5.6 (Final) using cvs and cvsweb. This current configuration works great, however the display leaves something to be desired. We are keeping track of a number of configurations on various routers and switches, etc... but this is all done on our internal management network which has no DNS entries. So when I go to look at it, it is a giant list of IP addresses. It would be nice to have some sort of description on it. I could do a workaround by adding entries to a local dns or even the hosts file but I would rather a description field. If anyone has done this successfully, some guidance would be appreciated.
Try cvsadmin -t (see manpage) for each file. that MAY appear in the cvsview
(etc) pages; I do not know.
Ben Granholm
2011-07-06 18:37:42 UTC
Permalink
John,

I tried as you suggested and nothing. I would have to mod the cvsweb.cgi for that to work and I am no perl guru by any stretch. Anyone else do this and how did you accomplish it?

Ben Granholm

----- Original Message -----

From: "john heasley" <***@shrubbery.net>
To: "Ben Granholm" <***@corp.crocker.com>
Cc: rancid-***@shrubbery.net
Sent: Wednesday, July 6, 2011 11:48:18 AM
Subject: Re: [rancid] cvsweb/cvs help
Post by Ben Granholm
Greetings,
I am currently running rancid on CentOS release 5.6 (Final) using cvs and cvsweb. This current configuration works great, however the display leaves something to be desired. We are keeping track of a number of configurations on various routers and switches, etc... but this is all done on our internal management network which has no DNS entries. So when I go to look at it, it is a giant list of IP addresses. It would be nice to have some sort of description on it. I could do a workaround by adding entries to a local dns or even the hosts file but I would rather a description field. If anyone has done this successfully, some guidance would be appreciated.
Try cvsadmin -t (see manpage) for each file. that MAY appear in the cvsview
(etc) pages; I do not know.
Shellhammer, Erich S
2011-07-06 19:54:37 UTC
Permalink
I did it the easy way. Host file entries, then in the device list I just used the hostnames. This then populated cvsweb with hostnames. I did it this way since I’m not adding devices more than 1-2 every 6 months.


Erich Shellhammer







From: rancid-discuss-***@shrubbery.net [mailto:rancid-discuss-***@shrubbery.net] On Behalf Of Ben Granholm
Sent: Wednesday, July 06, 2011 1:38 PM
To: rancid-***@shrubbery.net
Subject: Re: [rancid] cvsweb/cvs help

John,

I tried as you suggested and nothing. I would have to mod the cvsweb.cgi for that to work and I am no perl guru by any stretch. Anyone else do this and how did you accomplish it?

Ben Granholm
________________________________
From: "john heasley" <***@shrubbery.net>
To: "Ben Granholm" <***@corp.crocker.com>
Cc: rancid-***@shrubbery.net
Sent: Wednesday, July 6, 2011 11:48:18 AM
Subject: Re: [rancid] cvsweb/cvs help
Post by Ben Granholm
Greetings,
I am currently running rancid on CentOS release 5.6 (Final) using cvs and cvsweb. This current configuration works great, however the display leaves something to be desired. We are keeping track of a number of configurations on various routers and switches, etc... but this is all done on our internal management network which has no DNS entries. So when I go to look at it, it is a giant list of IP addresses. It would be nice to have some sort of description on it. I could do a workaround by adding entries to a local dns or even the hosts file but I would rather a description field. If anyone has done this successfully, some guidance would be appreciated.
Try cvsadmin -t (see manpage) for each file. that MAY appear in the cvsview
(etc) pages; I do not know.

Loading...