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. Re: Unable to discover equipment (Nicolas FERNANDES)
2. Re: Unable to discover equipment (Oliver Gorwits)
3. Re: unable to poll v3 cisco device, able to snmpwalk -
netdisco 2.031006 (Oliver Gorwits)
4. Re: netdisco remote-user permissions? (Oliver Gorwits)
5. Re: Error during deploy - MIBS (SOLVED) (Oliver Gorwits)
6. Re: netdisco2 adding new MIBs (Oliver Gorwits)
7. starting netdisco at boot time (Stephan Grund)
8. Re: starting netdisco at boot time (Oliver Gorwits)
9. Re: starting netdisco at boot time (Stephan Grund)
--- Begin Message ---
Hi Oliver,
Thank you for your help.
Indeed the community was not good.
I have two communities, one for switches and routers. The second for Wi-Fi
hotspots.
The SNMP request using only the HotSpots community.
How to add the two communities on Netdisco ?
Final question, what is the command to start a discover all ?
Best regards,
Nicolas FERNANDES
--- End Message ---
--- Begin Message ---
Hi Nicolas,
On 2015-02-19 07:55, Nicolas FERNANDES wrote:
I have two communities, one for switches and routers. The second for
Wi-Fi hotspots.
The SNMP request using only the HotSpots community.
How to add the two communities on Netdisco ?
There are two styles of configuration. If you're using SNMP v2 you can
simply have a list of communities:
community: ['first', 'second', 'third']
Or else you can have more flexibility including restricting by IP, and
support for SNMP v3, using the snmp_auth configuration:
https://metacpan.org/pod/distribution/App-Netdisco/lib/App/Netdisco/Manual/Configuration.pod#snmp_auth
Final question, what is the command to start a discover all ?
Either in the web interface under the Admin menu, or on the command
line:
~netdisco/bin/netdisco-do discoverall
(this is not documented, sorry!)
regards,
oliver.
--- End Message ---
--- Begin Message ---
Hi Mike,
First, did you really mean "AES[128]" or something else? I believe it
would be AES or AES128.
Second, all the SNMP authentication is delegated via SNMP::Info down to
the net-snmp module, so it might help to dial up the debugging on that
side. You can add -I (up to twice) for SNMP::Info debugging, and -S (up
to three times) for net-snmp:
https://metacpan.org/pod/distribution/App-Netdisco/bin/netdisco-do#DEBUG-LEVELS
regards,
oliver.
On 2015-02-18 16:51, Michael Sheinberg wrote:
Using Version 2.031006. I'm able to snmpwalk this cisco device using
the same credentials and protocols I'm sticking in the config. So
here
is my config (I've tried password quote/un-quote, proto AES/AES128):
snmp_auth:
- tag: 'router'
user: netdisco
auth:
pass: <passwordauth>
auth: SHA
priv:
pass: <passwordpriv>
proto: AES[128]
That is failing with this command: SHOW_COMMUNITY=1 netdisco-do -DIII
discover -d <ip_address>
Here are the relevant output lines:
[30899] 2015-02-18 16:37:25 debug [<ip_address>] try_connect with
ver:
3, class: SNMP::Info, comm: v3user:netdisco
SNMP::Info::_global(uptime) Authentication failure (incorrect
password, community or key) at
/home/netdisco/perl5/lib/perl5/App/Netdisco/Util/SNMP.pm line 174.
From my cisco log output:
Dropping SNMP request from <netdisco_ip> /50383 to
Dcaoffice_Management:<ip_address>/snmp because: authentication
algorithm failure for user: netdisco
However, using the same credentials from the same machine works fine
under snmpwalk:
snmpwalk -v3 -l authPriv -u netdisco -a SHA -A <passwordauth> -x AES
-X <passwordpriv> <ip_address>
Is there anything I'm missing in my config above? I was able to
netdisco discover another non-cisco device using MD5 and DES
protocols.
THANKS!
MIKE
--- End Message ---
--- Begin Message ---
Hi Mike,
On 2015-02-18 02:22, Michael Sheinberg wrote:
How do I assign admin level permissions to users defined from
x-remote-user? I tried to create a local user with the same username
with admin rights but that didn't do it. Is there a setting that
gives
all authenticated users admin rights?
I take it you've set trust_x_remote_user=true in the configuration?
And then added (for Apache) the config example:
https://metacpan.org/pod/App::Netdisco::Manual::Configuration#trust_x_remote_user
You can check whether the correct header is reaching Netdisco using
Netdisco Web debugging:
https://metacpan.org/pod/distribution/App-Netdisco/lib/App/Netdisco/Manual/Troubleshooting.pod#Debug-HTTP-Requests-and-Configuration
If the header is reaching the app, and trust_x_remote_user is set, then
it might be a bug!
regards,
oliver.
--- End Message ---
--- Begin Message ---
Hi Jon,
Many thanks for this feedback, I've created a tracker item for the
feature:
https://sourceforge.net/p/netdisco/netdisco2/202/
Also for reference, here are the instructions for an "offline"
deployment (i.e. you have the MIB/OUI files downloaded already):
https://metacpan.org/pod/distribution/App-Netdisco/lib/App/Netdisco/Manual/Deployment.pod#Deploy-without-Internet-access
regards,
oliver.
On 2015-02-17 16:07, Jon Gerdes wrote:
I am rolling out another Netdisco 2 and came across this:
---------------------------8<------------------------
Download and update MIB files? [y/N]: y
Error listing contents of archive
'/home/netdisco/netdisco-mibs-snapshot.tar.gz': /bin/tar: This does
not
look like a tar archive
/bin/tar: Skipping to next header
/bin/tar: Exiting with failure status due to previous errors
at /home/netdisco/bin/netdisco-deploy line 277.
Invalid header block at offset unknown
at /usr/lib64/perl5/5.16.2/Archive/Extract.pm line 877.
Unable to extract '/home/netdisco/netdisco-mibs-snapshot.tar.gz':
Invalid header block at offset unknown
at /home/netdisco/bin/netdisco-deploy line 277.
Extract failed due to errors at /home/netdisco/bin/netdisco-deploy
line
277.
---------------------------8<------------------------
Which was due to this (I used wget on the URL at line 277 and this is
what I got back from SourceForge which appears to be quite broken at
the
moment)):
---------------------------8<------------------------
<html><head>
<title>Testing</title>
<!-- <script src="/js/jquery.com/jquery-1.11.0.min.js"></script> -->
<script src="//code.jquery.com/jquery-1.11.0.min.js"></script>
<script src="//sourceforge.net/js/mirrors.js"></script>
<script src="/js/sf.js"></script>
<script>
var DR_loc = DR_parse_hash_url();
if (DR_loc) {
DR_sf_main(DR_loc);
} else {
window.location.href = 'http://sourceforge.net/home.html';
}
</script>
</head><body>
<noscript>
We're sorry -- the Sourceforge site is currently in Disaster Recovery
mode, and currently requires
the use of javascript to function. Please check back later.
</noscript>
</body></html>
---------------------------8<------------------------
I was able to download the MIBs directly though a browser OK so will
do
that bit offline as soon as I can find the instructions 8)
Could I suggest that the deploy script be fixed up to detect whether
a .tar.gz actually comes down the tubes and then it can fail
gracefully,
eg "Unable to download MIBs from <URL>".
Cheers
Jon
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and
Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration &
more
Get technology previously reserved for billion-dollar corporations,
FREE
http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk
_______________________________________________
Netdisco mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/netdisco-users
--- End Message ---
--- Begin Message ---
Hi Mathias,
On 2015-02-16 10:11, [email protected] wrote:
I have some trouble with a netdisco2 installation and some newer
avaya
devices (VSP4000, VSP7000 and VSP7000). Netdisco2 did not recognize
the uplink ports. There are lots of MAC addresses instead of the
connected device. Maybe it would help to add new MIBs. Is there an
easy way to do that?
Are you seeing a "broken link" icon in the device ports view, above the
MAC addresses? This is shown when Netdisco knows there's another device
connected but it hasn't been able to contact it using existing SNMP
configuration.
If you're not seeing any icon, then probably the neighbor protocols
aren't working correctly on that uplink (CDP, LLDP, etc). You can
discover the devices manually using the web form at the homepage of your
Netdisco installation, or at the command line using netdisco-do.
The vendor MIBs will only be needed if the information for the neighbor
protocol (LLDP) isn't in the standard location.
While speaking of MIBs: We have a lot of Hirschmann switchwes (Belden
Group) in our network that are recognized as a switch but not
displayed correctly i.e. in the inventory list. That would be more
MIBs I would like to add.
OK, I will come back to this... at the moment there isn't an easy way,
but I will try to think of something.
regards,
oliver.
--- End Message ---
--- Begin Message ---
Hi!
I want to start netdisco-daemon and netdisco-web at boot-time.
Are there any start-stop scripts available?
TIA
Stephan
--- End Message ---
--- Begin Message ---
Hi Stephan,
On 2015-02-19 13:22, Stephan Grund wrote:
I want to start netdisco-daemon and netdisco-web at boot-time.
Are there any start-stop scripts available?
Yep:
https://metacpan.org/pod/distribution/App-Netdisco/lib/App/Netdisco/Manual/Deployment.pod#Init-and-Run-Control-Scripts
regards,
oliver.
--- End Message ---
--- Begin Message ---
THX for the quick answer.
Stephan
Am 19.02.2015 um 14:24 schrieb Oliver Gorwits:
> Hi Stephan,
>
> On 2015-02-19 13:22, Stephan Grund wrote:
>> I want to start netdisco-daemon and netdisco-web at boot-time.
>> Are there any start-stop scripts available?
>
> Yep:
>
> https://metacpan.org/pod/distribution/App-Netdisco/lib/App/Netdisco/Manual/Deployment.pod#Init-and-Run-Control-Scripts
>
> regards,
> oliver.
>
> ------------------------------------------------------------------------------
> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
> from Actuate! Instantly Supercharge Your Business Reports and Dashboards
> with Interactivity, Sharing, Native Excel Exports, App Integration & more
> Get technology previously reserved for billion-dollar corporations, FREE
> http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk
> _______________________________________________
> Netdisco mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/netdisco-users
>
--
Stephan Grund, Fraunhofer-Institut für Offene Kommunikationssysteme FOKUS
IT-Management, Technischer Mitarbeiter
Kaiserin-Augusta-Allee 31, 10589 Berlin, Germany
Telefon: +49 (0) 30 / 3463 - 7636
Telefax: +49 (0) 30 / 3463 - 99 7636
mailto:[email protected]
http://www.fokus.fraunhofer.de
--- End Message ---
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk
_______________________________________________
Netdisco mailing list - Digest Mode
[email protected]
https://lists.sourceforge.net/lists/listinfo/netdisco-users