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: [EXTERNAL MSG:]RE: [EXTERNAL MSG:]Re: Adding Community
String (Denny Sabu)
--- Begin Message ---
Hi Nick,
Thanks for the response I tried implementing using your example however it did
not help, it still fails to connect. Is there any extra configuration needed
after saving the deployment.yml file? I’ve restarted netdisco-backend, tried
netdisco-deploy again, and restarted the entire server.
I do think it would help to have your example on the Wiki.
Best,
Denny
From: Nick Nauwelaerts <nick.nauwelae...@aquafin.be>
Date: Wednesday, July 7, 2021 at 3:20 PM
To: Christopher Doolan <christopher.doo...@usq.edu.au>, Denny Sabu
<denny.s...@sensato.co>, Miha Kralj <miha.kr...@gmail.com>
Cc: netdisco-users@lists.sourceforge.net <netdisco-users@lists.sourceforge.net>
Subject: [EXTERNAL MSG:]RE: [Netdisco] [EXTERNAL MSG:]Re: Adding Community
String
WARNING: This email originated from outside of Sensato. Do not click links or
open attachments unless you verify by phone with the sender.
dunno if this has been resolved yet, but the docs are here:
https://github.com/netdisco/netdisco/wiki/Configuration#device_auth
it's important that you respect whitespace, also use spaces, not tabs.
(side note: christopher, your example says "- tab", not "- tag", i suspect this
is a typo)
the following is an example from our test system with changed usernames &
secrets, but it covers quite a bit: snmp v2 & v3, cli coillector, exclusions...
my personal recommendation would we to always use tags instead of bare
community strings
----
device_auth:
#snmpsim support
- tag: 'snmpsimdev_ne1032'
only: 127.0.0.2
community: 'ne1032'
- tag: 'snmpsimdev_ne10032'
only: 127.0.0.3
community: 'ne10032'
- tag: 'snmpsimdev_g8052'
only: 127.0.0.4
community: 'g8052'
- tag: 'snmpsimdev_vdx6740'
only: 127.0.0.5
community: 'vdx6740'
- tag: 'snmpsimdev_vdx8770'
only: 127.0.0.6
community: 'vdx8770'
- tag: 'snmpsimdev_mellanox2700'
only: 127.0.0.8
community: 'mellanox2700'
- tag: 'sshcollector'
driver: cli
platform: NXOS
username: thisisauser
only: 'model:N9KC9332PQ'
- tag: 'default_v2_readonly_2'
community: 'somestring'
read: true
write: false
no: "group:v3hosts"
- tag: 'default_v2_readonly_4'
community: 'public'
read: true
write: false
no: "group:v3hosts"
- tag: 'default_v2_readonly_3'
community: 'another_string'
only: 10.40.254.17
read: true
write: false
no: "group:v3hosts"
- tag: 'default_v2_readonly_4'
community: 'public'
read: true
write: false
no: "group:v3hosts"
- tag: 'v3read'
only: 'group:v3hosts_sha_aes'
user: 'v3username'
auth:
pass: 'whoami'
proto: 'SHA'
priv:
pass: 'itsasecret'
proto: 'AES'
----
please let me know if this fixes your issue. i'm tempted to update the wiki
with this as primary example.
// nick
From: Christopher Doolan <christopher.doo...@usq.edu.au>
Sent: Thursday, July 1, 2021 07:29
To: Denny Sabu <denny.s...@sensato.co>; Miha Kralj <miha.kr...@gmail.com>
Cc: netdisco-users@lists.sourceforge.net
Subject: Re: [Netdisco] [EXTERNAL MSG:]Re: Adding Community String
Hi Denny, this worked for me:
device_auth:
- tab: 'default_v2_readonly'
community: 'PRIVATE'
read: true
write: false
Regards
Chris
From: Denny Sabu <denny.s...@sensato.co<mailto:denny.s...@sensato.co>>
Sent: Saturday, 26 June 2021 12:00 AM
To: Miha Kralj <miha.kr...@gmail.com<mailto:miha.kr...@gmail.com>>
Cc:
netdisco-users@lists.sourceforge.net<mailto:netdisco-users@lists.sourceforge.net>
Subject: Re: [Netdisco] [EXTERNAL MSG:]Re: Adding Community String
Hi,
I am still getting the same “Could not SNMP connect to [IP]” error when trying
to do a discover scan.
The syntax matches – Are there any other debugging steps or resources I can use
to help resolve this?
From: Miha Kralj <miha.kr...@gmail.com<mailto:miha.kr...@gmail.com>>
Date: Wednesday, June 23, 2021 at 2:14 AM
To: Denny Sabu <denny.s...@sensato.co<mailto:denny.s...@sensato.co>>
Cc:
netdisco-users@lists.sourceforge.net<mailto:netdisco-users@lists.sourceforge.net>
<netdisco-users@lists.sourceforge.net<mailto:netdisco-users@lists.sourceforge.net>>
Subject: [EXTERNAL MSG:]Re: [Netdisco] Adding Community String
WARNING: This email originated from outside of Sensato. Do not click links or
open attachments unless you verify by phone with the sender.
Hi,
the syntax should be like:
device_auth:
- tag: 'default_v2_readonly'
community: 'public'
community: 'blah1'
community: 'blah2'
On Tue, Jun 22, 2021 at 9:41 PM Denny Sabu
<denny.s...@sensato.co<mailto:denny.s...@sensato.co>> wrote:
Hello All,
I’m trying to add a community string to the deployments.yml file,
I’ve added a community tag
community:
- public
- private
- ******
This doesn’t seem to work, so I also added to the device_auth section:
device_auth
[…]
- tag: “private_str”
community: ‘*****’
read: true
write: false
However, netdisco doesn’t seem to be able to connect.
I can snmpwalk the machine from the same server with the community string and
it connects, but a ./netdisco-do discover -d [IP] ends with “Could not SNMP
connect to [IP]”
Thanks in advance.
_______________________________________________
Netdisco mailing list
netdisco-users@lists.sourceforge.net<mailto:netdisco-users@lists.sourceforge.net>
https://sourceforge.net/p/netdisco/mailman/netdisco-users/
__________________________________________________________________
This email (including any attached files) is confidential and is
for the intended recipient(s) only. If you received this email by
mistake, please, as a courtesy, tell the sender, then delete this
email.
The views and opinions are the originator's and do not necessarily
reflect those of the University of Southern Queensland. Although
all reasonable precautions were taken to ensure that this email
contained no viruses at the time it was sent we accept no
liability for any losses arising from its receipt.
The University of Southern Queensland is a registered provider
of education with the Australian Government.
(CRICOS Institution Code QLD 00244B / NSW 02225M, TEQSA PRV12081)
________________________________
Volg Aquafin op Facebook<https://www.facebook.com/AquafinNV> |
Twitter<https://twitter.com/aquafinnv> |
YouTube<http://www.youtube.com/channel/UCk_4P5BJ-MtEEDCkCsR_KqQ?feature=mhee> |
LinkedIN<http://www.linkedin.com/company/aquafin/products> |
Instagram<https://www.instagram.com/aquafin_nv/>
In het kader van de uitoefening van onze taken verzamelen we bij Aquafin
persoonsgegevens. Hoe we omgaan met deze gegevens en wat de rechten van de
betrokkenen zijn, kan je nalezen in onze privacy
policy<https://www.aquafin.be/nl-be/privacy-policy>.
P Denk aan het milieu. Druk deze mail niet onnodig af.
[https://www.aquafin.be/sites/aquafin/files/styles/paragraph_with_caption/public/2021-04/banner_verhuis%20HK_600x200_blauw_12042021_M.png?itok=ugZqjHed]<https://www.aquafin.be/>
--- End Message ---
_______________________________________________
Netdisco mailing list - Digest Mode
netdisco-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/netdisco-users