Commit Graph

16641 Commits

Author SHA1 Message Date
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
Vitali Kari
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
SourceDoctor
75f3a7ff12 alphabetic order of app overview (#10825)
* alphabetic order of app overview

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

* Update mix-manifest.json
2019-11-15 16:44:51 +00:00
Neil Lathwood
8737ba22a3 Removed strict checking for Oxidized config (#10822) 2019-11-15 14:19:36 +00:00
Tony Murray
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
louis-oui
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
joretapoo
2fa91fcbe7 Add interval extra var on API add_rule and edit_rule (#10814) 2019-11-14 18:46:11 +00:00
MattWSL
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
Chris A. Evans
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
SourceDoctor
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
PipoCanaja
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
Jason Cheng
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
SourceDoctor
4b0c775151 Show logged in user in title menu (#10800)
* show logged in user in title menu
* adding spaces for equal look in code
* hiding username on small screens
2019-11-14 08:08:12 +01:00
Gilles Depeyrot
85532b8a58 Clarify wording of disable/alert device settings and dependency between the two settings (#10809)
* Corrected filtering of devices under maintenance

* Clarify wording of disable/alert device settings and dependency between the two settings

* Disable "Ignore alerts" checkbox according to initial setting of "Disable polling"

* Correct initial enabling/disabling of 'Ignore alerts'

* Remove not functional js code
2019-11-14 08:03:23 +01:00
Erik
a5f53eee2a Brocade switches - Added names on fiberchannel ports (#10737)
* Added brocade ports

* Create brocade.inc.php

* Update functions.php

* Update functions.php

* Update brocade.inc.php

* Try to remove complexity

* Removed white space

Removed white space

* Added testdata

* removed temp variable

* Update functions.php

* Create brocade.inc.php

* Added fill ifAlias for fibrechannel ports

* Update functions.php

* Update brocade.inc.php

* Update fabos.json
2019-11-13 14:29:30 +00:00
Jozef Rebjak
c69efb3444 Added support for Mikrotik LTE Modem (#10805)
* Added support for Mikrotik LTE Modem

* Deleted mistaken file

* Travis fix

* Another Travis fix
2019-11-13 11:31:32 +00:00
Grammatopoulos Athanasios-Vasileios
a43f0ea757 UI bug fix - Scroll disabled on "new rule from collection" modal (#10796)
* Wait modal to close before opening a new one

* Improved based on @Jellyfrog's suggestion
2019-11-13 06:06:43 +00:00
Tony Murray
6e99e897e9 Prevent sessions from expiring (#10798)
when the page is left open.  If the page session expires because laptop was asleep, or something, refresh the page.
2019-11-13 06:03:44 +00:00
seros1521
1b5253fb3d Comparison fix in slas.inc.php (#10812)
In the 'slas' table, the column 'opstatus' is of type int. The current
comparison does not work correctly - in the web-interface all sla-probes are
displayed as 'down', even if the status = 0 in the table (0 is OK).
2019-11-13 06:03:08 +00:00
dlesel
c95661b482 Added AIX file system, prefer over hrstorage for AIX (#10588)
* Added AIX file system, ignore hrstorage for AIX

* Add AIX Test Data

* Add AIX Test Data 2

* remove includes/polling/os/aix.inc.php

* Update AIX Test Data

* Corect spaces in code

* Update code to correctly disable hrStorage for AIX

* Update aix.json

* Update aix.svg

* Delete aix.svg

* Update aix.svg

* Delete aix.svg
2019-11-13 06:01:45 +00:00
Kade Cole
59ab34b67e Add Metrics Icons Tooltip (#10811) 2019-11-13 02:21:44 +00:00
Tony Murray
12773d125b API: list_arp search by MAC (#10803)
* API: Allow search ARP by MAC

* reformat mac

* Update docs
2019-11-13 02:21:07 +00:00
SourceDoctor
dc751123bc fix restricted application access for normal user (#10802)
* fix restricted application access for normal user

* travis fix

* use of Permissions class

* travis fix

* Update default.inc.php

* Update overview.inc.php

* travis fix
2019-11-13 02:08:21 +00:00
Jellyfrog
2feb28440a Added support for HP PDU Management Module (#10784) 2019-11-12 13:36:01 +01:00
Vitali Kari
a31aef6313 Add support for ZyXEL IES4206/5206/5212/6217 MSANs (#10789)
* - update yzyxel mibs
- update definitions für ies series
- slot state and alarm support via yaml

* more sensors

*  add new device Zyxel IES4206

* restore original ies files

* revert function stuff

* update to latest official mib

* rebase
2019-11-12 10:22:08 +01:00
Tony Murray
b4fc84888d Fix snmp v3 when set via ui (#10797) 2019-11-09 13:10:44 +00:00
Tony Murray
8bc0af7b85 Translation generation command (#10794)
additional translatable strings: Filter Settings in settings page and Global Search on all pages.
remove duplicate fr key
also, language file signatures were wrong as I had a testing version of the vue generator
2019-11-09 13:01:41 +00:00
Tony Murray
90bd2275cf Unbundle javascript language files (#10788)
* Unbundle javascript language files
automatically generated for each install

* update docs

* update laravel-vue-i18n-generator
a newer (unreleased) verison is need for English fallback to work
2019-11-08 15:18:41 +00:00
Brian Sidebotham
67169bf7b9 Create device groups via API (#10791)
* Add POST ability to devicegroups API endpoint

* Simplify function and make use of Lavarel validation for API request
2019-11-08 13:11:56 +00:00
SourceDoctor
ce628399a9 Allow user activation/deactivation (MySQL auth) (#10511)
* user deactivation feature

* update db_schema.yaml

* travis fix

* readd sqlfile with alter statement

* ..

* revert force push

* combine all queries

* fix query

* user enable/disable only visible on mysql authorization

* Update form.blade.php

* Update index.blade.php

* disable 'enabled' on own profile

* bootstraping checkboxes
2019-11-08 06:32:57 +00:00