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: SNMPv3 Issues (Oliver Gorwits)
--- Begin Message ---
Hi Ariel

Sorry I have very little idea! I guess you have to use an entrypoint to get
a shell inside the running container and run that command to install the
module, then restart the backend.

regards
oliver.

On Thu, 27 Jun 2024 at 21:34, Ariel Jones <ariel.jo...@gfcmsu.edu> wrote:

> Pardon my ignorance on the subject, but how exactly does one modify these
> items when NetDisco is deployed via Docker?
>
>
>
> *From:* Oliver Gorwits <oli...@cpan.org>
> *Sent:* Thursday, June 27, 2024 11:41 AM
> *To:* Ariel Jones <ariel.jo...@gfcmsu.edu>; Koen Dooms <drhn...@gmail.com>;
> netdisco-users@lists.sourceforge.net
> *Subject:* Re: [Netdisco] SNMPv3 Issues
>
>
>
> NOTICE: This email originated from outside of your organization. Do not
> click links, open attachments, or respond unless you were expecting this
> message and know the content is safe.
>
> Hmm, OK, you could try a different net-snmp version:
>
>
>
> ~netdisco/bin/localenv cpanm --notest Alien::SNMP
>
>
>
> and then restart the backend. This will override your operating system
> net-snmp with a different version.
>
>
>
> If it doesn't work out or goes wrong, just delete ~/perl5 and reinstall
> netdisco per the cpanm line in the instructions.
>
>
>
> regards
>
> oliver.
>
>
>
> On Thu, 27 Jun 2024 at 17:34, Ariel Jones <ariel.jo...@gfcmsu.edu> wrote:
>
> I modified the passphrase to not include any special characters a while
> back for troubleshooting, but it still gives the “Error: passphrase chosen
> is below the length requirements of the USM (min=8)” error unfortunately.
>
>
>
> Thanks,
>
>
>
> Ariel
>
>
>
> *From:* Koen Dooms <drhn...@gmail.com>
> *Sent:* Thursday, June 27, 2024 3:14 AM
> *To:* Ariel Jones <ariel.jo...@gfcmsu.edu>
> *Cc:* netdisco-users@lists.sourceforge.net
> *Subject:* Re: [Netdisco] SNMPv3 Issues
>
>
>
> NOTICE: This email originated from outside of your organization. Do not
> click links, open attachments, or respond unless you were expecting this
> message and know the content is safe.
>
> Ariel,
>
>
>
> Maybe NetDisco truncates your passphrase on a certain (special) character?
> An @ maybe?
>
> I'm not sure if there is a way to reveal the phrase in the netdisco-do
> output.
>
>
>
> Regards,
>
> Koen
>
>
>
> Op do 27 jun 2024 om 04:20 schreef Ariel Jones <ariel.jo...@gfcmsu.edu>:
>
> I have been working to get SNMPv3 working with my Cisco switches, however
> no matter what I do I can’t seem to get it working with NetDisco. I have
> confirmed I can connect with SNMPv3 with two other tools we utilize without
> any issue. Any help would be appreciated. The error “Error: passphrase
> chosen is below the length requirements of the USM (min=8).” shows in the
> output, however the passphrase is 15+ characters long.
>
> *deployment.yml file:*
>
>
>
> device_auth:
>
>   - tag: 'Snmpv3cfg'
>
>     user: 'USERNAME'
>
>     auth:
>
>     pass: 'PASSWORD'
>
>     proto: 'SHA'
>
>     priv:
>
>     pass: 'PASSWORD'
>
>     proto: 'AES'
>
>
>
> *Configuration from Cisco switches:*
>
>
>
> snmp-server view snmp-v3-ReadOnly-View internet included
>
> snmp-server view snmp-v3-ReadOnly-View lldpObjects included
>
> snmp-server view snmp-v3-ReadOnly-View cisco included
>
> snmp-server group snmp-v3-ReadOnly v3 auth context vlan- match prefix
>
> snmp-server view snmp-v3-ReadOnly-View iso included
>
> snmp-server group snmp-v3-ReadOnly v3 priv read snmp-v3-ReadOnly-View
>
> snmp-server user USERNAME snmp-v3-ReadOnly v3 auth sha PASSWORD priv aes
> 128 PASSWORD
>
> snmp-server group snmp-v3-ReadOnly v3 auth
>
> (There is also an access list allowing access)
>
>
>
> *Result of netdisco-do -D discover -d:*
>
>
>
> itservices@netdisco:~/netdisco/config$ sudo docker-compose run
> netdisco-do -D discover -d 10.10.80.80
>
> Creating itservices_netdisco-do_run ... done
>
> Attempting to create directory /home/netdisco/perl5
>
> [1] 2024-06-26 22:38:59  info App::Netdisco version 2.072003 loaded.
>
> [1] 2024-06-26 22:38:59  info discover: [10.10.80.80] started at Wed Jun
> 26 22:38:59 2024
>
> [1] 2024-06-26 22:39:00 debug discover: running with timeout 600s
>
> [1] 2024-06-26 22:39:00 debug => running workers for phase: check
>
> [1] 2024-06-26 22:39:00 debug -> run worker check/1000000
> "internal::backendfqdn"
>
> [1] 2024-06-26 22:39:00 debug -> run worker check/1000000
> "internal::snmpfastdiscover"
>
> [1] 2024-06-26 22:39:00 debug running with configured SNMP timeouts
>
> [1] 2024-06-26 22:39:00 debug -> run worker check/0 "discover"
>
> [1] 2024-06-26 22:39:00 debug Discover is able to run.
>
> [1] 2024-06-26 22:39:00 debug => running workers for phase: early
>
> [1] 2024-06-26 22:39:00 debug -> run worker early/100
> "discover::properties"
>
> [1] 2024-06-26 22:39:00 debug snmp reader cache warm: [10.10.80.80]
>
> [1] 2024-06-26 22:39:00 debug [10.10.80.80:161] try_connect with v: 3, t:
> 0.2, r: 0, class: SNMP::Info, comm: <hidden>
>
> Error: passphrase chosen is below the length requirements of the USM
> (min=8).
>
> [1] 2024-06-26 22:39:00 debug [10.10.80.80:161] try_connect with v: 3, t:
> 3, r: 2, class: SNMP::Info, comm: <hidden>
>
> Error: passphrase chosen is below the length requirements of the USM
> (min=8).
>
> [1] 2024-06-26 22:39:00 debug discover failed: could not SNMP connect to
> 10.10.80.80
>
> [1] 2024-06-26 22:39:00 debug -> run worker early/100
> "discover::properties"
>
> [1] 2024-06-26 22:39:00 debug -> run worker early/100
> "discover::properties"
>
> [1] 2024-06-26 22:39:00 debug -> run worker early/100
> "discover::properties"
>
> [1] 2024-06-26 22:39:00 debug -> run worker early/100
> "discover::properties"
>
> [1] 2024-06-26 22:39:00 debug => running workers for phase: main
>
> [1] 2024-06-26 22:39:00 debug -> run worker main/100
> "discover::canonicalip"
>
> [1] 2024-06-26 22:39:00 debug -> run worker main/100 "discover::entities"
>
> [1] 2024-06-26 22:39:00 debug -> run worker main/100 "discover::neighbors"
>
> [1] 2024-06-26 22:39:00 debug -> run worker main/100
> "discover::neighbors::docsis"
>
> [1] 2024-06-26 22:39:00 debug -> run worker main/100
> "discover::neighbors::routed"
>
> [1] 2024-06-26 22:39:00 debug -> run worker main/100 "discover::portpower"
>
> [1] 2024-06-26 22:39:00 debug -> run worker main/100
> "discover::portproperties"
>
> [1] 2024-06-26 22:39:00 debug -> run worker main/100
> "discover::portproperties::portaccessentity"
>
> [1] 2024-06-26 22:39:00 debug pae failed: could not SNMP connect to
> 10.10.80.80
>
> [1] 2024-06-26 22:39:00 debug -> run worker main/0
> "discover::properties::tags"
>
> [1] 2024-06-26 22:39:00 debug -> run worker main/0
> "discover::properties::tags"
>
> [1] 2024-06-26 22:39:00 debug -> run worker main/100 "discover::vlans"
>
> [1] 2024-06-26 22:39:00 debug -> run worker main/100 "discover::wireless"
>
> [1] 2024-06-26 22:39:00 debug -> run worker main/0 "discover::withnodes"
>
> [1] 2024-06-26 22:39:00 debug => running workers for phase: late
>
> [1] 2024-06-26 22:39:00 debug -> run worker late/0 "discover::hooks"
>
> [1] 2024-06-26 22:39:00 debug  [10.10.80.80] hooks - skipping due to
> incomplete job
>
> [1] 2024-06-26 22:39:00 debug -> run worker late/0 "discover::snapshot"
>
> [1] 2024-06-26 22:39:00 debug discover failed: could not SNMP connect to
> 10.10.80.80
>
> [1] 2024-06-26 22:39:00  info discover: finished at Wed Jun 26 22:39:00
> 2024
>
> [1] 2024-06-26 22:39:00  info discover: status defer: discover failed:
> could not SNMP connect to 10.10.80.80
>
> ERROR: 1
>
> _______________________________________________
> Netdisco mailing list
> netdisco-users@lists.sourceforge.net
> https://sourceforge.net/p/netdisco/mailman/netdisco-users/
>
>
>
>
> --
>
> mvg,
> Koen
>
> _______________________________________________
> Netdisco mailing list
> netdisco-users@lists.sourceforge.net
> https://sourceforge.net/p/netdisco/mailman/netdisco-users/
>
> _______________________________________________
> Netdisco mailing list
> netdisco-users@lists.sourceforge.net
> https://sourceforge.net/p/netdisco/mailman/netdisco-users/
>

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

Reply via email to