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: unable to poll v3 cisco device, able to snmpwalk -
      netdisco 2.031006 (Michael Sheinberg)
   2. Re: unable to poll v3 cisco device, able to snmpwalk -
      netdisco 2.031006 (Oliver Gorwits)
   3. Re: netdisco remote-user permissions? (Oliver Gorwits)
   4. Re: Reports (Oliver Gorwits)
   5. How to display the archived nodes? (Gerhard Rappenecker)
   6. Re: How to display the archived nodes? (Oliver Gorwits)
   7. Re: netdisco 2 and Dell Powerconnect 5524 and 5548 Hardware
      Status (David Weise)
--- Begin Message ---
Nevermind - the second part was something dumb on my end with the network 
equipment. Thanks for pointing me in the right direction!

--Mike

-----Original Message-----
From: Michael Sheinberg [mailto:mshe...@endgame.com]
Sent: Saturday, February 21, 2015 3:27 PM
To: 'Oliver Gorwits'; netdisco-users@lists.sourceforge.net
Subject: Re: [Netdisco] unable to poll v3 cisco device, able to snmpwalk - 
netdisco 2.031006

Durrrrr. Hah - good catch. I believe you mean that I should change 'auth:
SHA' to 'proto: SHA' ? The weird thing is I got it to work with a similar 
config on my other switch though (with my error included). I wonder if it just 
fell back to MD5 for auth as the default, which is what I was using.

I'm still experiencing the same error unfortunately even after making this 
adjustment though (same errors in the logs):

snmp_auth:
  - tag: 'router'
    user: netdisco
    auth:
      pass: <pass>
      proto: SHA
    priv:
      pass: <pass>
      proto: AES


here is the config listed in the documentation:
snmp_auth:
   - tag: v3example
     user: netdisco
     auth:
       pass: netdiscokey
       proto: MD5
     priv:
       pass: netdiscokey2
       proto: DES

-mike


-----Original Message-----
From: Oliver Gorwits [mailto:oli...@cpan.org]
Sent: Friday, February 20, 2015 3:43 PM
To: netdisco-users@lists.sourceforge.net
Subject: Re: [Netdisco] unable to poll v3 cisco device, able to snmpwalk - 
netdisco 2.031006

Hi Mike,

I think I spotted the error...

On 2015-02-19 19:35, Michael Sheinberg wrote:
> snmp_parse: Parsed SNMPv3 message (secName:netdisco,
> secLevel:noAuthNoPriv)
> comparex: Comparing: 1 3 usmNoPrivProtocol
> SNMP::Info::_global(uptime) Authentication failure (incorrect
> password, communi

That the code settled on "noAuthNoPriv" is a red flag - you wanted Auth and 
Priv!

It seems you have "auth: SHA" in your config but it should be "priv:
SHA"?

https://metacpan.org/pod/distribution/App-Netdisco/lib/App/Netdisco/Manual/C
onfiguration.pod#snmp_auth

Please double check the config compared to the example in the link, and let me 
know how you get on.

regards,
oliver.

> 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#DEB
> UG-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

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



--- End Message ---
--- Begin Message ---
On 2015-02-21 20:59, Michael Sheinberg wrote:
Nevermind - the second part was something dumb on my end with the
network equipment. Thanks for pointing me in the right direction!

No problem, I'm glad it worked in the end.

regards,
oliver.




--- End Message ---
--- Begin Message ---
Hi Mike,

On 2015-02-19 19:16, Michael Sheinberg wrote:
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?

Ah, yes, you need to bootstrap yourself by setting up a new user with Admin rights.

Even with trust_x_remote_user enabled, you ought to be able to access the application on port 5000 directly (assuming listening on 0.0.0.0 and not localhost) - if that's not the case then we have a bug.

Create a new user under Admin -> Users with the name of your apache authN user, and assign Admin rights. Then when you log in via Apache you should have Admin rights.

If it's not working this way, please let me know and I'll try to replicate the problem here (I don't run with Apache day-to-day).

regards,
oliver.



--- End Message ---
--- Begin Message ---

On 2015-02-18 11:41, Oliver Gorwits wrote:
On 2015-02-18 10:16, Bavo Seesink wrote:
I want a report of all devices witch IOS and export it to Excel.
If i click on "Reports" and "device" and "Port Utilization" it show a
small document icon.
But when i click "Reports" and "device" and then "Inventory by Model
OS" it does not show the export document icon.

Following up again, I've added the feature to Netdisco to permit searching on Device OS. The main Inventory page (linked from title bar) now has OS names as hyperlinks to the report (with the CSV export icon).

This feature is in version 2.031008, which should be on CPAN mirrors in a couple of hours.

regards,
oliver.



--- End Message ---
--- Begin Message ---
Hi all,

I_m running Netdisco Version 1.0

In netdisco.conf the Database Maintenance and Data Removal is configured:
expire_devices       = 365
expire_nodes         = 365
expire_nodes_archive = 3650

My problem:
Doing a Search by Age in the IP Inventory never shows IPs older than one year 
("IPs not used in one year")
How can I display the expired nodes between 365 and 3650 days?

Thanks for your help.
Gerhard Rappenecker








--- End Message ---
--- Begin Message ---
Hi Gerhard,

On 2015-02-23 13:02, Gerhard Rappenecker wrote:
I_m running Netdisco Version 1.0

Please take a look at upgrading to Netdisco 2, if you can:

https://metacpan.org/pod/App::Netdisco

In netdisco.conf the Database Maintenance and Data Removal is configured:
expire_devices       = 365
expire_nodes         = 365
expire_nodes_archive = 3650

My problem:
Doing a Search by Age in the IP Inventory never shows IPs older than
one year ("IPs not used in one year")
How can I display the expired nodes between 365 and 3650 days?

The expire_nodes configuration option affects *both* archived and non-archived nodes:

http://www.netdisco.org/readme.html#database_maintenance

So, there are no nodes after 365 days. With your configuration, expire_nodes_archive is never used. Usually expire_nodes_archive is less than expire_nodes. For example in Netdisco 2 the defaults are:

https://metacpan.org/pod/distribution/App-Netdisco/lib/App/Netdisco/Manual/Configuration.pod#expire_nodes

regards,
oliver.



--- End Message ---
--- Begin Message ---
hi,
No, I'm saying it's not displaying in Netdisco 2. (I have no idea if it's working in our Netdisco 1.x, but I'll take a look). The class displayed in Netdisco 2 is SNMP::Info::Layer3::Dell <https://metacpan.org/pod/SNMP%3A%3AInfo%3A%3ALayer3%3A%3ADell>

--David
On 2/20/2015 5:37 PM, Oliver Gorwits wrote:
Hi David,

On 2015-02-19 17:54, David Weise wrote:
   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.
To be clear, are you saying in Netdisco 1.x the information is
displayed correctly, but it isn't in Netdisco 2?

If so, could you have manually installed any extra Dell MIBs on the 1.x
system?

If not, it's not unsurprising because this information needs to be
coded for each platform. I can't see that this is done for Dell, at a
quick glance.

Might also help to know what platform Netdisco thinks the Dells are.
You can see this under "SNMP Class" on the Device Details page.

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

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


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