Commit Graph

2057 Commits

Author SHA1 Message Date
ram
24a7e80470 PR for #510 - store ifindex in device_port 2019-02-23 15:26:38 +01:00
nick n
1620feaa6a tiny typo
iteself -> itself
2019-02-22 22:53:20 +01:00
Christian Ramseyer
dc9feb747f Merge ASA.PM patch by stromsoe (#494}
* Embedded # characters in the output for show names cause sshcollector not to collect any ARP entries on the ASA platform, since the $prompt variable matches in the middle of the output. Fix is to modify $prompt to match end-of-line.
 * Changing the terminal pager length should be done before sending show names instead of after.
 * Matching on IP address to see if a name needs to be mapped should include start and end field markers, in the event that the name returned from "show arp" embeds an IP address (eg, "abc1.2.3.4xyz")
2019-01-29 23:40:43 +01:00
Oliver Gorwits
914e484b33 #490 use new checks for uplink and phone on port 2019-01-26 23:23:12 +00:00
nick n
fe70b01bcc i think end anchor should be in the if clause (#493) 2019-01-26 22:09:55 +00:00
nick n
e6d087ef5f fix for #491 (untested) (#492)
* move things to debug logging instead of info

* use message which was discussed

* merge master

* fix for #491. also use doublequotes in sprintf in portcontrol.pm line 59, else $device will not be printed
2019-01-24 14:12:06 +00:00
Oliver Gorwits
6c617a3d55 release 2.040003 2019-01-18 07:08:47 +00:00
nick n
89b8f8c0ce allow snmp::info base class in netdisco-do (#486)
* allow the use of base snmp::info

* dont use .

* should have been: dont use $_

* also document some extra features

* reword
2019-01-14 22:02:08 +00:00
nick n
6a36baa961 add a new tab to device -> vlans (#483)
* first steps for vlan tab

* export sort_vlans, use strict/warnings

* update manifest, get worker closer to functioning

* remove ie 9 script & extra ./th

* make it work

* cleanup

* readd internet explorer code

* start for csv output

* move things to debug logging instead of info

* use message which was discussed

* fix for address table sorting

* link os

* final touches thx to ollyg

* fetch origin/master

* VLAN is the preferred style for user interface usage

* does a missing libexpat-dev make travis builds complain?

* Revert "does a missing libexpat-dev make travis builds complain?"

This reverts commit 0cebc66f42708ff0f946213aab4bcbcc1b1b1379.
2019-01-14 21:57:37 +00:00
nick n
c416e2505b more changes for 4.020003 2019-01-14 02:36:37 +01:00
nick n
0205a11f01 makerancidconf overhaul
* Use the Fullname in top bar of Web interface and not the login

* Implement the following parameters:
 - add a rancid_conf parameter to retrieve the existing type for RANCID devices
 - add the default_group parameter to add devices in this group if they doesn't match the other parameters
 - add the hability to work with the RANCID version in https://github.com/earendilfr/rancid with subdirectory for the configuration files

* Fix following issues:
- Problem during the check of ACL when we have a negate character. The begate character is deleted during the first check
- The renumber function doesn't want to start

* Revert "Fix following issues:"

This reverts commit a8d9e8200a925b1a4d24374827d3fd5146f85b40.

* Revert "Implement the following parameters:"

This reverts commit aa29ca924cd92943490e4a2420a3972054e81e41.

* Add the following parameters to the MakeRancidConf:

 + Change the default delimiter character from ':' to ';' that is the default RANCID delimiter since
   RANCID 3.x
 + Add an option to define the rancid config directory.
   This directory will be used to extract the vendor defined in the RANCID configuration to avoid to extract
   unexisting vendor devices in RANCID configuration (by example, Ubiquiti AirOS devices).
 + Add an option to define a default_group.
   If a device doesn't match the defined group, it will add to this group
 + Add an option to defined a manually excluded ACL
   To permit to not export devices from Netdisco to RANCID based on an ACL.

* New version of the pull request to merge the makerancid improvment.
I have fixe some errors that have impact the revert for the PR #408

I have manually check on my instance and didn't see any warning on the result of the command netdisco-do makerancidconf

* Fix an issue if the by_ip group not exist in the RANCiD part of configuration

* Print the entry sorted in the router.db file

* testing if the sql in #436 can be integrated

* a bit of documentation cleanup

* a few more doc fixes

* minor docs changes

* rename rancid_home to rancid_cvsroot, which is how the setting is defined in rancid. this should make things clearer

* a bit more in-depth examples. allow for more device types (allow - in their name). use strict & warnings

* just to many caps
2019-01-14 01:56:32 +01:00
Oliver Gorwits
562d525b78 #420 allow sidebar default to be overridden 2019-01-08 21:27:15 +00:00
Oliver Gorwits
cf93219b42 #420 change to better column name 2019-01-08 21:19:08 +00:00
nick n
8f952ce2e3 option to fix #457 (#481)
* move things to debug logging instead of info

* use message which was discussed

* fix for address table sorting
2019-01-08 20:53:46 +00:00
nick n
40df018ead also make os a link in device details (#482) 2019-01-08 20:53:17 +00:00
nick n
98a5e2c407 #479 part 2, use debug logging instead of info (#480)
#479 part 2, use debug instead of info logging.

2 whitespace cleanups also included, as well as rewording props -> properties like in the rest of portproperties.pm
2019-01-08 01:50:21 +01:00
Oliver Gorwits
1b2592321d address https://metacpan.org/pod/distribution/perl/pod/perldelta.pod#Removal-of-use-vars 2019-01-07 22:51:05 +00:00
Oliver Gorwits
7f1074ff84 #479 attempt better cache control for device ports 2019-01-07 22:47:13 +00:00
Oliver Gorwits
23a87f19fd be less strict about finding the IP for logging 2019-01-03 23:29:14 +00:00
Oliver Gorwits
b3f6ffe0d7 #424 column name is "Connected Nodes & Devices" when both are shown 2019-01-03 23:12:52 +00:00
Oliver Gorwits
1dc3e70e37 fix to hopefully catch txrate and rate being scalar not list, as reported by inphobia 2019-01-03 22:59:33 +00:00
Oliver Gorwits
7811c32147 fix cached ports list which needs to be complete rows for Neighbors.pm to work 2019-01-03 22:56:17 +00:00
nick n
272901204b remote stray </th>
firefox said:

XML Parsing Error: mismatched tag. Expected: </tr>.
Location: http://xxx/ajax/content/statistics
Line Number 59, Column 17:

you know what, it was right.
2019-01-03 20:45:43 +01:00
nick n
a8b88220e7 perhaps i can sneak my name in here too :) 2019-01-03 01:20:49 +01:00
nick n
879237ff62 getting a head start on 2.040003 changes
since things are moving fast, alrdy add what has been done.
2019-01-03 01:19:09 +01:00
Oliver Gorwits
ccb0f0c78a #475 fix discover plugins do not respect ignore* config 2019-01-02 22:36:59 +00:00
Oliver Gorwits
de27866077 update Build.PL to include autovivification dependency 2019-01-02 21:55:19 +00:00
Oliver Gorwits
5bc0afa2f5 #476 log on delete for rows from related tables 2019-01-02 21:44:36 +00:00
Oliver Gorwits
3769b7b66b fix to the fix for ospf_routers discovery 2019-01-02 20:56:41 +00:00
Oliver Gorwits
6a986783e4 fix to the fix for ospf_routers discovery 2019-01-02 20:54:50 +00:00
Oliver Gorwits
d614382fcd #436 new SQL query for neigbor map to allow mismatched/one-way links (Linwood-F) 2019-01-02 20:37:19 +00:00
Oliver Gorwits
505b7b5625 #471 fix bug in checking if there are OSPF router IDs to poll 2019-01-02 20:21:34 +00:00
nick n
ddb2456a4a netdisco-sshcollector doc cleanup
passed travis build, podchecker, proofreading & running netdisco-sshcollector.
2019-01-01 17:55:53 +01:00
inphobia
1ff34c39e6 correct public key documentation
whitespace cleanup (now passes podchecker)
openssh is also required
reference config file with F<>
2019-01-01 17:37:52 +01:00
Oliver Gorwits
df769c9720 release 2.040002 2018-12-30 10:57:54 +00:00
Oliver Gorwits
6eb098955a Merge branch 'master' of github.com:netdisco/netdisco 2018-12-30 10:53:13 +00:00
Oliver Gorwits
22a3e8c9f6 release 2.040001 2018-12-30 10:52:40 +00:00
nick n
485abbc9bd trailing whitespace 2018-12-30 07:52:27 +01:00
nick n
5fb9d52278 reference wiki, not nonexisting manual 2018-12-30 00:26:07 +01:00
Oliver Gorwits
9022e3ee8b updates to work with PhantomJS 2.x 2018-12-29 13:26:54 +00:00
Oliver Gorwits
6ed29f85ea update changes 2018-12-28 22:56:51 +00:00
Oliver Gorwits
e4dabe525c Always notify from Travis to IRC and email on any code commit 2018-12-28 18:34:29 +00:00
Oliver Gorwits
5cc99cf20f Update .travis.yml
Send git commit emails to the mail list from Travis, instead of from GitHub (they are retiring the option for that).
2018-12-28 18:24:05 +00:00
Oliver Gorwits
b4e5dc7af7 #422 Network map positions will not save (onlinehupe) 2018-12-28 17:56:12 +00:00
Oliver Gorwits
b445d237e4 #471 OSPF Neighbor Discovery by router ID 2018-12-28 17:32:40 +00:00
Oliver Gorwits
097bad6c48 release 2.040000 2018-12-28 17:02:56 +00:00
Oliver Gorwits
b0f17db700 Revert "workaround for #457 (#465)"
This reverts commit 08589ebf96.
2018-12-28 16:50:22 +00:00
Oliver Gorwits
7f8db7b00d build helpers for Mojave 2018-12-28 16:43:08 +00:00
nick n
8aed736925 ignore notpresent interfaces, with type filtering config item (set to [] to not filter). work done by postilion/nic bernstein, filter by me. also includes trailing space fix by nic. (#464) 2018-12-28 16:08:40 +00:00
nick n
86c38c9466 make job queue list in webinterface configurable (#469)
* add an option so you can define the amount of jobs returned in the webinterface jobq

* and now the actually working version
2018-12-28 16:01:40 +00:00