Send netdisco-users mailing list submissions to
[email protected]
To subscribe or unsubscribe via the World Wide Web, visit
https://lists.sourceforge.net/lists/listinfo/netdisco-users
or, via email, send a message with subject or body 'help' to
[email protected]
You can reach the person managing the list at
[email protected]
When replying, please edit your Subject line so it is more specific
than "Re: Contents of netdisco-users digest..."
Today's Topics:
1. Re: Router Acess (Pavel Skovajsa)
2. Re: Router Acess (Nick Nauwelaerts)
--- Begin Message ---
Check out netdisco rancid plug-in
Dňa pi 8. 11. 2019, 2:41 Tim Polimeni <[email protected]> napísal(a):
> Thanks for the info, is there a way that I can setup and export of my
> router database in netdisco to place them in the router database of rancid
> on daily basis? I have from jobs set to scan our loopback space looking for
> newly deployed routers and import them into netdisco. Do you know if this
> is possible to export my discovery devices into rancid without doing it
> manually
>
> On Thu, Nov 7, 2019 at 8:22 AM Nick Nauwelaerts <
> [email protected]> wrote:
>
>> rancid, which most ppl just use for backups, can just as well be used to
>> script things. either via dump cli commands or via expect (the original cli
>> interaction language :) )
>>
>>
>>
>> the beauty there is that it's actively maintained and has support for the
>> cli quirks of loads of devices and os versions. not that important if all
>> you need is "show ip arp", but for anything more complex it tries to handle
>> all the corner cases. also done in perl & expect (and a bit of python since
>> 3.10)
>>
>> homepage: http://rancid.shrubbery.net/rancid/
>>
>> source: https://github.com/haussli/rancid
>>
>>
>>
>> made updating 250 cisco small business switches a 1 hour task, and i
>> didn't have to deal with one of the worst remote consoles ever made.
>>
>>
>>
>> https://github.com/ytti/oxidized should also be able to do about the
>> same.
>>
>>
>>
>>
>>
>>
>>
>> if we ever want to do more via cli, then i'm thinking of just interfacing
>> with one of those 2 projects instead of trying to reinvent the wheel.
>> according to the manual
>> https://github.com/haussli/rancid/blob/master/lib/rancid.pm.in could be
>> used as a gateway: "Specifically, the library is used by rancid(1), but it
>> could be used by any perl program for site-specific handling or additional
>> automata."
>>
>>
>>
>>
>>
>> // nick
>>
>>
>>
>>
>>
>>
>>
>> *From:* Oliver Gorwits [mailto:[email protected]]
>> *Sent:* Thursday, October 31, 2019 20:43
>> *To:* Tim Polimeni <[email protected]>;
>> [email protected]
>> *Subject:* Re: [Netdisco] Router Acess
>>
>>
>>
>> Hi Tim,
>>
>>
>>
>> Currently there is no support for command-line (ssh) actions for port
>> up/down. The only command-line action we support is gathering of ARP tables.
>>
>>
>>
>> This could be patched into Netdisco, but would need someone who
>> understands Perl very well. We have a framework for adding ssh/cli
>> commands, but it has never been used before for a realtime task like this,
>> so it would be a real experiment!
>>
>>
>>
>> Alternatively, you might like to look at the Netmiko library (python),
>> and script this yourself.
>>
>>
>>
>> regards,
>>
>> oliver.
>>
>>
>>
>> On Wed, 30 Oct 2019 at 17:34, Tim Polimeni <[email protected]> wrote:
>>
>> Hello, I was looking thru the config file
>> in /netdisco/environments/deployment.yml I see that there is a place that
>> you can RW SNMP, however if you do not have RW SNM is there a way that if
>> we have a static UID/PW for routers VIA RADIUS that you can enter these
>> credentials in the file to admin up/down and do other tasks?
>>
>> _______________________________________________
>> Netdisco mailing list
>> [email protected]
>> https://sourceforge.net/p/netdisco/mailman/netdisco-users/
>>
>>
>> ------------------------------
>>
>> *Volg Aquafin op Facebook <https://www.facebook.com/AquafinNV> | Twitter
>> <https://twitter.com/aquafinnv> | YouTube
>> <http://www.youtube.com/channel/UCk_4P5BJ-MtEEDCkCsR_KqQ?feature=mhee> |
>> LinkedIN <http://www.linkedin.com/company/aquafin/products> | Instagram
>> <https://www.instagram.com/aquafin_nv/> *
>>
>> In het kader van de uitoefening van onze taken verzamelen we bij Aquafin
>> persoonsgegevens. Hoe we omgaan met deze gegevens en wat de rechten van de
>> betrokkenen zijn, kan je nalezen in onze privacy policy
>> <https://www.aquafin.be/nl-be/privacy-policy>.
>>
>> P Denk aan het milieu. Druk deze mail niet onnodig af.
>>
> _______________________________________________
> Netdisco mailing list
> [email protected]
> https://sourceforge.net/p/netdisco/mailman/netdisco-users/
--- End Message ---
--- Begin Message ---
the part that generates rancid configs is part of netdisco, docs are here:
https://metacpan.org/pod/App::Netdisco::Worker::Plugin::MakeRancidConf
it has been updated by earendilfr & me some months ago so it generates configs
for rancid 3.x by default and integrates into the netdisco worker/scheduling
framework so it's no longer a standalone script. it supports netdisco's
powerful acl framework, so the generated rancid config can be as diverse as you
need. a lot of use cases have examples in that manual page.
we also have a plugin to have have a link to your websvn or whatever url,
directly from device details webpage:
https://metacpan.org/pod/App::NetdiscoX::Web::Plugin::RANCID
while i'm an avid netdisco and rancid user i must admit, while i've tested all
the changes, we don't use either of those functions on our production setup due
to non technical reasons.
// nick
From: Pavel Skovajsa [mailto:[email protected]]
Sent: Friday, November 8, 2019 16:52
To: Tim Polimeni <[email protected]>
Cc: Nick Nauwelaerts <[email protected]>;
[email protected]; Oliver Gorwits <[email protected]>
Subject: Re: [Netdisco] Router Acess
Check out netdisco rancid plug-in
Dňa pi 8. 11. 2019, 2:41 Tim Polimeni
<[email protected]<mailto:[email protected]>> napísal(a):
Thanks for the info, is there a way that I can setup and export of my router
database in netdisco to place them in the router database of rancid on daily
basis? I have from jobs set to scan our loopback space looking for newly
deployed routers and import them into netdisco. Do you know if this is possible
to export my discovery devices into rancid without doing it manually
On Thu, Nov 7, 2019 at 8:22 AM Nick Nauwelaerts
<[email protected]<mailto:[email protected]>> wrote:
rancid, which most ppl just use for backups, can just as well be used to script
things. either via dump cli commands or via expect (the original cli
interaction language :) )
the beauty there is that it's actively maintained and has support for the cli
quirks of loads of devices and os versions. not that important if all you need
is "show ip arp", but for anything more complex it tries to handle all the
corner cases. also done in perl & expect (and a bit of python since 3.10)
homepage: http://rancid.shrubbery.net/rancid/
source: https://github.com/haussli/rancid
made updating 250 cisco small business switches a 1 hour task, and i didn't
have to deal with one of the worst remote consoles ever made.
https://github.com/ytti/oxidized should also be able to do about the same.
if we ever want to do more via cli, then i'm thinking of just interfacing with
one of those 2 projects instead of trying to reinvent the wheel. according to
the manual https://github.com/haussli/rancid/blob/master/lib/rancid.pm.in could
be used as a gateway: "Specifically, the library is used by rancid(1), but it
could be used by any perl program for site-specific handling or additional
automata."
// nick
From: Oliver Gorwits [mailto:[email protected]<mailto:[email protected]>]
Sent: Thursday, October 31, 2019 20:43
To: Tim Polimeni <[email protected]<mailto:[email protected]>>;
[email protected]<mailto:[email protected]>
Subject: Re: [Netdisco] Router Acess
Hi Tim,
Currently there is no support for command-line (ssh) actions for port up/down.
The only command-line action we support is gathering of ARP tables.
This could be patched into Netdisco, but would need someone who understands
Perl very well. We have a framework for adding ssh/cli commands, but it has
never been used before for a realtime task like this, so it would be a real
experiment!
Alternatively, you might like to look at the Netmiko library (python), and
script this yourself.
regards,
oliver.
On Wed, 30 Oct 2019 at 17:34, Tim Polimeni
<[email protected]<mailto:[email protected]>> wrote:
Hello, I was looking thru the config file in
/netdisco/environments/deployment.yml I see that there is a place that you can
RW SNMP, however if you do not have RW SNM is there a way that if we have a
static UID/PW for routers VIA RADIUS that you can enter these credentials in
the file to admin up/down and do other tasks?
_______________________________________________
Netdisco mailing list
[email protected]<mailto:[email protected]>
https://sourceforge.net/p/netdisco/mailman/netdisco-users/
________________________________
Volg Aquafin op Facebook<https://www.facebook.com/AquafinNV> |
Twitter<https://twitter.com/aquafinnv> |
YouTube<http://www.youtube.com/channel/UCk_4P5BJ-MtEEDCkCsR_KqQ?feature=mhee> |
LinkedIN<http://www.linkedin.com/company/aquafin/products> |
Instagram<https://www.instagram.com/aquafin_nv/>
In het kader van de uitoefening van onze taken verzamelen we bij Aquafin
persoonsgegevens. Hoe we omgaan met deze gegevens en wat de rechten van de
betrokkenen zijn, kan je nalezen in onze privacy
policy<https://www.aquafin.be/nl-be/privacy-policy>.
P Denk aan het milieu. Druk deze mail niet onnodig af.
_______________________________________________
Netdisco mailing list
[email protected]<mailto:[email protected]>
https://sourceforge.net/p/netdisco/mailman/netdisco-users/
--- End Message ---
_______________________________________________
Netdisco mailing list - Digest Mode
[email protected]
https://lists.sourceforge.net/lists/listinfo/netdisco-users