[rancid] Re: Running rancid as a deamon
vishal.ud
vishal.ud at directi.com
Mon Nov 30 18:34:53 UTC 2009
Chris ,
Thank you for your comprehensive reply . Well i donot need the realtime
change as such and no the configs donot change that often either Well im
gonna look into integrating NMS with rancid(since we already have a
local deployment)
Thanks again for your help
Chris Gauthier wrote:
> I don't see how it is feasible to run rancid as a daemon since that is
> not how is was designed. What I mean is rancid was designed to run on a
> periodic basis and it would time out during periods of no changes.
> Others have gained a more "near realtime" performance by integrating
> rancid with other NMS products or invoking it based on SNMP traps. I
> don't believe it is even possible to run rancid as a daemon without it
> quitting in just a short amount of time. Do you really need the
> realtime changelogs? Is your equipment really changing that often?
> When was the last time cron actually failed on you?
>
> If you are worried about cron failure, then you might consider writing a
> script invoked by cron that a) 'touch /tmp/some_dummy_filename b)
> executes rancid. Next, you would have to have a daemon that checks for
> the existence of the /tmp/some_dummy_filename file and also compares its
> timestamp to the current time. If it was beyond a certain age, you
> could then invoke rancid again. This daemon would ideally run as the
> rancid user.
>
> Complicated? Yep. Is there a simpler way? Probably. Am I worried
> about cron failure? No. I have never seen cron fail because of a
> problem with cron. My cron failures have all been self-induced.
>
> Good luck!
>
> Chris Gauthier
>
> -----Original Message-----
> From: rancid-discuss-bounces at shrubbery.net
> [mailto:rancid-discuss-bounces at shrubbery.net] On Behalf Of vishal.ud
> Sent: Monday, November 30, 2009 3:50 AM
> To: rancid-discuss at shrubbery.net
> Subject: [rancid] Running rancid as a deamon
>
> I was wondering if this is possible since the advantages wud be as below
> 1) instant notifications if changes made unlike waiting for the cron
> runs
> 2) eliminates the dependency on the cron if it fails to run
>
>
> _______________________________________________
> Rancid-discuss mailing list
> Rancid-discuss at shrubbery.net
> http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss
> _______________________________________________
> Rancid-discuss mailing list
> Rancid-discuss at shrubbery.net
> http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss
>
More information about the Rancid-discuss
mailing list