19558 Commits

Author SHA1 Message Date
Bennet Gallein a9d5c378f7 feat: minor visual changes to the apps-overview page (#14090)
* feat: minor visual changes to the apps-overview page

* fixup! feat: minor visual changes to the apps-overview page
2022-07-12 08:30:00 -05:00
Tony Murray 4536ccbcab Fix device filtering false values (#14103)
now disabled=0 and ignore=0 filters should work
2022-07-11 14:56:52 -05:00
wrongecho afb5fb7eea Small documentation typos (#14101)
* Update Templates.md

withing > within

* Update index.md

Small typos correction

* Update Performance.md

Typos/Rewording

* Update Performance.md

* Update Syslog.md

recieving > receiving

* Update Entities.md

Remove rogue `

* Update Dashboards.md

embeded > embedded

* Update Interface-Description-Parsing.md

infor > information

* Update Network-Map.md

genrated > generated
2022-07-10 11:46:01 +02:00
wrongecho 060c87c535 Documentation typos (#14099)
* Update Templates.md

withing > within

* Update index.md

Small typos correction

* Update Performance.md

Typos/Rewording

* Update Performance.md
2022-07-09 09:32:59 -05:00
Tony Murray a598b52fee Allow reapply yaml config via env (#14100)
REAPPLY_YAML_CONFIG=1

This will overwrite all settings set in yaml files.
2022-07-09 09:32:13 -05:00
David Girón 94d435eff1 Search device by MAC via URL (#14072)
* Search MAC by GET

* Add address from parsed vars

* Trim tabs and spaces when searching MAC
2022-07-09 04:51:07 -05:00
Tony Murray 9d28ee9200 Reset the opcache after install (#14098)
* Reset the opcache after install
Follow up to #14097

* clear the config, will be cached again on daily anyway
2022-07-09 02:57:09 -05:00
Tony Murray 25c40301d1 Update config cache on install finalize step (#14097)
This make sure the user doesn't get stuck in a loop.
2022-07-09 00:36:45 -05:00
Tony Murray 0f13f2343f Fix more webserver validation issues (#14096)
IPv6 and undefined index errors
2022-07-08 23:36:48 -05:00
Pierfrancesco Passerini 1b06b257a2 Few more updates to Ita lang (#14091)
* Update it.json

Removed all  \'/  single quote, very common in italian , to avoid problem on page loading

* Update it.json

small fix

* Update it.json

Small updates

* Update it.json

* Add files via upload

* Delete modules.php

* Delete syslog.php

* Delete install.php

* Add files via upload

* Update plugins.php

* Update validation.php

* Update components.php

* Update sensors.php

* Update install.php

* Update validation.php

* Update it.json

Small fix

* Update it.json
2022-07-06 18:34:43 +02:00
Dag Bakke 24fc12722b Add option STARTTLS for authentication via AD (#14051)
* Add option STARTTLS for authentication via AD

* Fix dangling spaces

* Moved starttls code to the correct place

* tabs vs spaces...

* Update ActiveDirectoryAuthorizer.php

Co-authored-by: Tony Murray <murraytony@gmail.com>
2022-07-05 14:53:29 -05:00
Tony Murray 5ac8f85690 Increase traceroute timeout (#14084)
traceroute going to 30hops with a 3s timeout was exceeding the default execution time.
https://community.librenms.org/t/possible-bug-in-polling/19061
2022-07-01 17:43:47 +02:00
Pierfrancesco Passerini d77a5458e8 Italian language update (#14085)
* Update it.json

Removed all  \'/  single quote, very common in italian , to avoid problem on page loading

* Update it.json

small fix

* Update it.json

Small updates

* Update it.json

* Add files via upload

* Delete modules.php

* Delete syslog.php

* Delete install.php

* Add files via upload

* Update plugins.php

* Update validation.php

* Update components.php

* Update sensors.php

* Update install.php

* Update validation.php

* Update it.json

Small fix
2022-07-01 17:41:11 +02:00
Tony Murray 2b67dde6dd Remove mib poller module remnants (#14077)
fixes #14075
2022-07-01 06:54:50 -05:00
rhinoau d53d9b3b89 Corrected curl creation examples (#14081) 2022-07-01 10:45:58 +02:00
Zane C. Bowers-Hadley 09b63ba90f Example rules for diskspace on / (#14082)
* add a rule for space on /

* correct copy/paste issue
2022-07-01 10:44:36 +02:00
Marek Wobst a63524e839 Adjustments to german translation (#14083) 2022-07-01 10:43:03 +02:00
Paul Gear 6c0e30baa7 Minor grammar fix (#14078)
Just noticed this in a recent commit
2022-06-30 12:42:48 +02:00
ottorei 8ea8a97f68 Add documentation for Chrony application monitoring (#14066)
Adds instructions for setting up monitoring for Chrony application with SNMP Extend.
2022-06-26 09:19:55 -05:00
PipoCanaja 1a211fb636 Revert "Add APC battery operation time polling, including display in WebUI (#14058)" (#14068)
This reverts commit 654f97c302.
2022-06-24 16:58:54 +03:00
Marek Wobst 654f97c302 Add APC battery operation time polling, including display in WebUI (#14058)
* Fetch and store upsBasicBatteryLastReplaceDate

For APC USV, sensor class is 'runtime'

* Change type string for battery's life time

* Change limits to meaningful values, remove debug output

Limits are 4 (warn) and 5 (critical) years, using our own experience.

* Add time calculation for battery life time during polling

This means that the received date is subtracted from current
time, the difference is stored as minutes, just like with discovery.

* Improve sensor description/label (again)

* Correct label for battery's life time to “operating time”

* Add test data for APC UPS to test new used OID

OID for the last battery exchange date, which is used
for calculation the operation time.

* Changes for styleCI

* Fix more files for styleCI

* Remove a duplicated empty line (styleCI)

* Update test data
2022-06-24 02:43:46 +03:00
mostdaysarebaddays 3b12f35b31 Update bgp-peers.inc.php (#14061) 2022-06-22 20:06:07 +02:00
Dominik V. Salonen 7ebf830d34 Add full version of Mikrotik logo (#14063) 2022-06-22 19:46:31 +02:00
Jellyfrog ec349f5369 More MIB fixing (#14018)
* Split extreme mibs

* Split HP mibs

* Split juniper mibs

* Split junos mibs

* Split junose mibs

* Update Cisco mibs

* update comware mibs

* update transition mibs

* update extreme mibs

* Remove duplicate cambium mibs

* EXTREME-BASE-MIB > EXTREME-SYSTEM-MIB
2022-06-22 16:46:12 +02:00
dependabot[bot] 6db382a27e Bump guzzlehttp/guzzle from 7.4.4 to 7.4.5 (#14059)
Bumps [guzzlehttp/guzzle](https://github.com/guzzle/guzzle) from 7.4.4 to 7.4.5.
- [Release notes](https://github.com/guzzle/guzzle/releases)
- [Changelog](https://github.com/guzzle/guzzle/blob/master/CHANGELOG.md)
- [Commits](https://github.com/guzzle/guzzle/compare/7.4.4...7.4.5)

---
updated-dependencies:
- dependency-name: guzzlehttp/guzzle
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-22 00:12:10 +02:00
Marek Wobst dc3ddbaff0 Fix the parsing of the temperature unit value (#14056)
CMCIII will yield as temperate unit '°C' (or °F), which is not
'degree C'. The ° isn’t even encoded properly, so an additional
encoding is included for good measure. Both rar and encoded
values are used for the look up.

Previously these values were stored as 'state' sensor entries,
making them sadly utterly useless.
2022-06-21 17:45:27 +02:00
Jellyfrog 5980d9d042 Use --no-patch instead (#14047) 2022-06-20 22:59:15 +02:00
Tony Murray 1056f28de7 Aviat WTM reduce snmp load (#13918)
* Reduce default modules on Aviat WTM to reduce overload
SNMP daemon on these devices can fail easily.  Try to reduce snmp load as much as possible even if it is minor.
It seems they fixed the overload bug (at least some) in 2.11

* update schema
2022-06-15 23:29:57 -05:00
Dominik V. Salonen 110ceee10c Update Mikrotik logo (#14045)
* Update Mikrotik logo

* Remove width and height attributes from logo
2022-06-15 14:09:33 +02:00
Tony Murray 3724aaa836 Bump version to 22.6.0 22.6.0 2022-06-14 21:53:42 -05:00
Tony Murray a93df1a052 Changelog for 22.6.0 2022-06-14 21:53:40 -05:00
Tony Murray 849cd28bcb Slightly easier validation page error access (#14044) 2022-06-14 21:36:35 -05:00
Tony Murray c1a59e29e5 Git version validation fix (#14042)
Instead of erroring because the date is empty, print the error message from git.
2022-06-14 13:36:46 -05:00
Tony Murray 1d35d9391d server name validation, handle ports better (#14041)
Ignore standard ports and include non-standard ports in the base_url setting
2022-06-14 10:14:44 -05:00
Zach Biles e8cd08c1e2 Okta saml (#14038)
* add okta oauth instructions

* add additional clarity

* spacing

* fix spacing and indentation

* fix spacing and indentation
2022-06-14 16:46:37 +02:00
Jellyfrog f3281b218f Fix some broken migrations (#14040) 2022-06-14 15:01:07 +02:00
dennypage 8980614031 Fix use of incorrect variable to retrieve current sensor value (#14037) 2022-06-13 13:40:31 -05:00
Jellyfrog 38a2d38e6e Update github actions (#14033) 2022-06-13 19:33:31 +02:00
Jellyfrog 051c72b9bc Regression fix from #13596 (#14034) 2022-06-13 11:40:53 -05:00
Tony Murray 967c880d86 Fix rrd version check (#14036)
Remove hardcoded version
Add version display in error message
2022-06-13 11:20:13 -05:00
Tony Murray 3c70655c21 Fix DB timezone validation (#14035)
* Fix DB timezone validation
Restore DB session timezone after schema dump

* happy styleci is good styleci
2022-06-13 16:10:21 +02:00
Tony Murray 9f749ae778 Update Larastan (#14031)
* Update Larastan

* fix as many as I can

* update baseline for the remaining

* fix style

* Update Log::event phpdoc
2022-06-13 08:57:21 +02:00
Tony Murray 3e547de951 Update PHP dependencies (#14028)
* Update PHP dependencies

* Lock phpstan for now

* lock even harder!!!!
2022-06-10 20:50:33 -05:00
Tony Murray 89971d71ec Support Huawei SMU11b (#14029)
fixes #13661
Without creating a new os
2022-06-10 20:49:57 -05:00
Tony Murray 7a0d604cdd Automatic fixes for validation failures (#13930)
* Automatic fixes for validations

* webui

* lint fixes

* Fix an install issue with ConfigSeeder requesting cli input in web page.

* Do not use c_echo in validate.php print_fail()
2022-06-10 16:25:33 -05:00
David Girón 46899d1643 Custom OID processing of numeric strings with filters (#13968)
* Custom OID processing of numeric strings with filters

* Fix syntax

* Refactor ajax customoid code
2022-06-10 16:24:50 -05:00
Sander Blomvågnes 3cb5a122ed Updated existing Siemens MIBs and added trap MIB (#13986)
* Updated MIB verrsion, added trap mib and cpu usage

* Reverted back to old commit and fixed CPU

* removec cpu reading since it broke the detection

* Restore line return

Co-authored-by: sander Blomvågnes <sander@adaptic.no>
Co-authored-by: Tony Murray <murraytony@gmail.com>
2022-06-10 16:24:25 -05:00
Bennet Gallein 8fdd1be3a0 feat(apps/mysql): add error-state to non-responsive mysql-servers (#13993)
* feat(apps/mysql): add error-state to non-responsive mysql-servers

* feat(alerting): add alert-rule for offline mysql-servers

* fixup! feat(alerting): add alert-rule for offline mysql-servers

* chore(style): replaced ticks

* fixup! chore(style): replaced ticks

* feat: added migration to make app_status field bigger

* feat: moved error-detection to the application_update function

* fixup! feat: moved error-detection to the application_update function

* chore: updated schema

* chore: fix styling

* Cleaner way to handle the error states

* regex should not include OK

Co-authored-by: Tony Murray <murraytony@gmail.com>
2022-06-10 16:22:41 -05:00
Tony Murray 1d442fa5c2 Fix an issue when getting the local version from git (#14020)
* Fix an issue when getting the local version from git
If the process is not the owner of the git repo, an unsafe directory error is thrown.

* fix style
2022-06-10 16:19:40 -05:00
Tony Murray 0f2734a1b2 lnms scan respect -q parameter (#14027)
* lnms scan respect -q parameter

* better operation when tty isn't supported

* fix logic
2022-06-10 10:18:16 -05:00