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: Netdisco 2 with GraphViz (Oliver Gorwits)
   2. NetDisco upgrade (Ahmer Zakir)
   3. Re: NetDisco upgrade (Oliver Gorwits)
   4. Adding additional SNMP device mibs on Netdisco2 (Rudolf Venter)
   5. Re: Adding additional SNMP device mibs on Netdisco2
      (Oliver Gorwits)
   6. netdisco2 startup (Delin, Franklin C)
   7. Re: netdisco2 startup (Oliver Gorwits)
   8. netdisco2 - vlaninventory is really slow (Chris Stromsoe)
--- Begin Message ---
Hi Joseph,

On 2014-05-02 13:59, Joseph Hardeman wrote:
While digging around last night, I found that netdisco2 should be
using netmap with 3d library?  I see where its calling for side bars
in the css file.  

I'm a bit confused by what you're saying here. Yes, Netdisco 2 uses the "d3" javascript library but it's included with the Netdisco installation so there is nothing extra to install. Are you saying that it's not loading in your web browser?

Perhaps you can try the public demo site. You should see a really simple netmap of two or three devices:

http://netdisco2-demo.herokuapp.com/device?tab=netmap&q=router-16.example.com&depth=8&vlan=

If nothing displays, can you let us know what web browser you're using? Is JavaScript enabled?

regards,
oliver.


 What needs to be installed to make this work and what settings do I
need to make in any conf files?  

If NetDisco2 doesn't support a Graphical Network Map yet, thats cool,
I will dump this setup and do a manual install of the latest 1.3.3
version which runs with GraphViz.

Please let me know.

Joe

On Thu, May 1, 2014 at 9:07 PM, Joseph Hardeman <jwharde...@gmail.com
[2]> wrote:

Hi Everyone,

I am installing Netdisco2 using the instructions
at https://metacpan.org/pod/App::Netdisco [1] and I am not able to
figure out how to setup and incorporate GraphViz.  In Netdisco1 it
was there.

Also, can someone point me to a list of Plugins that are available
for Netdisco2?

Thanks

Joe



Links:
------
[1] https://metacpan.org/pod/App::Netdisco
[2] mailto:jwharde...@gmail.com




--- End Message ---
--- Begin Message ---
Hi,
I have inherited a NetDisco 1.1 installation and I want to upgrade it to
either 1.3.3 or version 2.0. I would appreciate your advice whether I
should go for 1.3.3 or 2.0 and also please provide me with the instructions
to upgrade from 1.1 to 1.3.3/2.0.


Regards,
Ahmer Zakir

--- End Message ---
--- Begin Message ---
Hi Ahmer,

On 2014-05-02 18:46, Ahmer Zakir wrote:
I have inherited a NetDisco 1.1 installation and I want to upgrade it
to either 1.3.3 or version 2.0. I would appreciate your advice whether
I should go for 1.3.3 or 2.0 and also please provide me with the
instructions to upgrade from 1.1 to 1.3.3/2.0.

We recommend you upgrade to Netdisco 2. The process is documented here:

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

Some notes for you:

* backup your database before starting the work
* Netdisco 2 and 1 can co-exist happily on a web server, except...
* the Netdisco 2 backend daemon and its "housekeeping" config replace the Netdisco 1 cron jobs

I hope this helps,

regards,
oliver.



--- End Message ---
--- Begin Message ---
HI All

I have a Netdisco 2 deployment and I have a network of Huawei switches that it 
is querying. Currently the vendor is discovered as unknown and I would like to 
add the different Huawei mibs into the system. From the Netdisco 2 
documentation it does not seem very clear on the process for this.

Can anyone give me some guidance for adding additional device mibs to the 
system on Netdisco2?

Regards

Rudolf Venter
Core2Africa Networks


--- End Message ---
--- Begin Message ---
Hi Rudolf,

On 2014-05-06 20:10, Rudolf Venter wrote:
I have a Netdisco 2 deployment and I have a network of Huawei switches that it is querying. Currently the vendor is discovered as unknown and
I would like to add the different Huawei mibs into the system. From
the Netdisco 2 documentation it does not seem very clear on the
process for this.

