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: SNMP::Info Duplicate Serial Numbers for Cisco Nexus with
      VPC Peers (Oliver Gorwits)
   2. Portlist on some won?t show up, postgresql uses high cpu
      (Sebastian R?sch)
   3. Re: Reports not running if user doesn't have Admin rights
      (Steven Xu)
   4. Re: Portlist on some won?t show up, postgresql uses high cpu
      (Steven Xu)
--- Begin Message ---
On 2015-10-12 16:52, Chip Pleasants wrote:
Please disregard.  We found it to be an issue with another piece of
open source code. 

Okay, thanks for letting us know :)

regards,
oliver.



--- End Message ---
--- Begin Message ---
Hello,

I don´t know, since when exactly, but perhaps since the last update  to 
2.033002 I recognize, that opening the Ports-Tab on some devices will bring a 
postgresql process to consume 100% cpu (on one core). After 1-2 minutes, the 
process leaves but no result in the webinterface. I only see the "search 
failed" error.


Does somebody know what to do here?


Best Regards
Sebastian

--- End Message ---
--- Begin Message --- Hi John,

I also discovered the same error with the PoE report. The code requires users to have the admin flag to open the PoE report. I'm not sure if this was intentional but I suspect it's a bug.

Steven

-----"Bracey, John" <jbra...@csuchico.edu> wrote: -----
To: "netdisco-users@lists.sourceforge.net" <netdisco-users@lists.sourceforge.net>
From: "Bracey, John" <jbra...@csuchico.edu>
Date: 10/11/2015 04:43PM
Subject: [Netdisco] Reports not running if user doesn't have Admin rights

Hello All:

 

I have a new installation of Netdisco 2 and an existing Netdisco 1 installation that I will retire once I have the Netdisco 2 install all tested out (see stats below for particulars on my install).  I exported my Netdisco 1 database and imported it into the Netdisco 2 server when I built it.  These two installs are on separate servers from each other.

 

I did some searches in the list archive and I didn’t come up with any matches for my particular issue.

 

My issues are that I have two reports that give a JSON error when I try to run them logged in with a user account that doesn’t have Admin privileges:

 

1.        Device -> Power over Ethernet (PoE) Status

2.       Wireless -> Access Point Radios Channel and Power.

 

These reports run fine if the user account I’m logged in with has Admin rights.

 

I also don’t get any data in the PoE column in a given switches ‘Ports’ tab even though I can see that I’m getting PoE data in my PoE Status report when I run it as an admin.

 

Any ideas of things I can look at or did I just find a couple of bugs?

 

Thanks in advance.

 

John Bracey, Sr. Network Analyst

Computing & Communication Services / Network Operations

California State University, Chico

530-898-5400

 

 

Built using Open Source

Software

Version

App::Netdisco

2.033002

DB Schema

v40

Dancer

1.3142

Bootstrap

2.3.1

PostgreSQL

PostgreSQL 8.4.20 on x86_64-redhat-linux-gnu, compiled by GCC gcc (GCC) 4.4.7 20120313 (Red Hat 4.4.7-9), 64-bit.
 DBI 1.634, DBD::Pg 2.15.1

SNMP::Info

3.28

Perl

5.010001

Statistics for this installation


192 devices with 17,716 interfaces using 732 IPs

933 layer 2 links between devices

58,021 nodes in 761,448 entries

93,604 IPs in 187,934 entries

Statistics took 80 seconds to process.


 

------------------------------------------------------------------------------
_______________________________________________
Netdisco mailing list
netdisco-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/netdisco-users

--- End Message ---
--- Begin Message --- Hi Sebastian,

I know that for certain devices with many ports (1,500 does it for me) and having many columns enabled, will eat up a great deal of RAM (you could try monitoring it yourself to confirm) and cause one of the server workers to crash. This would result in an error in the web interface.

Reducing the columns may help. Increasing the RAM on my machine to 8GB sufficed as a workaround for me. I'm already working on a code fix for this.

Steven

-----Sebastian Rösch <roe...@alcera.de> wrote: -----
To: "netdisco-users@lists.sourceforge.net" <netdisco-users@lists.sourceforge.net>
From: Sebastian Rösch <roe...@alcera.de>
Date: 10/13/2015 03:18AM
Subject: [Netdisco] Portlist on some won´t show up, postgresql uses high cpu

Hello,

 

I don´t know, since when exactly, but perhaps since the last update  to 2.033002 I recognize, that opening the Ports-Tab on some devices will bring a postgresql process to consume 100% cpu (on one core). After 1-2 minutes, the process leaves but no result in the webinterface. I only see the “search failed” error.

 

 

Does somebody know what to do here?

 

 

Best Regards

Sebastian

------------------------------------------------------------------------------
_______________________________________________
Netdisco mailing list
netdisco-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/netdisco-users

--- End Message ---
------------------------------------------------------------------------------
_______________________________________________
Netdisco mailing list - Digest Mode
netdisco-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/netdisco-users

Reply via email to