Commit Graph
100 Commits
Author SHA1 Message Date
Oliver Gorwits 3c4a363c78 12 MB threshold for rename versus truncate 2015-01-24 21:01:47 +00:00
Oliver Gorwits 4f9167d6f4 Log files now rotate at 10MB up to seven times 2015-01-24 18:59:08 +00:00
Oliver Gorwits 2d48243326 another temporary fix for v6 addr / mac addr confusion in NetAddr::MAC 2015-01-24 13:43:23 +00:00
Oliver Gorwits 124f1b5ed1 upgrade to NetAddr::MAC 0.92 due to bug 2015-01-24 10:16:32 +00:00
Oliver Gorwits b4871a1499 release 2.030000 2015-01-08 11:11:07 +00:00
Oliver Gorwits b2d61b3d5f [#193] DBI Exception for Cisco ACE MacAddr format
Also standardise on IEEE MAC format now that NetAddr::MAC has that corrected.
2015-01-08 11:07:28 +00:00
Oliver Gorwits 7a7e4b81ce update M::I 2015-01-03 10:07:24 +00:00
Oliver Gorwits ca078c8f62 Merge branch 'master' of ssh://git.code.sf.net/p/netdisco/netdisco-ng 2015-01-03 09:59:40 +00:00
Oliver Gorwits 4beb4223a3 [#18] Inventory by Model by OS Report 2015-01-01 19:50:17 +00:00
Oliver Gorwits af16e1f4f9 [#15] Undiscovered Neighbor report JOIN fixed, and updated to include
the ports where Macsuck saw the MAC address of a known Device
2015-01-01 18:38:39 +00:00
Oliver Gorwits af24ecf57d update Device Ports CSV output to match new report format 2015-01-01 17:55:30 +00:00
Oliver Gorwits 27fe7c3e65 update IP Inventory CSV output to match new report format 2015-01-01 17:54:46 +00:00
Oliver Gorwits d44d6a84a8 Delete all job queue entries (regardless of status) when deleting device 2015-01-01 17:52:48 +00:00
Oliver Gorwits 06f62f97b7 [#4] Allow comment on device port in the log, for any user 2015-01-01 17:48:25 +00:00
Oliver Gorwits f9122ce72e update M::I 2015-01-01 16:48:49 +00:00
Oliver Gorwits e680b3922c update JSON libraries for compat 2014-12-31 10:34:30 +00:00
Oliver Gorwits 472fd38d69 additional BSD notes 2014-12-26 12:00:07 +00:00
Oliver Gorwits 51e2984724 additional BSD notes 2014-12-26 11:55:04 +00:00
Oliver Gorwits 87fe634231 Ignore entries in the discover form that dont look like IP/hostname 2014-12-24 19:12:34 +00:00
Oliver Gorwits f366576027 Fix for node search on some formats of IPv6 addr being seen as MAC 2014-12-24 18:45:52 +00:00
Oliver Gorwits cceae236d1 Update IP Inventory to show MAC address and have working Last Used sort 2014-12-24 18:23:13 +00:00
Oliver Gorwits 692482caa7 Add BSD install notes 2014-12-24 16:17:15 +00:00
Oliver Gorwits 1ed59c4864 Request net-snmp-devel on Fedora/Red-Hat builds 2014-12-24 15:49:33 +00:00
Oliver Gorwits a5af9a1717 also bump version in META 2014-11-20 08:04:36 +00:00
Oliver Gorwits 0bb10f5db6 release 2.029014 2014-11-19 23:04:59 +00:00
Oliver Gorwits 8856cc5d03 update deps versions 2014-11-19 23:02:45 +00:00
Oliver Gorwits 2f6c2c0cdb [#172] Native VLAN change compatible with Cisco (trunk/access) and Others
This will first try to set the pvid (Cisco trunk),
and then use vlan (everything else).

Ideally we instead get SNMP::Info to make a smart choice which was the
intention behind set_i_untagged, but it's broken at the moment.
2014-11-19 22:20:12 +00:00
Oliver Gorwits 16c4d9cfbe correct link in jobqueue template 2014-11-19 22:13:20 +00:00
Oliver Gorwits d91ee66634 Discovered devices are polled for ARP and MAC immediately 2014-11-19 22:05:34 +00:00
Oliver Gorwits 59a53b2c65 latest Dancer dep 2014-11-19 21:58:57 +00:00
Oliver Gorwits 312c55cddd revert hack for NetAddr::MAC now that upstream has fixed Microsoft and IEEE formats 2014-11-19 13:17:45 +00:00
Oliver Gorwits 68cd5d2447 Merge branch 'master' of ssh://olly_g@git.code.sf.net/p/netdisco/netdisco-ng 2014-11-19 12:53:06 +00:00
Oliver Gorwits a8d63ff4af restart worker after two days if splay restart did not trigger 2014-11-19 12:52:40 +00:00
Oliver Gorwits 5a95601ffe suppress uninitialized warning on module inventory display 2014-11-17 09:37:44 +00:00
Oliver Gorwits a8208121c2 [#133] Custom reports respect sorting in SQL 2014-11-16 22:29:11 +00:00
Oliver Gorwits f6ae7be611 [#170] Show device SNMP::Info class in web interface 2014-11-16 21:49:36 +00:00
Oliver Gorwits b183295564 add node_freshness alert to release notes 2014-11-15 00:03:09 +00:00
Oliver Gorwits 9c14d5783a release 2.029013_002 2014-11-14 23:57:04 +00:00
Oliver Gorwits 1f7fe169ec [#159] Macsuck archive behaviour same as ND1 (unseen nodes remain active) 2014-11-14 23:55:25 +00:00
Oliver Gorwits a308d1a177 [#162] Change from Net::MAC to NetAddr::MAC
Note that IEEE and Microsoft are the WRONG WAY ROUND in NetAddr::MAC. I've
emailed the author about this. A dirty hack is in place to deal with it.
2014-11-14 22:49:07 +00:00
Oliver Gorwits e4c668fb12 Add "Run Expire Job" to the Admin Menu 2014-11-14 22:26:03 +00:00
Oliver Gorwits 87a09b0973 [#168] Jobs requested via web UI are treated as high priority 2014-11-14 22:20:10 +00:00
Oliver Gorwits 445d26bb31 fix worker restart to happen once per hour per day 2014-11-14 21:44:48 +00:00
Oliver Gorwits db9775780b release 2.029013_001 2014-11-14 00:14:31 +00:00
Oliver Gorwits ebb5adc6ee [#164] Workers should restart periodically
They restart once a day, if the worker completes a job at least every hour.
The worker ID is compared to the hour of day and if the modulus matches, then
it exits (and is restarted by MCE). Should do the trick with memory usage.
2014-11-14 00:11:09 +00:00
Oliver Gorwits 016d090d26 [#165] Mention system clock in docs 2014-11-13 23:53:06 +00:00
Oliver Gorwits f58e7c1753 [#161] Updated IOS-XR SSHCollector 2014-11-13 23:51:10 +00:00
Oliver Gorwits 51fa835e16 [#169] Remove ref to force install of Dancer and DBIC 2014-11-13 23:46:03 +00:00
Oliver Gorwits e3f5022caa [#156] Only delete node_ip and node_nbt when no active nodes reference
I'm a bit wary that this will slow things down horribly.
2014-11-13 23:42:27 +00:00
Oliver Gorwits bf27489a87 [#157] Device Port Log being emptied by device discover 2014-11-13 21:49:49 +00:00
Oliver Gorwits 5a1ed2e313 [#160] Job Queue fatal error on num_slots 2014-11-13 21:44:33 +00:00
Oliver Gorwits d8102bf0d4 Merge branch 'master' of ssh://git.code.sf.net/p/netdisco/netdisco-ng 2014-10-23 23:04:47 +01:00
Oliver Gorwits e72bfa750e fix for latest DBIx::Class (deploy) 2014-10-19 13:46:41 +01:00
Oliver Gorwits 8d51e69563 depend on Dancer version with fixed YAML::XS support 2014-10-19 13:33:50 +01:00
Oliver Gorwits d2dbaf416b fix typo in relnotes 2014-10-11 11:23:05 +01:00
Oliver Gorwits e276ecd8b2 release 2.029012 2014-10-09 17:00:59 +01:00
Oliver Gorwits ae5ca802f4 [#152] HP devices with port names "D##" not sorted by portsort.js
In naturalsort there is handling for Float, Decimal and Scientific notation.
This looks for numbers like:
'10.04f','10.039F','10.038d','1.528535047e5'

It was breaking port sorting for ports named like "D1", "D10" etc.

Have removed support for sorting these numbers as it's unlikely we need that
in Netdisco, for now.
2014-10-09 16:58:02 +01:00
Oliver Gorwits 6564d9ca29 fix tabs in portsort.html 2014-10-09 16:54:47 +01:00
Oliver Gorwits 93b19240e2 fix tabs 2014-10-09 14:43:51 +01:00
Oliver Gorwits c231cfdeb1 release 2.029011 2014-10-07 18:49:42 +01:00
Oliver Gorwits 090cd631d4 Fix typo in the Device By Location report template 2014-10-07 18:48:38 +01:00
Oliver Gorwits 9826b653ea release 2.029010 2014-10-07 08:38:38 +01:00
Oliver Gorwits 455ab22fca Require old DBIC version to fix deploy problem 2014-10-07 08:37:46 +01:00
Oliver Gorwits d50dba3eee [#143] Pass parameter(s) to custom reports via bind_params config 2014-10-05 13:00:03 +01:00
Oliver Gorwits 7630b6ec7b support override of reports 2014-10-05 12:38:06 +01:00
Oliver Gorwits 745a3b7a63 explicit note on upgrading instruction about pre-2.x 2014-10-04 15:04:05 +01:00
Oliver Gorwits cd22c741e5 initial support for bind params in custom reports 2014-09-30 08:02:27 +01:00
Oliver Gorwits f6b1112931 Administration (SSH, Telnet, Web) links for devices 2014-09-29 21:35:57 +01:00
Oliver Gorwits d3a6f3e526 update M::I 2014-09-27 11:33:47 +01:00
Oliver Gorwits 4a6081fc58 add expire_jobs and set default expire times 2014-09-27 11:31:37 +01:00
Oliver Gorwits f8e1507069 require DBIC version which fixes the dupe connection bug 2014-09-27 10:58:51 +01:00
Oliver Gorwits fc3bda77cb better way to specify Dancer force version 2014-09-27 10:57:59 +01:00
Oliver Gorwits 478de3a8f6 release 2.029008 2014-09-23 20:30:22 +01:00
Oliver Gorwits bbeda4bfa7 Add Dancer import to SSHCollector Platforms 2014-09-16 19:35:49 +01:00
Oliver Gorwits c70dcf60d5 better format for table page sizes 2014-09-16 18:42:46 +01:00
Oliver Gorwits fb365f1203 Setting for items in number of records per table page menu 2014-09-15 23:42:00 +01:00
Oliver Gorwits b63cd0b643 extract common DT options to template 2014-09-15 22:15:48 +01:00
Oliver Gorwits 374a668d38 fix header level in docs 2014-09-15 21:29:45 +01:00
Oliver Gorwits 0c896ab022 release 2.029007 2014-09-12 14:09:37 +01:00
Oliver Gorwits 9f4be96964 Add PaloAlto and IOS-XR support to netdisco-sshcollector 2014-09-03 13:22:52 +00:00
Oliver Gorwits 1e90fea47a do not attempt DNS resolution on bad IPs 2014-09-03 12:57:15 +00:00
Oliver Gorwits d32024a782 Accept host names to netdisco-do show 2014-09-03 11:11:15 +00:00
Oliver Gorwits b89988cd69 Skip device aliases which cannot be parsed as IPs 2014-09-03 10:39:30 +00:00
Oliver Gorwits 2bc92999b8 [#123] Allow devices with no LLDP/CDP to be found as Nodes 2014-08-25 18:48:11 +01:00
Oliver Gorwits 05493abbb7 release 2.029006 2014-08-25 17:23:14 +01:00
Oliver Gorwits fb7bcbf120 fix undef data error in JS, and when no remote_(ip|port) 2014-08-25 17:13:11 +01:00
Oliver Gorwits 4c08de9512 Add Nodes discovered through LLDP/CDP report 2014-08-25 16:45:38 +01:00
Oliver Gorwits 3b6ae9e58e Port search also searches on the Remote ID and Type 2014-08-25 15:17:01 +01:00
Oliver Gorwits f6b854f99f Revert "Search device by CDP/LLDP advertised ID or Type"
This reverts commit 7411cf6cdd.
2014-08-25 14:54:15 +01:00
Oliver Gorwits 7411cf6cdd Search device by CDP/LLDP advertised ID or Type 2014-08-25 13:38:45 +01:00
Oliver Gorwits b59e844d57 netdisco-sshcollector script to get ARP data on devices without SNMP 2014-08-25 10:13:18 +01:00
Oliver Gorwits 6695f659a1 fix get_arp docs 2014-08-23 13:35:32 +01:00
Oliver Gorwits c5caab6601 release 2.029005 2014-08-13 11:44:02 +01:00
Oliver Gorwits 0028598461 Filter undefined entries from user log 2014-08-13 11:42:50 +01:00
Oliver Gorwits a93a9dd26d add test dependencies to Makefile.PL 2014-08-13 11:41:29 +01:00
Oliver Gorwits 9102d366f2 release 2.029004 2014-08-11 22:04:03 +01:00
Oliver Gorwits 4124a14e58 Do not autoload all modules in a namespace... picks up old/bad code 2014-08-11 22:00:32 +01:00
Oliver Gorwits 62df379a9d release 2.029002 2014-08-10 21:36:59 +01:00
Oliver Gorwits 9afbe6d7e6 New backend daemon code, no SQLite. MCE::Flow.
Squashed commit of the following:

commit 3284b62509
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Sun Aug 10 21:17:06 2014 +0100

    config defaults tidying

commit ade7bcd880
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Sun Aug 10 20:00:01 2014 +0100

    high priority jobs are picked first and inserted to prio queue

commit d450dfd2bd
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Sun Aug 10 19:25:21 2014 +0100

    better status

commit b8a742e5de
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Sun Aug 10 16:54:03 2014 +0100

    update proctitle when worker not running

commit 0c3675a8f4
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Sun Aug 10 16:48:58 2014 +0100

    remove all trace of SQLite - new lightweight Job object

commit a13ed25f6a
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Sun Aug 10 14:45:22 2014 +0100

    rename pollers to tasks

commit 44b50f413f
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Sun Aug 10 14:13:00 2014 +0100

    update docs

commit 517b1ae4c1
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Sun Aug 10 13:55:31 2014 +0100

    merge interactive and poller worker types

commit e9043b90e8
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Sun Aug 10 13:47:41 2014 +0100

    only take one job at a time per worker

commit 2366738d54
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Sun Aug 10 13:43:31 2014 +0100

    auto job priorities

commit 1fd473fd50
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Sun Aug 10 13:18:59 2014 +0100

    preload all worker modules into shared memory

commit 9ceb43c0f7
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Sun Aug 10 13:13:07 2014 +0100

    daemon clean

commit c817a35537
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Sun Aug 10 12:36:24 2014 +0100

    first refactor for MCE::Flow and MCE::Queue
2014-08-10 21:34:46 +01:00
Oliver Gorwits d3992f57fd release 2.029001 2014-08-10 21:20:22 +01:00