Commit Graph
100 Commits
Author SHA1 Message Date
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
Oliver Gorwits bc8f75f7f8 fix cli override of options 2014-08-08 23:22:15 +01:00
Oliver Gorwits cb9667f58c navbar_autocomplete config item to disable main navbar autocomplete 2014-08-08 23:17:25 +01:00
Oliver Gorwits 1e58a045d4 [#131] More correct network space utilization (M. Kosmach) 2014-08-08 23:08:58 +01:00
Oliver Gorwits d943b5d125 Update Sourceforge links in metadata, add DESCRIPTION for CPAN (N. Bowers) 2014-08-08 23:06:47 +01:00
Oliver Gorwits 54f9892144 release 2.029000_002 2014-08-08 22:43:38 +01:00
Oliver Gorwits f9e8673705 NBTname search with wildcards fixed 2014-08-08 22:39:59 +01:00
Oliver Gorwits 1c3e0f260c Push a row into Device Modules for the chassis even if no module info 2014-08-08 22:33:52 +01:00
Oliver Gorwits 1f73f061f7 Always set DBIC_TRACE_PROFILE=console 2014-08-08 21:37:15 +01:00
Oliver Gorwits 0f2fadcede Add docs note about database backups 2014-08-08 21:13:13 +01:00
Oliver Gorwits d604659716 Clean up duplicate node entries on vlan 0 2014-08-08 20:59:30 +01:00
Oliver Gorwits b45c62003d release 2.029000_001 2014-08-08 07:35:26 +01:00
Oliver Gorwits f176d7c1ba portability fix on linux 2014-08-08 06:32:02 +00:00
Oliver Gorwits d5675c1bb3 portable setting of proctitle 2014-08-07 18:50:26 +01:00
Oliver Gorwits 941308698d use Sys::Proctitle instead of Perl $0 2014-08-07 16:46:43 +00:00
Oliver Gorwits d9d2ea6b51 Log at debug the vlan reindexing in macsuck 2014-08-06 23:20:16 +01:00
Oliver Gorwits 97efd3b920 latest build of DataTables for Chrome
DO NOT update the CSS - it seems to remove some of the vertical table lines
2014-08-06 23:11:25 +01:00
Oliver Gorwits 5549e5239a Handle management IP of one device being in use on another device 2014-08-06 22:23:19 +01:00
Oliver Gorwits 5d23338cbd Process tree updated to show daemon worker status/activity
Squashed commit of the following:

commit a785b88b43
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Wed Aug 6 21:32:11 2014 +0100

    complete daemon pstree updates

commit f77bf5361f
Merge: f519410 fcb8195
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Wed Aug 6 20:45:22 2014 +0100

    Merge branch 'master' into og-proctitle

commit f51941076f
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Tue Aug 5 22:14:58 2014 +0100

    set proctitle on daemon
2014-08-06 21:33:41 +01:00
Oliver Gorwits fcb8195e58 much better control of trace/debug in netdisco-do 2014-08-06 20:39:22 +01:00
Oliver Gorwits c75c48a558 Only start scheduler when schedule config exists 2014-08-05 21:33:05 +01:00
Oliver Gorwits 8616b17ab8 Allow process grouping to work portably againa (daemon config watch) 2014-08-05 21:22:58 +01:00
Oliver Gorwits 770a92a772 Additional debug levels for netdisco-do to show DBIx::Class and net-snmp 2014-08-04 23:52:08 +01:00
Oliver Gorwits 06ba99e4e6 Do not leak SNMP community string into debug output (unless LEAK_COMMUNITY=1) 2014-08-04 23:25:22 +01:00
Oliver Gorwits f3a9296b6b add netdisco-do show docs 2014-08-04 22:27:48 +01:00
Oliver Gorwits 4d6f05574e Show netdisco-do docs on options error 2014-08-04 22:23:50 +01:00
Oliver Gorwits f63527644a New netdisco-do command "show" for diagnostic reporting 2014-08-04 22:14:14 +01:00
Oliver Gorwits 70531a17f1 UTF-8 encoding for Port Name (description) 2014-08-02 14:39:28 +01:00
Oliver Gorwits 65a47b76e8 add recommends Graph and GraphViz 2014-08-02 08:25:43 +01:00
Oliver Gorwits 5c7ab6b7a9 use strict and warnings where dancer not imported 2014-08-02 08:24:03 +01:00
Oliver Gorwits b96793bd72 Fix POD errors in Nbtstat and ResultSet::Device 2014-08-02 08:19:34 +01:00
Oliver Gorwits aaa3fe61c1 Attempt to keep PID and logfile as netdisco user even when running as root 2014-07-31 23:13:03 +01:00