Commit Graph

16672 Commits

Author SHA1 Message Date
PipoCanaja
f4fbdfad80 Added iBoot PDU (dataprobe) support (#10898)
* os-recognition iboot
* tests
* MIB
* skip_values
2019-12-03 20:37:11 +01:00
Tony Murray
cd044addc4 Add authentication category (#10880) 2019-12-03 17:37:02 +01:00
PipoCanaja
5ab1bfcd9e Remove un-necessary check (#10900) 2019-12-03 13:08:43 +01:00
Tony Murray
f544c32567 Improved ports-fdb discovery sql queries (#10883)
* Improve ports-fdb discovery sql queries
* fix indentation
2019-12-02 22:45:18 +01:00
djamp42
85addc5933 Updated regex for IES os (#10899)
Forgot to update this with the previous PR, this goes along with updated discovery in PR #10897
2019-12-02 22:44:08 +01:00
djamp42
c2ec8e6422 zyxel IES removed "-" from sysdescr (#10897) 2019-12-02 20:13:59 +01:00
SourceDoctor
175516f5f7 Show Date from last discovery and last poll (#10876)
* show date from last discovery and last poll

* .

* .
2019-12-02 06:15:12 -06:00
cjwbath
78d017d1ba Updated Aruba ClearPass appliance detection for new sysObjectId (#10892)
* Updated Aruba ClearPass appliance detection for new sysObjectId
* Change the correct snmprec test file this time
* Create a new ClearPass variant and leave the original one as it was
* Restore old clearpass match
2019-11-30 18:02:33 +01:00
PipoCanaja
8c04da9689 Use "format_hostname" for graphs' default title (#10891) 2019-11-29 16:20:18 +01:00
SourceDoctor
823d93efda On editing device, only show assigned alert rules (#10787)
* only show alert rules assigned to device
* simplyfing sql query
* changed query to uppercase
* redesign alert rule filter
2019-11-27 11:32:09 +01:00
Tony Murray
2a66c6100f Delete applications when device is deleted (#10884) 1.58.1 2019-11-27 00:56:47 +01:00
Tony Murray
7ad0735488 Port packet graphs should be pps not B (#10886) 2019-11-27 00:56:14 +01:00
Tony Murray
ddff6dba6d Avoid null device error in deviceLink (#10882) 2019-11-26 08:14:09 -06:00
CrazyMax
58459ff0c5 Detect if LibreNMS is installed from the official Docker image (librenms/docker#46) (#10879) 2019-11-25 14:05:34 +00:00
Tony Murray
2de39f58b3 Bump version to 1.58 1.58 2019-11-25 04:54:18 +00:00
Tony Murray
8f26f47b63 Changelog for 1.58 2019-11-25 04:54:16 +00:00
Tony Murray
04b65d3202 Add minimum password length setting (#10867) 2019-11-25 04:11:18 +00:00
PipoCanaja
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
PipoCanaja
3d56d763e4 Added basic Ubiquoss PON support (#10828)
* mibs

* definition

* definition

* logo

* serial

* device bits

* tests

* codeclimate
2019-11-25 02:55:12 +00:00
PipoCanaja
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
PipoCanaja
8d88b930fe Extend Dell Laser printer support for S5830dn and similar (#10878)
* sysObjectID

* serial number

* tests
2019-11-25 02:30:55 +00:00
PipoCanaja
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
louis-oui
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
louis-oui
09088f4885 Webui settings - AD bind at wrong place (#10874) 2019-11-22 19:25:57 +01:00
louis-oui
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
louis-oui
35a50fa535 fix auth_test.php permissions (#10870) 2019-11-22 11:37:34 +01:00
PipoCanaja
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
Tony Murray
1f24a6783e Update dependencies (#10830)
* Update dependencies

* Opsie, need to restrict to php 7.1
2019-11-22 05:09:53 +00:00
louis-oui
ee8119d890 Fixed auth_test script does not do ldap bind (#10865) 2019-11-21 19:42:22 +01:00
SourceDoctor
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
louis-oui
f19bbcab41 Revert "Fix LDAP slow login (#10760)" (#10855)
This reverts commit baab9596a0.
2019-11-20 22:58:06 +00:00
joseUPV
e9e309c0e0 Update Alcatel mibs to v8 (#10857)
* Update Alcatel mibs to v8
*  Corrected permissions
2019-11-20 14:02:14 +01:00
Tony Murray
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
Andreas Andersson
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
SourceDoctor
ac34d3bee2 Deactivate delete button on dependency delete (#10852) 2019-11-20 09:54:52 +01:00
rj-taylor
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
PipoCanaja
827cc0cce3 htmlspecialchars for ports (#10833) 2019-11-19 20:39:11 +00:00
PipoCanaja
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
rj-taylor
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
corsoblaster
6c27eba4fa Fixed Custom favicon issue with dashboard (#10847) 2019-11-19 17:15:44 +01:00
rj-taylor
964d4121bb documentation link fixes (#10848)
* fixes broken link to Contributing doc
2019-11-19 17:14:15 +01:00
Martin Zatloukal
dd26e702be Added support EdgeCore ECS2100-10T (#10843)
* Added support EdgeCore ECS2100-10T
2019-11-19 15:40:53 +01:00
louis-oui
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
PipoCanaja
e5de966f17 Corrected blue CSS in settings menu (#10840)
* corrected blue CSS in settings menu
* continued
2019-11-19 00:31:54 +01:00
István Sárándi
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
PipoCanaja
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
PipoCanaja
92d8040a8f Updated ZYXEL-MIB (#10824) 2019-11-17 09:54:48 +01:00
Tony Murray
3aa594bed1 Fix some IE issues with settings page (#10819) 2019-11-17 05:14:16 +00:00
Tony Murray
138dc24f64 Fix system style setting (#10820) 2019-11-17 05:13:48 +00:00
nomyownnet
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