Commit Graph

18559 Commits

Author SHA1 Message Date
Tony Murray
4f7c7b3f2a PHP dependencies update (#13034)
* Removing dnoegel/php-xdg-base-dir (v0.1.1)

barryvdh/laravel-debugbar (v3.5.2 => v3.6.2)
barryvdh/laravel-ide-helper (v2.9.1 => v2.10.0)
composer/ca-bundle (1.2.9 => 1.2.10)
composer/composer (2.0.13 => 2.1.3)
composer/semver (3.2.4 => 3.2.5)
composer/xdebug-handler (1.4.6 => 2.0.1)
dapphp/radius (2.5.4 => 2.5.5)
doctrine/annotations (1.12.1 => 1.13.1)
doctrine/cache (1.10.2 => 2.0.3)
doctrine/dbal (2.13.0 => 2.13.2)
facade/flare-client-php (1.5.0 => 1.8.1)
facade/ignition (2.7.0 => 2.10.2)
fakerphp/faker (v1.14.1 => v1.15.0)
filp/whoops (2.12.0 => 2.13.0)
friendsofphp/php-cs-fixer (v2.18.4 => v2.19.0)
fruitcake/laravel-cors (v2.0.3 => v2.0.4)
guzzlehttp/psr7 (1.8.1 => 2.0.0)
laravel/dusk (v6.15.0 => v6.15.1)
laravel/framework (v8.40.0 => v8.49.2)
laravel/ui (v3.2.0 => v3.3.0)
league/commonmark (1.5.8 => 1.6.5)
league/flysystem (1.1.3 => 1.1.4)
monolog/monolog (2.2.0 => 2.3.0)
nesbot/carbon (2.46.0 => 2.50.0)
nikic/php-parser (v4.10.4 => v4.11.0)
nunomaduro/collision (v5.3.0 => v5.5.0)
nunomaduro/larastan (v0.7.4 => v0.7.10)
php-parallel-lint/php-parallel-lint (v1.2.0 => v1.3.0)
php-webdriver/webdriver (1.10.0 => 1.11.1)
phpseclib/phpseclib (3.0.7 => 3.0.9)
phpstan/phpstan (0.12.83 => 0.12.92)
phpstan/phpstan-mockery (0.12.13 => 0.12.14)
phpunit/phpunit (9.5.4 => 9.5.6)
predis/predis (v1.1.6 => v1.1.7)
psr/cache (1.0.1)
psr/http-factory (1.0.1)
psr/log (1.1.3 => 1.1.4)
psy/psysh (v0.10.7 => v0.10.8)
rmccue/requests (v1.8.0 => v1.8.1)
sebastian/global-state (5.0.2 => 5.0.3)
sebastian/type (2.3.1 => 2.3.4)
symfony/console (v5.2.6 => v5.3.2)
symfony/css-selector (v5.2.4 => v5.3.0)
symfony/debug (v4.4.20 => v4.4.25)
symfony/error-handler (v5.2.6 => v5.3.3)
symfony/event-dispatcher (v5.2.4 => v5.3.0)
symfony/filesystem (v5.2.6 => v5.3.3)
symfony/finder (v5.2.4 => v5.3.0)
symfony/http-foundation (v5.2.4 => v5.3.3)
symfony/http-kernel (v5.2.6 => v5.3.3)
symfony/mime (v5.2.6 => v5.3.2)
symfony/options-resolver (v5.2.4 => v5.3.0)
symfony/polyfill-ctype (v1.22.1 => v1.23.0)
symfony/polyfill-iconv (v1.22.1 => v1.23.0)
symfony/polyfill-intl-grapheme (v1.22.1 => v1.23.0)
symfony/polyfill-intl-idn (v1.22.1 => v1.23.0)
symfony/polyfill-intl-normalizer (v1.22.1 => v1.23.0)
symfony/polyfill-mbstring (v1.22.1 => v1.23.0)
symfony/polyfill-php72 (v1.22.1 => v1.23.0)
symfony/polyfill-php73 (v1.22.1 => v1.23.0)
symfony/polyfill-php80 (v1.22.1 => v1.23.0)
symfony/process (v5.2.4 => v5.3.2)
symfony/routing (v5.2.6 => v5.3.0)
symfony/stopwatch (v5.2.4 => v5.3.0)
symfony/string (v5.2.6 => v5.3.3)
symfony/translation (v5.2.6 => v5.3.3)
symfony/var-dumper (v5.2.6 => v5.3.3)
symfony/yaml (v4.4.21 => v4.4.26)

* add ignores
2021-07-13 17:41:04 -05:00
Tony Murray
a8b005d23e php-cs 3 prep (#13039) 2021-07-13 16:36:02 -05:00
Tony Murray
58ca5994a1 PHPStan fixes (#13038)
* PHPStan fixes
mostly type fixes
semi-risky changes in availability map widget, tested a bit

* fix style

* Style fix

* restore spaces stupid editor removed

* fix the rest

* device model back

* remove ignores

* introduce variable
2021-07-13 16:35:43 -05:00
Tony Murray
c563efd284 fix non-static call (#13030) 2021-07-12 19:59:05 -05:00
PipoCanaja
9937131906 Update A4400-RTM-MIB (#13032) 2021-07-13 01:02:23 +02:00
Gregory Bers
7e6abdedb3 Rittal lcp parameters (#13035)
* fixed general alarm codes

* fixed Cooling envelope zone. Warnings were shown instead of normal ok messages

* added current error code with description
updated mib with current error code

* Set correct OID for inverter alarms

* added up to date snmprec data
sorted state groups for rittal chiller

* added warning limits according to documentation and standards

* spaces

* Create pcoweb-rittal-lcp-3311_lcp-dx-3311.json

Co-authored-by: PipoCanaja <38363551+PipoCanaja@users.noreply.github.com>
2021-07-13 00:55:56 +02:00
mathieu-artic
fc85424fe9 Correction Ucopia #13031 (#13033)
* correction index ucopia

* correction index ucopia 2

* correction index ucopia 3

* Merci PipoCanaja
2021-07-12 20:17:43 +02:00
mathieu-artic
784c19587a add support for ucopia appliances (#13031) 2021-07-11 23:11:35 +02:00
PipoCanaja
29a0310c4f display metric if available only (#13023) 2021-07-11 13:03:54 -05:00
Npeca75
1b68273b5d Added Vlan discovery on LAG ports, Jetstream OS (#13007)
* Added Vlan discovery on LAG ports, Jetstream OS

* Jetstream expand function rewriten

* Jetstream expand function rewriten

* Jetstream expand function rewriten (v2)

* Added snmprec

* Create jetstream_t1600g-28ts.json

* Combine Regex

Co-authored-by: Tony Murray <murraytony@gmail.com>
2021-07-11 12:21:19 -05:00
Jellyfrog
f76cfb4374 Revert "Refractor health (#13022)" (#13029)
This reverts commit 16f5985f00.
2021-07-11 14:08:14 +02:00
Kevin Zink
16f5985f00 Refractor health (#13022)
* Add power consumed

* Revert "Add power consumed"

This reverts commit 424554ac04bd340de2fd962cb6808045024ef783.

* Refractor Device health sensors

* fix style

* fit style

* fix style
2021-07-10 14:31:43 +02:00
rhinoau
ccb267bb4d Two-factor UI config and status display (#13012)
* two-factor UI config and status display additions

* force test re-run

* removal of blade foreach via keyBy

* remove where clause against all()

* attempt where filtering with keyBy

* use @config and getPref in blade

* another forgotten @config changed

Co-authored-by: PipoCanaja <38363551+PipoCanaja@users.noreply.github.com>
2021-07-09 21:36:08 +02:00
PipoCanaja
5acece54eb fix application fault detail (#13016) 2021-07-09 21:34:17 +02:00
rhinoau
02c2cd47b3 Documentation cleanup of Basic Setup, Advanced Setup, 3rd Party Integration sections (#13018)
* TOC cleanup of Basic Setup, Advanced Setup, 3rd Party Integration sections
2021-07-09 21:34:01 +02:00
rhinoau
fbf653f02e Documentation cleanup of General, Install, Getting Started sections (#13013)
* doc cleanup of general, install, getting started sections

* force tests re-run

Just to force tests re-run

Co-authored-by: PipoCanaja <38363551+PipoCanaja@users.noreply.github.com>
2021-07-08 23:10:05 +02:00
ziodona85
5565b68e56 Create HP-SN-AGENT-MIB (#13009)
Serialnumber for some HP/ARUBA Procurve devices is not inserted in device table. This MIB add it into device.
2021-07-08 17:21:10 +02:00
geg347
3bf11187d1 Fixing irrelevant values rpm packetloss (#13010)
* Fixing irrelevant value for Juniper RPM percentage packetloss

Old MIB values fron generic DISMAN ping pingResultsProbeResponses and pingResultsSentProbes are
querying current probe values so if a probe is still pending, irrelevant value are taken. It results
in high percentage packetloss that not match reality.
Using the Juniper MIB values jnxPingLastTestResultProbeResponses and jnxPingLastTestResultSentProbes
seem to fix this.
At the same time we take here jnxPingLastTestResultAvgRttUs instead of jnxPingResultsRttUs which
is more accurate.

* Fixing typo in the name of Cisco MIB for Cisco SLA's polling

* Delete old comment about SNMP values : getting the all values once instead of one by one

* Adding test files for Juniper RPM last modification

* Revert "Adding test files for Juniper RPM last modification"

This reverts commit 0209b18b9d.

Reverting to keep snmprec junos_vmx already generated file

* Regenerating JSON test file and keeping snmprec file
2021-07-08 15:59:48 +02:00
mathieu-artic
fd597dbd1f add showtime for SDSL line (#13005) 2021-07-08 00:58:00 +02:00
Hans Erasmus
8729363645 Added arista_mos support (#13003)
* arista_mos-support
* Changed according to request
2021-07-06 16:11:28 +02:00
Keryazmi
091f49edb6 Update ADVA's MIB file (#13004)
* Update CM-ALARM-MIB

* Update CM-COMMON-MIB

* Update CM-ENTITY-MIB

* Update CM-FACILITY-MIB

* Update CM-IP-MIB

* Update CM-PERFORMANCE-MIB

* Update CM-SA-MIB

* Update CM-SAT-MIB

* Update CM-SECURITY-MIB

* Update CM-SYSTEM-MIB

* Update F3-BFD-MIB

* Update F3-BRIDGE-MIB

* Update F3-CAPABILITIES-MIB

* Update F3-CFM-MIB

* Update F3-L3-MIB

* Update F3-OSPF-MIB

* Update F3-PTP-MIB

* Update F3-SYNC-MIB

* Update F3-SYNCJACK-MIB

* Update F3-TWAMP-MIB

* Update ADVA-FSPR7-CAP-MIB

* Update ADVA-FSPR7-DEF-MIB

* Update ADVA-FSPR7-MIB

* Update ADVA-FSPR7-MODULE-ENCRYPTION-MIB

* Update ADVA-FSPR7-PM-MIB

* Update ADVA-FSPR7-TC-MIB

* Update ADVA-MIB
2021-07-06 15:48:03 +02:00
mathieu-artic
e27403fc2c add lte/umts support (#13002) 2021-07-06 00:34:50 +02:00
martinberg
504fd0b248 Wrong statement used (#13001) 2021-07-05 18:38:52 +02:00
PipoCanaja
63b9896ac4 Leave it to generate_device_link for sysName/hostName/IP (#13000)
* avoid forcing displayed name, so generate_device_link decides according to LibreNMS config

* same fix for BGP display

* other generate_device_link occurences

* more

* more
2021-07-04 20:58:05 +02:00
Gregory Bers
141653cc01 Added support for the Rittal LCP DX Chiller (#12995)
* Added support for the Rittal LCP DX Chiller connected to a Carel pCOWeb card. A custom MIB is also provided.

* removed .mib extension from CAREL-RITTAL-LCP-3311-MIB

* Added snmp test data
2021-07-04 17:52:40 +02:00
Justin Bronn
d214ec4a28 TP-Link Jetstream DDM and PoE Support (#12990)
* Add TP-Link's DDM and PoE MIBs via their 20210310 archive.

* Add support for DDM sensors on TP-Link Jetstream switches.

* Add support for PoE on TP-Link switches.

* Fix linting issues.

* Fix group discrepancy in test data.

* Fix multiple discrepancies in DDM test data.

* Improve `num_oid` and `index` fields for Jetstream PoE sensors.

* Test data for PoE sensor `index` change.

* Convert Jetstream sensors to YAML and refine index names.
2021-07-04 17:51:57 +02:00
paulierco
bc5a62dcbd Alcatel-Lucent aos7 LLDP Neighbors (#12886)
* first commit

* fix style

* fix style

* fix style

* fix style

* fix style

* fix style

* fix style

* change local_port_id

* fix style

* fix style

* fix style
2021-07-03 15:23:58 +02:00
PipoCanaja
7e2ce6179a Added VRP ICMP SLA (NQA in huawei naming) support (#12973)
* added VRP icmpAppl SLA (NQA in huawei naming) support

* style

* style

* remove unnecessary values in RRD

* enable SLA for VRP devices

* tests
2021-07-03 15:16:38 +02:00
Dag Bakke
e9c8a3c337 extended Eaton M2 EMP g2 (#12994)
* Added minimal support for Eaton EMP gen2 (Env. Monitorin Probe).
Probe is readable from both xups and eaton sensor mib. Many more details available in sensor mib.

* Added states for state sensors.
Added snmprec for an Eaton 9px with firmware 2.0.5 and a connected EMPg2 device.

* added an snmprec for a device with a connected emp g2, and renamed the existing snmprec so we can refer to it as a variant

* readded xupsEnvAmbientTemp sensor
2021-07-02 21:43:03 +02:00
Sean
6f7d0b2027 Fix typo in filename (#12996)
Was introduced 10 years ago by commit 63b25bb2f.
This page seems not used in any code but accessible by the URL:
https://libre.nms/device/device=1/tab=graphs/group=ipSytemStats/
2021-07-01 16:21:56 +02:00
martinberg
131f5c7e87 Option to filter Oxidized groups (#12966)
* Add support for Liebert humidity setpoint and UPS powerfactor

* Option to ignore groups so they are not sent to Oxidized

* Revert "Add support for Liebert humidity setpoint and UPS powerfactor"

This reverts commit c338528aba.

* Updated docs

* Added ignore_groups option

* Added descriptions and updated translations

* Update settings.php

* Fixed typo

Co-authored-by: Tony Murray <murraytony@gmail.com>
2021-06-28 12:53:16 +02:00
paulierco
c505040289 Alcatel-Lucent AOS6 to yaml (#12982)
* first

* add missing ifName

* oid for stacking and style

* add missing ifName

* revert stacking

* remove stacking mib

* remove PS-1
2021-06-28 12:42:34 +02:00
Adam
824a4e4d42 Squid can return OIDs out of order (#12987)
Squid can return OIDs out of order, without -Cc the proxy doesn't pass through correctly.

Solution found via this link - http://www.squid-cache.org/mail-archive/squid-users/200411/0622.html
Currently testing with CERN Frontier Squid Fork.
2021-06-26 10:41:56 +02:00
rhinoau
450463f7b1 filter out NULL lat/lng values from Geographical Map display queries (#12985)
* filter out null lat/long values from map display queries

* removed space

* and the 2nd one

Co-authored-by: PipoCanaja <38363551+PipoCanaja@users.noreply.github.com>
2021-06-25 01:33:20 +02:00
rhinoau
ce0ab24acd Add renamehost function result handling and exit codes (#12980) 2021-06-25 00:34:16 +02:00
VTS
b6f9dd29df return api error when device doesn't exist (#12978)
* return api error when device doesn't exist

Function device_by_id_cache returns a hash table, which isn't null despite the device not existing.  This checks to see if the type has been populated to also determine if the device exists. 

Without this, the function always returns a "valid" device, even if one doesn't exist.

* use device_id instead of type
2021-06-25 00:13:51 +02:00
Ray Lyon
03aa453893 Added logo svg for Rocky Linux (#12977)
* rocky linux logo

* removed width and height attributes

* added back viewbox
2021-06-23 15:48:17 +02:00
dependabot[bot]
1bb4dd173e Bump phpmailer/phpmailer from 6.4.1 to 6.5.0 (#12975)
Bumps [phpmailer/phpmailer](https://github.com/PHPMailer/PHPMailer) from 6.4.1 to 6.5.0.
- [Release notes](https://github.com/PHPMailer/PHPMailer/releases)
- [Changelog](https://github.com/PHPMailer/PHPMailer/blob/master/changelog.md)
- [Commits](https://github.com/PHPMailer/PHPMailer/compare/v6.4.1...v6.5.0)

---
updated-dependencies:
- dependency-name: phpmailer/phpmailer
  dependency-type: direct:production
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-22 23:23:27 +02:00
Simon Smith
748186c05f Update menu.blade.php (#12970)
fix menu proxmox url
2021-06-21 17:59:26 +02:00
Tony Murray
ff55f674c1 Make migrating after upgrading MySQL easier. (#12971)
Many people got stuck by this migration as it would fail on index creation after the table was created
2021-06-21 17:58:33 +02:00
Kevin Zink
7ef302a8b9 EUROstor RAID (#12969)
* Proware Controller in EuroStore RAID Chassis

* fix style

* Eurostore

* renew testdata

* Fix style
2021-06-21 10:13:40 +02:00
cjsoftuk
b7d1420020 Firebrick: Fix an issue which led to duplication of BGP peers. (#12932)
* Firebrick: Fix an issue which led to duplication of BGP peers.

* Code style.

* Attempt to get some sanity with BGP Table 0.

* Attempt to make it so peers are not immediately added then deleted.

* Force vrfId to Null if empty.

* Another attempt at keeping the DB clean.

* Code style.

* Stop the dicovery deleting peers it just created.
2021-06-21 09:51:49 +02:00
Jezekus
b111ab6ff9 Add HPE-maPDU support (#12550)
* Add support for HPE Managed Power Distribution Unit - pdu2 and pdu3

* Adding test data for hpe-mapdu from HPE P/N H8B49A (pdu2) and HPE P/N
P9S18A (pdu3)

* Remove module overrides and leave it up to user. Fix snmp_max_oid

* Fixed detection of PDU3 devices, updated testing data

* Make sysDesc definitions more specific - adding only HPE part number and
whole sysdescription of tested device.

* Change sysDescr to be less specific

* Force Test Re-run

Co-authored-by: PipoCanaja <38363551+PipoCanaja@users.noreply.github.com>
2021-06-19 18:51:14 +02:00
Tony Murray
50dd6c1685 Fix ldap/ad group webui settings (#12967)
* Fix LDAP groups UI WIP

* fix up ldap and ad group settings

* production compiled assets
2021-06-19 16:16:02 +02:00
djamp42
fb36f0bc60 Create Laravel Sessions Table (#12962)
* create laravel sessions table

* fixing last commit
2021-06-18 23:37:50 -05:00
martinberg
24b8bebde7 Add support for Liebert humidity setpoint and UPS powerfactor (#12965) 2021-06-18 16:33:12 +02:00
Tony Murray
fb2608ee3d Bump version to 21.6.0 21.6.0 2021-06-17 23:35:44 -05:00
Tony Murray
62192f81a3 Changelog for 21.6.0 2021-06-17 23:35:44 -05:00
Kevin Zink
4ec609bccf Add Serialnumber for some Dell ForceTen devices (#12960)
* Add Serialnumber for some Dell Force devices

* Also in entity-physical

* fix style

* fix style

* add testdata
2021-06-17 21:16:09 -05:00
Kevin Zink
d0d8a9024b Add Signal CLI transport support (#12954)
* Add Signal CLI support

* Update Signal.php

* fix style

* fix style

* fix CI style

* fix CI style

* escapeshellarg

* fix style

* fix style

* fix style
2021-06-18 00:38:09 +02:00