Christian Ramseyer 031c3e6d95 Optimize PortMAC query
* We meant well but it turns out that the array unnest and join is
  actually very slow, as the join arguments do not get pushed down
  into the CTE (in Postgres 9/10 at least, later versions remove some
  of the optimization barriers in that specifc type of query)
* This caused a seq scan on both device and device_port, and the query
  is executed many times during macsuck
* The query is now rewritten to use ANY (macaddr[]) and without CTE,
  which seems to be around 20x faster
2020-01-31 10:32:02 +01:00
2018-01-21 21:51:04 +00:00
2019-08-28 22:43:29 +02:00
2020-01-31 10:32:02 +01:00
2019-08-29 02:22:28 +02:00
2019-06-25 03:42:18 +02:00
2019-08-27 00:02:39 +02:00
2019-10-15 18:56:11 +01:00
2019-08-23 15:28:31 +01:00
2020-01-23 18:47:30 +00:00
2019-05-02 05:07:08 +02:00
2020-01-26 21:46:09 +00:00
2020-01-26 21:46:09 +00:00
2018-02-03 19:12:16 +00:00

CPAN version Release date Build Status Docker Image

Netdisco is a web-based network management tool suitable for small to very large networks. IP and MAC address data is collected into a PostgreSQL database using SNMP, CLI, or device APIs. Some of the things you can do with Netdisco:

  • Locate a machine on the network by MAC or IP and show the switch port it lives at
  • Turn off a switch port, or change the VLAN or PoE status of a port
  • Inventory your network hardware by model, vendor, software and operating system
  • Pretty pictures of your network

See the demo at: https://netdisco2-demo.herokuapp.com/

Installation

Netdisco is written in Perl and is self-contained apart from the PostgreSQL database, so is very easy to install and runs well on any linux or unix system. We also have docker images if you prefer.

It includes a lightweight web server for the interface, a backend daemon to gather data from your network, and a command line interface for troubleshooting. There is a simple configuration file in YAML format.

Please check out the installation instructions on CPAN.

You can also speak to someone in the #netdisco@freenode IRC channel, or on the community email list.

Description
No description provided
Readme 11 MiB
Languages
Perl 73.2%
JavaScript 12.8%
CSS 6.5%
Raku 3.5%
PLpgSQL 2.7%
Other 1.3%