[rancid] Re: Dedicated nixrancid using clogin...anyone interested
thecomputerking at gmail.com
Sat Feb 27 00:57:46 UTC 2010
I am interested and condisidering a rancid deployment for change
management on server files ATM; I am interested in seeing your work.
I can see nixcollect.db using some additional variability or versions
to accomodate other system flavors for all the different paths to etc,
not to mention multiple paths to applications like src-installed (/usr/
local/etc) vs. maintained packages (/etc) or even /opt.
. . .
Maybe set your path to etc/ as a variable for the firsthalf of the
object and rely on your object definition to supply the secondhalf to
get to the file.
On Feb 26, 2010, at 2:32 PM, Lance Vermilion <rancid at gheek.net> wrote:
> I have been thinking. I don't want to go and add something like
> cfengine or anything else to my existing set of tools. I do want to
> collect some information and save it, namely files that wouldn't be
> changing frequently and since I use OpenNMS which has RANCID tied to
> it already this is a valuable add for me. All I need to do is add a
> new platform nix that points to nixrancid that uses a slightly
> modified clogin (to skip sending "term length 0") and then I can
> capture all sorts of important bits of info on *nix machines. Right
> now I have played with Linux and I am having quite the success.
> I want to write a small addition to nixrancid that would then look at
> an additional file called nixcollect.db. This would allow someone to
> enable collection based on possible collection bits. So if the
> platform type of nix was in router.db then nixrancid would look in
> nixcollect.db to figure out what files to screen scrape.
> Please let me know if anyone else would be interested in the work I
> will do.
> Currently I am thinking to capture a few things.
> #key files in /etc/
> <need to figure out what else really should be captured>
> #INIT scripts
> #databases - mysql/etc
> #DNS - bind/named
> <need to determine what needs to be collected>
> #security files - audit
> #sysconfig stuff
> Rancid-discuss mailing list
> Rancid-discuss at shrubbery.net
More information about the Rancid-discuss