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: Error during deploy - MIBS (SOLVED) (Jon Gerdes)
   2. netdisco 2 and Dell Powerconnect 5524 and 5548 Hardware
      Status (David Weise)
   3. Re: netdisco remote-user permissions? (Michael Sheinberg)
   4. Re: unable to poll v3 cisco device, able to snmpwalk -
      netdisco 2.031006 (Michael Sheinberg)
--- Begin Message ---
On Thu, 2015-02-19 at 12:09 +0000, Oliver Gorwits wrote:
> 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.

Oliver

Thanks for the link - I've RTFM now.  That's going to be a better
solution than my lightly editing the script to jump over the file
download 8)

Cheers
Jon



--- End Message ---
--- Begin Message ---
hi,
We are upgrading to Netdisco 2. So far it's been a great product! (our office loves netdisco 1.x) However we have found that the "Hardware Status" for:
Fan:
PS1 []:
PS2 []:

Are blank as you see above. The cisco's statuses are fine. I've downloaded the mibs and manually installed, but still no go. Does anybody have the same problem or solution? Thanks for any help.
(Running on RHEL 6.6 64bit, on Vmware)
--David Weise

--
System Administrator
Rider University
2083 Lawrenceville Rd.
Lawrenceville, NJ 08648
(609)896-5000 x7439


--- End Message ---
--- Begin Message ---
Well, I already have the trust_x_remote_user working in my config (and did
the whole debugging thing when I was troubleshooting). My question is - how
do I assign that user admin level rights? Once I flip that
trust_x_remote_user setting on and enable my apache authorization demands, I
can no longer sign in as the built-in netdisco admin user so I need a way to
assign admin level rights to other users. Does that make sense?

Thanks!
-Mike

-----Original Message-----
From: Oliver Gorwits [mailto:oli...@cpan.org] 
Sent: Thursday, February 19, 2015 7:06 AM
To: netdisco-users@lists.sourceforge.net
Subject: Re: [Netdisco] netdisco remote-user permissions?

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/T
roubleshooting.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.

----------------------------------------------------------------------------
--
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
netdisco-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/netdisco-users

Attachment: smime.p7s
Description: S/MIME cryptographic signature


--- End Message ---
--- Begin Message ---
Sorry for the confusion - I meant that I tried both AES and AES128 and
neither
worked. 

Thanks for the extra debug insight - I'll trace that output, so far getting
a 

snmp_parse: Parsed SNMPv3 message (secName:netdisco, secLevel:noAuthNoPriv)
comparex: Comparing: 1 3 usmNoPrivProtocol
SNMP::Info::_global(uptime) Authentication failure (incorrect password,
communi
ty or key) at /home/netdisco/perl5/lib/perl5/App/Netdisco/Util/SNMP.pm line
174
.

but I realize this issue is falling out of the scope of netdisco, I'm not an
snmp expert by any means so I'll have to do some more research.

Thanks!

Mike

-----Original Message-----
From: Oliver Gorwits [mailto:oli...@cpan.org]
Sent: Thursday, February 19, 2015 7:02 AM
To: netdisco-users@lists.sourceforge.net
Subject: Re: [Netdisco] unable to poll v3 cisco device, able to snmpwalk -
netdisco 2.031006

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-LEV
ELS

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


----------------------------------------------------------------------------
--
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
netdisco-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/netdisco-users

Attachment: smime.p7s
Description: S/MIME cryptographic signature


--- 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
netdisco-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/netdisco-users

Reply via email to