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. No snmpv3 connection even configured (?ern? Lubom?r (UNP-RPA))
2. Re: No snmpv3 connection even configured (Oliver Gorwits)
--- Begin Message ---
Hi.
We switched from snmpv2 to v3. Config is in place but discover proces did not
even try to use v3. Only v1 and v2:
Discover proces tries several v2 communities but did not use v3 conection.
----------- Config:
# SNMP community string(s)
# ````````````````````````
snmp_auth:
snmpforce_v3:
- tag: 'SNMPv3Test'
user: userv3
auth:
pass: 'Password*Tst'
proto: SHA
priv:
pass: 'Password*Tst'
proto: AES
read: true
write: false
---------- CLI output:
netdisco@netdisco:~/bin$ ./netdisco-do -d 10.240.6.20 discover -D
[8019] 2019-04-03 10:52:38 info App::Netdisco version 2.042004 loaded.
[8019] 2019-04-03 10:52:38 info discover: [10.240.6.20] started at Wed Apr 3
12:52:38 2019
[8019] 2019-04-03 10:52:38 debug discover: running with timeout 600s
[8019] 2019-04-03 10:52:38 debug => running workers for phase: check
[8019] 2019-04-03 10:52:38 debug -> run worker check/_base_/0
[8019] 2019-04-03 10:52:38 debug Discover is able to run.
[8019] 2019-04-03 10:52:38 debug => running workers for phase: early
[8019] 2019-04-03 10:52:38 debug -> run worker early/properties/100
[8019] 2019-04-03 10:52:38 debug snmp reader cache warm: [10.240.6.20]
[8019] 2019-04-03 10:52:38 debug [10.240.6.20:161] try_connect with ver: 2,
class: SNMP::Info, comm: <hidden>
[8019] 2019-04-03 10:52:41 debug [10.240.6.20:161] try_connect with ver: 1,
class: SNMP::Info, comm: <hidden>
[8019] 2019-04-03 10:52:44 debug [10.240.6.20:161] try_connect with ver: 2,
class: SNMP::Info, comm: <hidden>
[8019] 2019-04-03 10:52:47 debug [10.240.6.20:161] try_connect with ver: 1,
class: SNMP::Info, comm: <hidden>
[8019] 2019-04-03 10:52:50 debug [10.240.6.20:161] try_connect with ver: 2,
class: SNMP::Info, comm: <hidden>
[8019] 2019-04-03 10:52:53 debug [10.240.6.20:161] try_connect with ver: 1,
class: SNMP::Info, comm: <hidden>
[8019] 2019-04-03 10:52:56 debug discover failed: could not SNMP connect to
10.240.6.20
Any idea, please ?
eL.
--- End Message ---
--- Begin Message ---
Hi,
Please would you clarify these lines in your config paste:
snmp_auth:
snmpforce_v3:
Because that seems wrong. I guess you want "snmpforce_v3: true" on one line
and then the rest within snmp_auth ?
regards,
Oliver.
On Wed, 3 Apr 2019 at 12:17, Černý Lubomír (UNP-RPA) <
[email protected]> wrote:
> Hi.
>
> We switched from snmpv2 to v3. Config is in place but discover proces did
> not even try to use v3. Only v1 and v2:
>
> Discover proces tries several v2 communities but did not use v3 conection.
>
>
>
> ----------- Config:
>
> # SNMP community string(s)
>
> # ````````````````````````
>
> snmp_auth:
>
> snmpforce_v3:
>
> - tag: 'SNMPv3Test'
>
> user: userv3
>
> auth:
>
> pass: 'Password*Tst'
>
> proto: SHA
>
> priv:
>
> pass: 'Password*Tst'
>
> proto: AES
>
> read: true
>
> write: false
>
>
>
>
>
> ---------- CLI output:
>
>
>
> netdisco@netdisco:~/bin$ ./netdisco-do -d 10.240.6.20 discover -D
>
> [8019] 2019-04-03 10:52:38 info App::Netdisco version 2.042004 loaded.
>
> [8019] 2019-04-03 10:52:38 info discover: [10.240.6.20] started at Wed
> Apr 3 12:52:38 2019
>
> [8019] 2019-04-03 10:52:38 debug discover: running with timeout 600s
>
> [8019] 2019-04-03 10:52:38 debug => running workers for phase: check
>
> [8019] 2019-04-03 10:52:38 debug -> run worker check/_base_/0
>
> [8019] 2019-04-03 10:52:38 debug Discover is able to run.
>
> [8019] 2019-04-03 10:52:38 debug => running workers for phase: early
>
> [8019] 2019-04-03 10:52:38 debug -> run worker early/properties/100
>
> [8019] 2019-04-03 10:52:38 debug snmp reader cache warm: [10.240.6.20]
>
> [8019] 2019-04-03 10:52:38 debug [10.240.6.20:161] try_connect with ver:
> 2, class: SNMP::Info, comm: <hidden>
>
> [8019] 2019-04-03 10:52:41 debug [10.240.6.20:161] try_connect with ver:
> 1, class: SNMP::Info, comm: <hidden>
>
> [8019] 2019-04-03 10:52:44 debug [10.240.6.20:161] try_connect with ver:
> 2, class: SNMP::Info, comm: <hidden>
>
> [8019] 2019-04-03 10:52:47 debug [10.240.6.20:161] try_connect with ver:
> 1, class: SNMP::Info, comm: <hidden>
>
> [8019] 2019-04-03 10:52:50 debug [10.240.6.20:161] try_connect with ver:
> 2, class: SNMP::Info, comm: <hidden>
>
> [8019] 2019-04-03 10:52:53 debug [10.240.6.20:161] try_connect with ver:
> 1, class: SNMP::Info, comm: <hidden>
>
> [8019] 2019-04-03 10:52:56 debug discover failed: could not SNMP connect
> to 10.240.6.20
>
>
>
> Any idea, please ?
>
>
>
> eL.
> _______________________________________________
> Netdisco mailing list
> [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