From 1ff34c39e6e8b6c250dd2ab9c68aa63e817bfcf5 Mon Sep 17 00:00:00 2001 From: inphobia Date: Tue, 1 Jan 2019 17:37:52 +0100 Subject: [PATCH] correct public key documentation whitespace cleanup (now passes podchecker) openssh is also required reference config file with F<> --- bin/netdisco-sshcollector | 31 +++++++++++++++++-------------- 1 file changed, 17 insertions(+), 14 deletions(-) diff --git a/bin/netdisco-sshcollector b/bin/netdisco-sshcollector index 04b66052..29c0e154 100755 --- a/bin/netdisco-sshcollector +++ b/bin/netdisco-sshcollector @@ -185,7 +185,7 @@ full SNMP support # install dependencies: ~/bin/localenv cpanm --notest Net::OpenSSH Expect - + # run manually, or add to cron: ~/bin/netdisco-sshcollector [-DQO] [-w ] @@ -209,10 +209,10 @@ Currently, ARP tables can be retrieved from the following device classes: =item * L - Cisco IOS -=item * L - Cisco NXOS - =item * L - Cisco IOS XR +=item * L - Cisco NXOS + =item * L - F5 Networks BigIP =item * L - FreeBSD @@ -227,8 +227,8 @@ The collected arp entries are then directly stored in the netdisco database. =head1 CONFIGURATION -The following should go into your Netdisco 2 configuration file, "C<< -~/environments/deployment.yml >>" +The following should go into your Netdisco configuration file, +F<~/environments/deployment.yml>. =over 4 @@ -236,7 +236,7 @@ The following should go into your Netdisco 2 configuration file, "C<< Data is collected from the machines specified in this setting. The format is a list of dictionaries. The keys C, C, C, and C -are required. Optionally the C key can be used instead of the +are required. Optionally the C key can be used instead of the C. For example: sshcollector: @@ -246,14 +246,16 @@ C. For example: platform: IOS - hostname: 'core-router.example.com' user: oliver - password: letmein + password: platform: IOS Platform is the final part of the classname to be instantiated to query the host, e.g. platform B will be queried using C. -If the password is "-", public key authentication will be attempted. +If the password is blank, public key authentication will be attempted with the +default key for the netdisco user. Password protected keys are currently not +supported. =back @@ -294,7 +296,7 @@ B and B datatypes in PostgreSQL can handle. =item C<-D> -Netdisco debug log level +Netdisco debug log level. =item C<-Q> @@ -302,7 +304,7 @@ L trace enabled. =item C<-O> -L trace enabled +L trace enabled. =item C<-w> @@ -310,9 +312,8 @@ Set maximum parallel workers for L. The default is B. =item C<-d device> -Only run for a single device. Takes an IP or hostname, must exactly match the value -in the config file. - +Only run for a single device. Takes an IP or hostname, must exactly match the +value in the config file. =back @@ -326,6 +327,8 @@ in the config file. =item L +=item L + =back - + =cut