Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: RANCID: Users

customize commands

 

 

RANCID users RSS feed   Index | Next | Previous | View Threaded


rancid at jnull

Aug 24, 2002, 2:53 PM

Post #1 of 4 (326 views)
Permalink
customize commands

Forgive the newbie. Implementation and general satisfaction meets
expectations.... However, I would like to know how to customize the commmands
set used by do-diffs. (I attempted to sort through archives, but ugh.)
--
sig=$header


heas at shrubbery

Aug 25, 2002, 11:26 AM

Post #2 of 4 (320 views)
Permalink
customize commands [In reply to]

Sat, Aug 24, 2002 at 05:53:49PM -0500, rancid:
> Forgive the newbie. Implementation and general satisfaction meets
> expectations.... However, I would like to know how to customize the commmands
> set used by do-diffs. (I attempted to sort through archives, but ugh.)
> --
> sig=$header

there isnt such a facility built-in at the moment. we have been discussing
how to add this though. so, its coming at some point.


jayb at braeburn

Aug 29, 2002, 7:42 AM

Post #3 of 4 (311 views)
Permalink
customize commands [In reply to]

>> Forgive the newbie. Implementation and general satisfaction meets
>> expectations.... However, I would like to know how to customize the
>> commmands set used by do-diffs. (I attempted to sort through
>> archives, but ugh.)

heas> there isnt such a facility built-in at the moment. we have been
heas> discussing how to add this though. so, its coming at some
heas> point.

As someone who just upgraded to rancid-2.2.2 thereby unintentionally
clobbering my modifications to bin/rancid's list of router commands of
interest, let me voice my support for such a facility. I see that
"make install" preserved my modified bin/env file with the new one
ending up in bin/env.new -- it would be terrific if the command set
was in a file which would be similarly preserved across an upgrade.

Thanks.
Jay B.




--
Jay Borkenhagen jayb at braeburn.org


heas at shrubbery

Aug 29, 2002, 8:07 AM

Post #4 of 4 (313 views)
Permalink
customize commands [In reply to]

Thu, Aug 29, 2002 at 11:42:08AM -0400, Jay Borkenhagen:
> >> Forgive the newbie. Implementation and general satisfaction meets
> >> expectations.... However, I would like to know how to customize the
> >> commmands set used by do-diffs. (I attempted to sort through
> >> archives, but ugh.)
>
> heas> there isnt such a facility built-in at the moment. we have been
> heas> discussing how to add this though. so, its coming at some
> heas> point.
>
> As someone who just upgraded to rancid-2.2.2 thereby unintentionally
> clobbering my modifications to bin/rancid's list of router commands of
> interest, let me voice my support for such a facility. I see that
> "make install" preserved my modified bin/env file with the new one
> ending up in bin/env.new -- it would be terrific if the command set
> was in a file which would be similarly preserved across an upgrade.
>

the idea we've been kicking around is to have a file (a default file
included with the dist and perhaps a "file.local") which defines a
device "type".

for a given type, you could set which commands you wanted collected and
what function (including home-grown external scripts) to use to filter
the output. this "type" is then used as the type in the router.db file,
eg: cisco or cisco_osr, where cisco_sla might have additional (or
fewer) commands for your OSRs.

RANCID users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.