Commit Graph

42 Commits

Author SHA1 Message Date
Christian Ramseyer
ebdff809d4 add FTD.pm contributed by Sebastian Roesch 2022-09-30 15:00:02 +02:00
Oliver Gorwits
5cc876e229 #904 add FortiOS SSH collector implementation from @jpvelders 2022-08-02 22:17:39 +01:00
Christian Ramseyer
072d783a85 add Aruba.pm contributed by @sgb1reg in discussion #869 2022-05-13 18:33:42 +02:00
Christian Ramseyer
e1758d4835 Added SSHCollector/Platform/ASAContext.pm
* based on the work of @haught mentioned in #754
 * added some missing ASA.pm improvements from dc9feb747f..b58a62f300
 * separate module for now since it's untested, if confirmed working
   by ASA owners it can replace the original ASA.pm
2021-11-27 01:23:44 +01:00
Christian Ramseyer
9d24c3f6d8 Added support for IPv6 neighbors in NXOS SSHCollector 2021-09-28 18:50:44 +02:00
Christian Ramseyer
a8a77a2df1 Change SSHCollector::NXOS to use expect (#707)
* $ssh->capture() aka. directly executing a command via
   ssh <device> <command> does not seem to work on NXOS7, maybe
   also others

 * changed this module to use Expect, successfully tested on
   NXOS6 - NXOS9
2020-03-19 13:01:34 +01:00
Oliver Gorwits
8b42fb3774 fix pod 2020-02-13 14:23:27 +00:00
Oliver Gorwits
912a971a75 tidy the Clavister module 2020-02-13 10:24:10 +00:00
Henningen
2d849e60ce Create Clavister.pm (#674) 2020-02-13 10:20:24 +00:00
Christian Ramseyer
16e451c77c Change IOSXR Expect close method
* we noticed some hanging SSH connections with soft_close (probably due to fds not being closed properly), so switched to hard_close instead
2020-01-28 17:43:06 +01:00
Christian Ramseyer
0938cd1651 New version of the IOSXR module using Expect
* The previous module only worked for 32-bit IOSXR, and already
  there some fiddling with the STDIN of the process was required
  when being run from netdisco-backend
* In 64-bit IOSXR, the STDIN workaround stopped working and
  created a stuck ssh process on every arpnip
* This new version uses Expect instead of plain SSH, so a proper
  pty is provided under any circumstances
* Successfully tested on recent 32- and 64-bit variants
2020-01-27 21:03:23 +01:00
antonc42
3d231ec135 new SSHCollector platform for Extreme VSP (#695)
This module works for Extreme (formerly Avaya) VSP switches running the
VOSS operating system. When using multiple VRFs, the default Arpnip does
not work.

The way to query the ARP tables of different VRFs is to append "::X" to
the end of the SNMP community string, where "X" is the VRF ID number.
Since Netdisco doesn't support querying with multiple community strings
at this time, this module uses SSH to query the ARP tables of all the
VRFs by default or select VRFs using the "vrfs" key in "device_auth"
(see documentation in the module for an example).
2020-01-23 16:06:06 +01:00
nick n
b211c7c7e2 remove vim settings from files (#676)
vim is great, but just use .vimrc instead of settings in the source files.

or if anyone cares that much, write up a sample one and add it to git.
2019-10-31 03:36:19 +01:00
nick n
f031ae4992 typo 2019-08-17 10:18:43 +02:00
nick n
1460d8864b fix pod
as seen in b58a62f & a61159d
2019-06-18 15:58:20 +02:00
nick n
da5cdeb602 fix pod as in b58a62 2019-06-18 15:57:17 +02:00
nick n
26ab5da1c1 fix pod as in b58a62 2019-06-18 15:56:18 +02:00
nick n
9006d83989 fix pod formatting and typos
as seen in b58a62f & a61159d
2019-06-18 15:53:30 +02:00
nick n
8e0e27c149 fix pod formatting
as seen in b58a62f & a61159d
2019-06-18 15:45:51 +02:00
nick n
ad84047398 fix pod
as in a61159d
2019-06-18 15:44:02 +02:00
nick n
469a9ce554 fix pod formatting
as seen in b58a62f
2019-06-18 15:41:10 +02:00
nick n
441499f063 fix pod formatting
as seen in b58a62f
2019-06-18 15:39:47 +02:00
Christian Ramseyer
b58a62f300 Properly escape angle brackets in C<> 2019-06-18 13:42:23 +02:00
Christian Ramseyer
a61159deb9 Fix device_auth formatting in POD 2019-06-18 13:39:19 +02:00
nick n
f2ddf175b7 device_auth
also untested
2019-05-27 02:42:47 +02:00
nick n
4514855b03 device_auth
uhhu, untested
2019-05-27 02:39:59 +02:00
nick n
496a3719c0 device_auth usage
untested, who would have guessed?
2019-05-27 02:37:55 +02:00
nick n
0a20f68859 device_auth config
totally untested, but old one was worse
2019-05-27 02:35:58 +02:00
nick n
04eb4d9801 change to device_auth config
totally untested, but old config should be bad too.

also, change devicetype from ios to asa.
2019-05-27 02:32:43 +02:00
Christian Ramseyer
dc9feb747f Merge ASA.PM patch by stromsoe (#494}
* Embedded # characters in the output for show names cause sshcollector not to collect any ARP entries on the ASA platform, since the $prompt variable matches in the middle of the output. Fix is to modify $prompt to match end-of-line.
 * Changing the terminal pager length should be done before sending show names instead of after.
 * Matching on IP address to see if a name needs to be mapped should include start and end field markers, in the event that the name returned from "show arp" embeds an IP address (eg, "abc1.2.3.4xyz")
2019-01-29 23:40:43 +01:00
Christian Ramseyer
f5622929e0 Provide stdin to IOSXR.pm when none available (#462)
* See issue #461 for a detailed description
2018-12-28 14:33:02 +00:00
Oliver Gorwits
847d7e16e3 #443 attempt to handle IPs and Names in show arp output - darknicht66 2018-10-19 15:31:31 +01:00
Oliver Gorwits
ffa2aefd8d Revert "#432 fix regexp for arp display - stromsoe"
This reverts commit 75507ed521.
2018-10-19 15:29:32 +01:00
Oliver Gorwits
75507ed521 #432 fix regexp for arp display - stromsoe 2018-10-19 15:25:36 +01:00
Oliver Gorwits
2818591462 #431 sshcollector calls die() even if all the work is not done - stromsoe 2018-10-19 14:59:32 +01:00
Brian De Wolf
2f2c9f6b26 Improve Palo Alto SSH Collector support (#397)
The PAN CLI tries to do friendly auto-completion things and makes the SSH
Collector fail sporadically.  This change uses the "set cli scripting-mode on"
command to calm down the PAN CLI and works around the extra echoed prompts that
get sent.

This change also adds collection of IPv6 neighbor information.
2018-04-28 11:43:01 +01:00
Oliver Gorwits
d224454c98 #365 Fix Checkpoint GAIA sshcollector (jcz1) 2018-01-23 22:51:30 +00:00
Oliver Gorwits
30ccff3561 Fix for PaloAlto sshcolletor module (P. Soppe) 2018-01-05 20:19:27 +00:00
Oliver Gorwits
1a7a8159dc clean POD in SSHCollector platforms 2017-07-05 06:04:19 +01:00
Oliver Gorwits
1ba6df3e33 get IPv6 neighbors via sshcollector from Cisco ASA (G. Rappenecker) 2017-07-05 06:01:32 +01:00
Oliver Gorwits
608d1b86b2 #298 NXOS SSHCollector and note in docs about VRFs 2017-04-19 21:48:45 +01:00
Oliver Gorwits
d23b32500f relocate repo files so ND2 is the only code 2017-04-14 23:08:55 +01:00