Commit Graph

16672 Commits

Author SHA1 Message Date
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
Tony Murray
552d487ae1 Fix email_auto_tls toggle (#10785)
* Fix email_auto_tls toggle

* Clean up smtp settings a bit
user/pw depend on auth setting
2019-11-08 06:27:40 +00:00
SourceDoctor
b47d1dd364 adding values for recurring state (#10793) 2019-11-08 05:48:05 +00:00
Jellyfrog
53601c943b Add a deprecated warning to the front pages (#10783) 2019-11-07 23:08:02 +01:00
Jason Cheng
2b1b88b915 Translate settings strings to zh-TW (#10716)
* Create settings.php

* Update settings.php

* Update settings.php

* Update settings.php

* Update settings.php
2019-11-06 21:45:12 +00:00
PipoCanaja
f8fb0496b5 Updated device support for Chatsworth-PDU (#10769)
* chatsworth-pdu extension

* tests

* allow snmp_flags in pre-cache

allow snmp_flags in precache

allow snmp_flags in precache
2019-11-06 21:43:27 +00:00
PipoCanaja
145e345b5d Added support for Nexans Switches (#10772)
* Nexans basic

Nexans basic

Nexans basic

* tests

minify

clean

* multiget + header
2019-11-06 21:31:06 +00:00
PipoCanaja
437616c32b French translation + JS files (#10763) 2019-11-06 09:10:56 +01:00
SourceDoctor
00b764d16b Bootstrapping checkboxes (#10782) 2019-11-05 23:26:11 +01:00
SourceDoctor
4d50feffb3 Added certificate file validity check for services (#10354)
* snmp extend for monitoring certificate file validity

* Update Applications.md

* Update Applications.md
2019-11-05 21:56:31 +00:00
PipoCanaja
21087579e6 Added detection for AnyOS (#10770) 2019-11-05 21:49:29 +00:00
PipoCanaja
9a53a91895 Added basic device support for Infinera PON 7090 plateform (#10771)
* Infinera POM 7090

* Infinera PON 7090

* Infinera PON 7090
2019-11-05 21:45:41 +00:00
Jellyfrog
a2644e6495 Fixed oxidized url setting validator (#10766)
* Fix oxidized url setting validator

* Update config_definitions.json
2019-11-05 21:40:29 +00:00
Tony Murray
717ecd4125 Fixed API arp cidr search (#10780) 2019-11-05 21:16:29 +00:00
O Palivan
91d74d067b Update Installation-Ubuntu-1804-Apache.md (#10781) 2019-11-05 21:48:58 +01:00
SourceDoctor
784b95a311 German translation for settings page (#10764)
* german language support for redesigned settings area

* language fixes

* fix key port_purge -> ports_purge

* compiled js files for german language
2019-11-05 20:01:31 +01:00
louis-oui
0b01daa84c Do not purge alert_log table entries that have a matching active alert in alerts table (#10744)
* https://github.com/librenms/librenms/issues/10686

* Do not purge alert_logs table when there is a matching active alert in alerts table

* Do not purge alert_log table when there is a matching active alert in alerts table

* Do not purge alert_log table entries that has a matching active alert in alerts table

* Update daily.php

* Do not purge alert_log table entries that has a matching active alert in alerts table

* Do not purge alert_log table entries that has a matching active alert in alerts table

* Update functions.php

Missing }

* Do not purge alert_log table entries that has a matching active alert in alerts table

* Do not purge alert_log table entries that has a matching active alert in alerts table

* Do not purge alert_log table entries that has a matching active alert in alerts table

* Add deleting history of active alert_logs more than ? days

* Commit to replay CI

* Commit to replay CI
2019-11-05 14:49:09 +01:00
Tony Murray
55750cebb4 Fix settings search (#10777)
restore dynamic menu building... data manipulation in js is yuck
2019-11-04 21:16:06 -06:00
SourceDoctor
dfb4317d38 Bootstrapped checkboxes (#10749) 2019-11-05 00:02:49 +01:00
Jellyfrog
75c27ed425 Fix invalid check for device->isUnderMaintenance() in worldmap (#10778)
Fixes #10751
2019-11-04 15:33:58 -06:00