diff --git a/Netdisco/bin/netdisco-rancid-export b/Netdisco/bin/netdisco-rancid-export index 9dd1840e..84a8bf81 100755 --- a/Netdisco/bin/netdisco-rancid-export +++ b/Netdisco/bin/netdisco-rancid-export @@ -43,8 +43,8 @@ use Dancer::Plugin::DBIC 'schema'; use App::Netdisco::Util::Permission ':all'; my $settings = setting( 'rancid' ); -my $down_age = $settings->{ 'down_age' } || '1 hour'; -my $rancidhome = $settings->{ 'rancid_home' } || '/var/rancid'; +my $down_age = $settings->{ 'down_age' } || '1 day'; +my $rancidhome = $settings->{ 'rancid_home' } || '/var/lib/rancid'; my $by_ip = {}; foreach my $g (@{$settings->{ 'by_ip' }}) { $by_ip->{$g} = 1; @@ -114,6 +114,10 @@ This script requires some configuration to be added to your Netdisco rtr: [ 'name:[rR]tr.*' ] ap: [ 'name:[aA][pP].*' ] +Note that C is not part of the automatic scheduler +built in to Netdisco. You should run this script via C just after your +periodic C. + =head2 C The location to write RANCID Group configuration files into. A subdirectory