Send netdisco-users mailing list submissions to
        netdisco-users@lists.sourceforge.net

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
        netdisco-users-requ...@lists.sourceforge.net

You can reach the person managing the list at
        netdisco-users-ow...@lists.sourceforge.net

When replying, please edit your Subject line so it is more specific
than "Re: Contents of netdisco-users digest..."
Today's Topics:

   1. Re: Weird problem with arpnip / cli / PaloAlto
      (Christian Ramseyer)
--- Begin Message ---
(repost to list)

On 23.05.20 14:16, Steve Ballantyne wrote:
> OK, I think I need clarification on what can only appear once in the
> file ... Christian is on the right track. Because if I strip out
> everything in the device_auth section except for the one driver cli, it
> runs without fail. But as I understand it, the 'driver cli' has to be
> defined, and it has to be defined with the 'only' option.
>
> So if Netdisco is complaining that it's finding my driver cli section
> AND a matching SNMP section (which I still need), how do I fix that?
>

I gave it a try, the problem can be reduced to

  - tag: 'kch-snmpv1-public'
    write: false
    communtiy: public
  - tag: 'sshpalo'
    driver: cli
    platform: PaloAlto
    only: '10.0.44.1'
    username: 'kchnetmon'
    password: 'muhpasword'
    ssh_master_opts:
      - "-o"
      - "StrictHostKeyChecking=no"

Netdisco is not good at communicating this, but you have 'communtiy'
instead of 'community' in the SNMP bit. So then this block is not
recognized as SNMP stanza, and it also is evaluated and matching for the
CLI transport.

(SNMP is the default transport, but it needs some combination of
community:, driver: or auth: to be recognized as such)


Cheers
Christian




--- End Message ---
_______________________________________________
Netdisco mailing list - Digest Mode
netdisco-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/netdisco-users

Reply via email to