16709 Commits

Author SHA1 Message Date
58459ff0c5 Detect if LibreNMS is installed from the official Docker image (librenms/docker#46) (#10879) 2019-11-25 14:05:34 +00:00
2de39f58b3 Bump version to 1.58 1.58 2019-11-25 04:54:18 +00:00
8f26f47b63 Changelog for 1.58 2019-11-25 04:54:16 +00:00
04b65d3202 Add minimum password length setting (#10867) 2019-11-25 04:11:18 +00:00
404b3b71ba Graphical alerts update (text/icon alignment) (#10856)
* Update menu.blade.php

* Swap username and notification icon

* Hide count-notifications when zero

* slight tidy

* Accidental key press

* Decrease space to tie them together better

* Update styles.css version
2019-11-25 04:09:40 +00:00
3d56d763e4 Added basic Ubiquoss PON support (#10828)
* mibs

* definition

* definition

* logo

* serial

* device bits

* tests

* codeclimate
2019-11-25 02:55:12 +00:00
245b415eba Added basic Zyxel GS-4012F support (#10829)
* MIB

* processor

* serial

* tests

* zyxel and zynos poller code

* tests
2019-11-25 02:39:05 +00:00
8d88b930fe Extend Dell Laser printer support for S5830dn and similar (#10878)
* sysObjectID

* serial number

* tests
2019-11-25 02:30:55 +00:00
1ab645c75c Fix regression on HW discovery for Cisco Catalyst chassis (#10877)
* Catalyst fix for HW

* Try to avoid issue with stacks, chassis or standalone boxes

* formatCiscoHardware iosxe for humans

* codeclimate
2019-11-24 01:17:00 +00:00
ef562f607e LDAP Add option to authenticate user independtly of OU (#10873)
* Add option to authenticate user independtly of OU
* Set config option in webui
* Compatibility with bind username option
* ran ./lnms translation:generate
* update doc
2019-11-22 19:29:47 +01:00
09088f4885 Webui settings - AD bind at wrong place (#10874) 2019-11-22 19:25:57 +01:00
ab2f909a9d Fix LDAP slow login and unable to login (#10872)
* Fix LDAP slow login
* Keep getUserList as is and implement fix in getUser function
* Split getUser function for CodeClimate
* Rewrite GetUser
* Fix no ldap auth when bind user configured - https://community.librenms.org/t/ldap-authentication-problem-with-webui/6115/2
2019-11-22 15:38:42 +01:00
35a50fa535 fix auth_test.php permissions (#10870) 2019-11-22 11:37:34 +01:00
e1ede81d29 Fixed Cisco Catalyst9x00 support (#10862)
* missing OID

* version

* tests

* move CAT9k to IOSXE

* move CAT9k to IOSXE

* tests

* tests

* codeclimate
2019-11-22 05:16:02 +00:00
1f24a6783e Update dependencies (#10830)
* Update dependencies

* Opsie, need to restrict to php 7.1
2019-11-22 05:09:53 +00:00
ee8119d890 Fixed auth_test script does not do ldap bind (#10865) 2019-11-21 19:42:22 +01:00
4ead80d06c Trigger Device Rediscovery for a device group (#10832)
* trigger rediscover for whole device group
* travis fix
* Update rediscover-device.inc.php
2019-11-21 11:55:15 +01:00
f19bbcab41 Revert "Fix LDAP slow login (#10760)" (#10855)
This reverts commit baab9596a035237916994ec464ce5a4391ef3598.
2019-11-20 22:58:06 +00:00
e9e309c0e0 Update Alcatel mibs to v8 (#10857)
* Update Alcatel mibs to v8
*  Corrected permissions
2019-11-20 14:02:14 +01:00
9436c34507 Fix static device group updated message (#10841)
Previous code was not counting devices added/removed properly, so it would always show no changes made (even though they were)
2019-11-20 09:59:13 +01:00
9a8a2723e3 Extended discovery of Konica printers (#10806)
* adjusted to detect some printers correctly

* Update konica.yaml

* Add files via upload

* Create konica_2.json
2019-11-20 09:58:04 +01:00
ac34d3bee2 Deactivate delete button on dependency delete (#10852) 2019-11-20 09:54:52 +01:00
c46a14af53 Prevent syslog table purge from spamming daily.log (#10851)
daily.php's syslog purge block writes output for every dbDelete() except for the final one.  The deletes are done in blocks of 1000 rows.  This can lead to verbose output while the table is purged.  This patch saves up all that excitement for a single echo at the end of the operation.  It also outputs the total amount of rows deleted.
2019-11-19 23:57:56 +01:00
827cc0cce3 htmlspecialchars for ports (#10833) 2019-11-19 20:39:11 +00:00
fd932b4066 Missing 'use LibreNMS\Config' in route discovery (#10844)
* missing 'use LibreNMS\Config'

* Update route.inc.php

force test re-run
2019-11-19 20:38:21 +00:00
a28a17d963 Fixed syslog pruning when dbFetchRow() returns array (#10850)
If dbFetchRow() returns an array, dbDelete() won't do its work pruning the syslog table and we'll drop out of the block via break.  This if statement will take the value return inside the array and replace $limit with that value.  This way, dbDelete() can successfully prune the syslog table.

dbFetchCell() can return an array that won't work when fed to dbDelete().  This keeps that from occurring so the syslog table can be pruned.
2019-11-19 20:25:11 +01:00
6c27eba4fa Fixed Custom favicon issue with dashboard (#10847) 2019-11-19 17:15:44 +01:00
964d4121bb documentation link fixes (#10848)
* fixes broken link to Contributing doc
2019-11-19 17:14:15 +01:00
dd26e702be Added support EdgeCore ECS2100-10T (#10843)
* Added support EdgeCore ECS2100-10T
2019-11-19 15:40:53 +01:00
baab9596a0 Fix LDAP slow login (#10760)
* Fix LDAP slow login
* Keep getUserList as is and implement fix in getUser function
* Split getUser function for CodeClimate
* Rewrite GetUser
2019-11-19 14:16:07 +01:00
e5de966f17 Corrected blue CSS in settings menu (#10840)
* corrected blue CSS in settings menu
* continued
2019-11-19 00:31:54 +01:00
c22fa10636 Fix name of an NVIDIA metric (#10837)
The NVIDIA application obtains its metrics from nvidia-smi dmon. Its built-in help (nvidia-smi dmon --help) says that the pviol and tviol columns stand for "Power and Thermal Violations". Therefore the metric should not be called Thermal Violation Percentage, but Power Violation Percentage.
2019-11-18 15:08:24 +01:00
bf181b9dc2 Added support for routing table collection in discovery (#10182)
* Clean broken VRF lite code
* Change DB table for route discovery
* Add VRF simple support
* add port_id to db and discovery
* static-fy the translation arrays
* sort and search cleaning
* Sorting refactor and validation
* formatItem shortened
* Handle ifIndex==0 meaning no next hop defined (MPLS)
* Sync all create/updates
* purge in daily
* remove old route table
* get rid of inetCidrRouteNextHop_device_id
* fix wonky column orders
* add route snmprec
* fix sorting by interface
* Move to new config
* rename to route the new table
* Properly display ipv6 compressed addresses
* Translation before merge ./lnms translation:generate
* Update manifest
2019-11-17 16:30:43 +01:00
92d8040a8f Updated ZYXEL-MIB (#10824) 2019-11-17 09:54:48 +01:00
3aa594bed1 Fix some IE issues with settings page (#10819) 2019-11-17 05:14:16 +00:00
138dc24f64 Fix system style setting (#10820) 2019-11-17 05:13:48 +00:00
8784459927 Added hardware and software version for ASR9906 (#10826)
* Added hardware and software version.
* Added oids.

Tested against NIOS-XR 6.5.3 on ASR-9906
2019-11-16 20:30:40 +01:00
7c1e6cb8cf Add support for ZyXEL IES-5005 and IES-5106 DSLAMs (#10804)
* Add support for ZyXEL IES-5005 and IES-5106 DSLAMs

* remove cpu high_limit

* fix broken mib VDSL2-LINE-TC-MIB
rework os polling
2019-11-16 18:17:25 +01:00
75f3a7ff12 alphabetic order of app overview (#10825)
* alphabetic order of app overview

* change sortby to orderby
2019-11-16 16:45:45 +00:00
4aff04041b Fix DeviceCache method calls (#10823)
missed from when it was a static class...
2019-11-15 22:48:42 +01:00
149d5f3da6 Translation correction (#10821)
* Translation correction

* Update mix-manifest.json
2019-11-15 16:44:51 +00:00
8737ba22a3 Removed strict checking for Oxidized config (#10822) 2019-11-15 14:19:36 +00:00
dec9a498ee Updated device cache support (#10795)
* Device Cache
also some additional device related models

* attribs from cache

* replace common attribute functions

* remove legacy cache usage
tidy up some collection manipulation
remove some unused or single use functions

* cleanup some items

* always return a device, to prevent bugs

* clear device cache when testing after each test

* fix double assignment

* Clean up function to take advantage of null object
2019-11-14 21:56:06 +00:00
d1c73b14f3 Fixed maps display when multiple links are present between devices. (#10818)
* Fix maps display only one link if multiple links are present between devices.
* Simplify test mac in network_map_items
2019-11-14 20:36:01 +01:00
2fa91fcbe7 Add interval extra var on API add_rule and edit_rule (#10814) 2019-11-14 18:46:11 +00:00
3872de40c7 IP address restriction for ip field in add_service_for_host removed as this restriction is not in the Web front end, and doesn't allow https sites to be added correctly. (#10810) 2019-11-14 18:45:41 +00:00
5bdfd57b84 Add check_oracle service include file and make 'packet_loss_' macro alerts not use radio buttons (#10807)
* - Adjust Alerting Query Builder logic to not use boolean/radio buttons for 'packet_loss_' macros
- Add nagios check script for "check_oracle", which fails on the fallback logic because it does not accept IP/hostname via the '-H' flag

* Update check_oracle.inc.php
2019-11-14 18:45:00 +00:00
a9212faa83 Allow user specific themes (#10799)
* allow user specific themes

* add missing newline

* use global function getDefinitions

* some fixes

* .

* travis fix

* .

* Optimize preference loading
Aka, don't run multiple sql queries per page load, now it is 0-1 queries (for preferences)

* Add a default option for user preferences

* Remove unused code

* more
2019-11-14 18:40:38 +00:00
b89d80dc02 Perf optimisation for xDSL mib polling (#10815)
Only call snmpwalk once, instead of 20, to avoid havin to face up to 20 times the timeout. Decreased drastically polling time on some Cisco 887 / 897 devices
2019-11-14 18:39:47 +00:00
163386e964 Update zh-TW Translate settings strings (#10816)
* Update zh-TW Translate settings strings

* Update zh-TW.json

* Update zh-TW.json

* Update zh-TW.json

* Update mix-manifest.json
2019-11-14 18:38:04 +00:00