Can anyone give me some guidance for adding additional device mibs to
the system on Netdisco2?

Take a look in the ~/netdisco-mibs/huawei/ directory.

There's probably an updated version of one of those files available to identify the new model(s). Let us know what it is and where we can get a copy, and we'll update netdisco-mibs for you.

regards,
oliver.



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

I installed netdisco 2 on Ubuntu 14.04 server 64 yesterday using the 
instructions at 
http://www.wiki.cl.cam.ac.uk/rowiki/SysInfo/NetdiscoInstallationNotes. The 
initial db deploy works fine as the netdisco user but when I try to start the 
web component it says it succeeds but an immediate status confirms that it is 
not up.  It comes up and answers requests on port 5000 if I start it as the 
root user.  I've done a find for user root in NETDISCO_HOME while it is up and 
the only file owned by root is the pid file, everything else is properly owned 
by netdisco.  Are there any files that are created outside NETDISCO_HOME that 
it might be choking on?

Thanks,

Frank

--- End Message ---
--- Begin Message ---
Hi Frank,

Many thanks for trying out Netdisco 2.

I suggest you use the official installation docs at this page: https://metacpan.org/pod/App::Netdisco

The notes from the web page are useful but unfortunately don't take into account changes to the application (such as that port 80 can be used, and so on).

If you have trouble after following the above link, please let us know.

regards,
oliver.


On 2014-05-13 14:48, Delin, Franklin C wrote:
Hello all,

I installed netdisco 2 on Ubuntu 14.04 server 64 yesterday using the
instructions at
http://www.wiki.cl.cam.ac.uk/rowiki/SysInfo/NetdiscoInstallationNotes
[1]. The initial db deploy works fine as the netdisco user but when I
try to start the web component it says it succeeds but an immediate
status confirms that it is not up. It comes up and answers requests on
port 5000 if I start it as the root user. I've done a find for user
root in NETDISCO_HOME while it is up and the only file owned by root
is the pid file, everything else is properly owned by netdisco. Are
there any files that are created outside NETDISCO_HOME that it might
be choking on?

Thanks,

Frank

Links:
------
[1] http://www.wiki.cl.cam.ac.uk/rowiki/SysInfo/NetdiscoInstallationNotes




--- End Message ---
--- Begin Message --- Pulling the vlan inventory report in Netdisco2 is really slow in my installation (postgresql 9.1, up to date nd2).

The code in VlanInventory.pm produces this query:

        SELECT vlan.vlan, vlan.description, COUNT( DISTINCT( ports.ip ) ), 
COUNT( ports.vlan )
        FROM device_vlan me
        LEFT JOIN device_port_vlan ports
        ON ( ports.ip = me.ip AND ports.vlan = me.vlan )
        LEFT JOIN device_vlan vlan
        ON ( vlan.ip = ports.ip AND vlan.vlan = ports.vlan )
        WHERE ( vlan.description != 'NULL' )
        GROUP BY vlan.vlan, vlan.description

It's called once, wrapped in a COUNT(), by

        return unless $set->count;

then once again when feeding to the output template.

In my installation, each query run takes around 35s, for an average total pageload of 70s.

Rewriting the SQL as

        SELECT vlan.vlan, vlan.description, COUNT( DISTINCT( ports.ip ) ), 
COUNT( ports.vlan )
        FROM device_vlan vlan, device_port_vlan ports
        WHERE ( ports.ip = vlan.ip AND ports.vlan = vlan.vlan AND 
vlan.description != 'NULL' )
        GROUP BY vlan.vlan, vlan.description;

drops the pageload time to around 1.5s and seems to produce the same output.

I'm not familiar with DBIC. Is anybody already working on adjusting the code to produce more performant SQL on the backend?


-Chris



--- End Message ---
------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
Netdisco mailing list - Digest Mode
netdisco-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/netdisco-users

Reply via email to