Commit Graph

20517 Commits

Author SHA1 Message Date
Tony Murray
f09d1d9c47 Update PHP dependencies (#15737)
* Update PHP dependencies
  - Removing doctrine/annotations (2.0.1)
  - Upgrading barryvdh/laravel-debugbar (v3.8.1 => v3.9.2)
  - Locking carbonphp/carbon-doctrine-types (2.1.0)
  - Upgrading composer/ca-bundle (1.3.7 => 1.4.0)
  - Upgrading composer/composer (2.6.4 => 2.6.6)
  - Upgrading composer/pcre (3.1.0 => 3.1.1)
  - Upgrading composer/spdx-licenses (1.5.7 => 1.5.8)
  - Upgrading doctrine/dbal (3.6.5 => 3.7.2)
  - Upgrading doctrine/deprecations (v1.1.1 => 1.1.2)
  - Upgrading dragonmantank/cron-expression (v3.3.2 => v3.3.3)
  - Upgrading egulias/email-validator (4.0.1 => 4.0.2)
  - Upgrading ezyang/htmlpurifier (v4.16.0 => v4.17.0)
  - Upgrading fakerphp/faker (v1.23.0 => v1.23.1)
  - Upgrading filp/whoops (2.15.3 => 2.15.4)
  - Upgrading friendsofphp/php-cs-fixer (v3.22.0 => v3.46.0)
  - Upgrading fruitcake/php-cors (v1.2.0 => v1.3.0)
  - Upgrading graham-campbell/result-type (v1.1.1 => v1.1.2)
  - Upgrading guzzlehttp/guzzle (7.7.0 => 7.8.1)
  - Upgrading guzzlehttp/promises (2.0.0 => 2.0.2)
  - Upgrading guzzlehttp/psr7 (2.5.0 => 2.6.2)
  - Upgrading guzzlehttp/uri-template (v1.0.1 => v1.0.3)
  - Upgrading laravel/dusk (v7.9.0 => v7.12.1)
  - Upgrading laravel/framework (v10.16.1 => v10.40.0)
  - Locking laravel/prompts (v0.1.15)
  - Upgrading laravel/serializable-closure (v1.3.1 => v1.3.3)
  - Upgrading laravel/socialite (v5.8.0 => v5.11.0)
  - Upgrading laravel/tinker (v2.8.1 => v2.9.0)
  - Upgrading laravel/ui (v4.2.2 => v4.3.0)
  - Upgrading league/commonmark (2.4.0 => 2.4.1)
  - Upgrading league/flysystem (3.15.1 => 3.23.0)
  - Upgrading league/flysystem-local (3.15.0 => 3.23.0)
  - Upgrading league/mime-type-detection (1.11.0 => 1.14.0)
  - Upgrading maximebf/debugbar (v1.18.2 => v1.19.1)
  - Upgrading mews/purifier (3.4.0 => 3.4.1)
  - Upgrading mockery/mockery (1.6.4 => 1.6.7)
  - Upgrading monolog/monolog (3.4.0 => 3.5.0)
  - Upgrading nesbot/carbon (2.68.1 => 2.72.1)
  - Upgrading nette/schema (v1.2.3 => v1.2.5)
  - Upgrading nette/utils (v4.0.0 => v4.0.3)
  - Upgrading nikic/php-parser (v4.16.0 => v4.18.0)
  - Upgrading nunomaduro/collision (v7.1.0 => v7.10.0)
  - Upgrading nunomaduro/larastan (v2.6.3 => v2.8.1)
  - Upgrading pear/net_dns2 (v1.5.3 => v1.5.4)
  - Upgrading php-amqplib/php-amqplib (v3.5.4 => v3.6.0)
  - Upgrading php-flasher/flasher (v1.15.3 => v1.15.8)
  - Upgrading php-flasher/flasher-laravel (v1.15.3 => v1.15.8)
  - Upgrading php-webdriver/webdriver (1.14.0 => 1.15.1)
  - Upgrading phpdocumentor/type-resolver (1.7.2 => 1.8.0)
  - Upgrading phpmailer/phpmailer (v6.8.0 => v6.9.1)
  - Upgrading phpmyadmin/sql-parser (5.8.0 => 5.8.2)
  - Upgrading phpoption/phpoption (1.9.1 => 1.9.2)
  - Upgrading phpseclib/phpseclib (3.0.34 => 3.0.35)
  - Upgrading phpstan/phpdoc-parser (1.23.0 => 1.25.0)
  - Upgrading phpstan/phpstan (1.10.26 => 1.10.55)
  - Upgrading phpstan/phpstan-deprecation-rules (1.1.3 => 1.1.4)
  - Upgrading phpstan/phpstan-mockery (1.1.1 => 1.1.2)
  - Upgrading phpunit/php-code-coverage (9.2.27 => 9.2.30)
  - Upgrading phpunit/phpunit (9.6.10 => 9.6.15)
  - Upgrading predis/predis (v2.2.0 => v2.2.2)
  - Locking psr/clock (1.0.0)
  - Upgrading psr/http-client (1.0.2 => 1.0.3)
  - Upgrading psy/psysh (v0.11.19 => v0.12.0)
  - Upgrading ramsey/uuid (4.7.4 => 4.7.5)
  - Upgrading react/promise (v3.0.0 => v3.1.0)
  - Upgrading sebastian/complexity (2.0.2 => 2.0.3)
  - Upgrading sebastian/global-state (5.0.5 => 5.0.6)
  - Upgrading sebastian/lines-of-code (1.0.3 => 1.0.4)
  - Upgrading seld/jsonlint (1.10.0 => 1.10.1)
  - Upgrading socialiteproviders/manager (v4.3.0 => v4.4.0)
  - Upgrading spatie/flare-client-php (1.4.1 => 1.4.3)
  - Upgrading spatie/ignition (1.9.0 => 1.12.0)
  - Upgrading spatie/laravel-ignition (2.2.0 => 2.4.1)
  - Upgrading symfony/console (v6.3.4 => v6.4.2)
  - Upgrading symfony/css-selector (v6.3.0 => v6.4.0)
  - Upgrading symfony/deprecation-contracts (v3.3.0 => v3.4.0)
  - Upgrading symfony/error-handler (v6.3.0 => v6.4.0)
  - Upgrading symfony/event-dispatcher (v6.3.0 => v6.4.2)
  - Upgrading symfony/event-dispatcher-contracts (v3.3.0 => v3.4.0)
  - Upgrading symfony/filesystem (v6.3.1 => v6.4.0)
  - Upgrading symfony/finder (v6.3.3 => v6.4.0)
  - Upgrading symfony/http-foundation (v6.3.1 => v6.4.2)
  - Upgrading symfony/http-kernel (v6.3.1 => v6.4.2)
  - Upgrading symfony/mailer (v6.3.0 => v6.4.2)
  - Upgrading symfony/mime (v6.3.0 => v6.4.0)
  - Upgrading symfony/options-resolver (v6.3.0 => v6.4.0)
  - Upgrading symfony/polyfill-intl-idn (v1.27.0 => v1.28.0)
  - Upgrading symfony/polyfill-php72 (v1.27.0 => v1.28.0)
  - Upgrading symfony/polyfill-php83 (v1.27.0 => v1.28.0)
  - Upgrading symfony/polyfill-uuid (v1.27.0 => v1.28.0)
  - Upgrading symfony/process (v6.3.4 => v6.4.2)
  - Upgrading symfony/routing (v6.3.1 => v6.4.2)
  - Upgrading symfony/service-contracts (v3.3.0 => v3.4.1)
  - Upgrading symfony/stopwatch (v6.3.0 => v6.4.0)
  - Upgrading symfony/string (v6.3.2 => v6.4.2)
  - Upgrading symfony/translation (v6.3.0 => v6.4.2)
  - Upgrading symfony/translation-contracts (v3.3.0 => v3.4.1)
  - Upgrading symfony/uid (v6.3.0 => v6.4.0)
  - Upgrading symfony/var-dumper (v6.3.1 => v6.4.2)
  - Upgrading symfony/yaml (v6.3.0 => v6.4.0)
  - Upgrading tecnickcom/tcpdf (6.6.2 => 6.6.5)
  - Upgrading theseer/tokenizer (1.2.1 => 1.2.2)
  - Upgrading tightenco/ziggy (v1.6.0 => v1.8.1)
  - Upgrading tijsverkoyen/css-to-inline-styles (2.2.6 => v2.2.7)
  - Upgrading vlucas/phpdotenv (v5.5.0 => v5.6.0)
  - Upgrading web-token/jwt-core (3.2.7 => 3.2.9)
  - Upgrading web-token/jwt-key-mgmt (3.2.7 => 3.2.9)
  - Upgrading web-token/jwt-signature (3.2.7 => 3.2.9)
  - Upgrading web-token/jwt-signature-algorithm-ecdsa (3.2.7 => 3.2.9)
  - Upgrading web-token/jwt-util-ecc (3.2.7 => 3.2.9)

* update baseline

* remove unneeded annotation
2024-01-16 18:04:40 +01:00
Félix Bouynot
681aeb6978 Missing dir read permission in sepolicy in RRDCached.md (#15754) 2024-01-16 09:27:58 -06:00
SourceDoctor
ba48a17a45 Sort smart app disks by label (#15686)
* sort smart app disks by label

* .

* .
2024-01-15 23:05:10 +00:00
Justin Lentz
ee114218d4 Add PollerGroup as an option for OxidizedMap (#15696)
* Update SettingOxidizedMaps.vue

* Update api_functions.inc.php

* Update app.js

* Update app.js

* Style

* Update mix-manifest.json
2024-01-15 22:55:20 +00:00
PipoCanaja
f115de989e OSPF instances and missing mandatory fields fix attempt (#15712)
* dirty fix

* better fix

* more column checks

* double check not necessary

* get out of both loops
2024-01-15 22:45:59 +00:00
PipoCanaja
598857c6ef VRP - avoid emptying bgpPeers description at discovery when manually set (#15713)
* avoid clearing BGP peer desc at discovery

* more fix

* more fix
2024-01-15 22:43:53 +00:00
gunkaaa
4effb40294 Fall back to IPV6-MIB IPv6 address discovery if IP-MIB IPv6 address discovery doesn't return any valid addresses (#15714) 2024-01-15 22:41:33 +00:00
Arjit Chaudhary
651be0c4e1 Switch bill notes to textarea (#15749) 2024-01-15 22:35:44 +00:00
Jellyfrog
4fa5cb5cfc Apply fixes from StyleCI (#15752)
Co-authored-by: StyleCI Bot <bot@styleci.io>
2024-01-15 22:29:33 +01:00
Zane C. Bowers-Hadley
19e2062893 add BorgBackup monitoring support (#15591)
* add borgbackup poller

* add borgbackup app page

* add graphs for borg backup

* minor borgbackup graph fixes and cleanups

* don't use custom colors for borg backup

* add metrics

* add borgbackup to the apps page

* add borgbackup snmprec for v1

* add test file for borgbackup v1

* add borg backup docs

* various style fixes

* add a missing key to the test data

* $total_vars -> $to_total

* remove a accidentally added space to applications.md

* test tweaks

* add no_hourly option to generic_stats

* add some more options to generic stats and don't display hourly since it is not really useful for borg backup

* style fix
2024-01-15 15:39:49 +01:00
Peca Nesovanovic
41d26a0876 Added support for Dlink dgs-1250-28x (#15734) 2024-01-15 10:12:48 +01:00
My Random Thoughts
a1582dd405 Added missing word (#15746)
Service will **be** modified for the specified Device
2024-01-15 10:11:19 +01:00
blknight88
8bdd5c1be9 Update Rules.md (#15736)
Since 23.10.0 the currently documented SQL override rule does not work. This one I got from ChatGPT does work so far. 

For reference: https://github.com/librenms/librenms/issues/15700
2024-01-14 20:13:09 +01:00
Dan Langille
4d2ff3465e Change MySQl -> MySQL - upper case that l (#15744) 2024-01-14 19:36:38 +01:00
kakohegyi
4456640e51 Zyxel Wireless Controller OS ( Zyxel NXC series ) (#15694)
* zyxelwlc

* Zyxel Wireless Controller OS

* Zyxel Wireless Controller OS

* Update Zyxelwlc.php

* test data

* sensor count graph

* sensor count graph

* sensor count graph

* sensor count graph

* fix indent

* trailing CR

* Trailing CR

* fix count def

* Delete includes/html/graphs/device/sensor-count-zyxelwlc-sessions.inc.php

Not necessary

* Delete includes/html/pages/device/graphs/sensor-count-zyxelwlc-sessions.inc.php

Not necessary

* fix tests

* fix tests for real

* session graph in core section

* session graph in core section

* session graph in core section

---------

Co-authored-by: PipoCanaja <38363551+PipoCanaja@users.noreply.github.com>
2024-01-14 14:02:28 +01:00
Neil Lathwood
9b7d2f80e6 Removed fortigate tests that are breaking ci/cd (#15743) 2024-01-14 12:33:35 +01:00
Tozz
2fa4435840 Add FortiSwitch PSU state sensor support (#15735)
* Add PSU State sensor support for FortiSwitch

* FortiSwitch 424E-Fiber test data

* FortiSwitch 424E-Fiber test data

* num_oid fix

* Set graph to 0

No clue wat ' graph'  parameter does, but 0 seems to be the default

* Fixed test data after num_oid fix

* Fixed test data after num_oid fix

* Test data fix after yet another fix

* Test data fix after yet another fix

* Cant seem to get test data to change state_draw_graph to 0
2024-01-13 23:37:11 +01:00
Tozz
054d647bfc ArubaOS-CX PSU state sensor support & OS and serial detection (#15738)
* ArubaOS-CX PSU & OS & serial support

- PSU state sensor support
- Add OS/software detection
- Improve serial number detection. Aruba doesn't (always) present a serialnumber on index .1. Seems to have been replaced to .101001

# snmpget -v2c -c public 192.168.178.200  -m HOST-RESOURCES-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/arubaos-cx ENTITY-MIB::entPhysicalSerialNum.1 ENTITY-MIB::entPhysicalSerialNum.101001
ENTITY-MIB::entPhysicalSerialNum.1 = STRING: 
ENTITY-MIB::entPhysicalSerialNum.101001 = STRING: SG30LMP0WD

# cat /root/aruba/all-oke-mib  | grep 101001
ENTITY-MIB::entPhysicalDescr.101001 = STRING: 6300M 24-port SFP+ and 4-port SFP56 Switch
ENTITY-MIB::entPhysicalVendorType.101001 = OID: ARUBAWIRED-NETWORKING-OID::arubaWiredSwitchJL658A

* ArubaOS-CX 6300M test data
* ArubaOS-CX 6300M test data
* num_oid fix
2024-01-13 19:22:28 +01:00
Justin Lentz
060775b008 Revert "Add ieee754_to_float to custom_oid" (#15733) 2024-01-12 14:04:32 -06:00
i4networks
0351320f4d Add ieee754_to_float to custom_oid (#15692)
Nokia SROS uses ieee754 in some SNMP OID's
2024-01-12 11:18:53 -06:00
dependabot[bot]
dd7e03fffc Bump follow-redirects from 1.15.3 to 1.15.4 (#15724)
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.15.3 to 1.15.4.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.15.3...v1.15.4)

---
updated-dependencies:
- dependency-name: follow-redirects
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-12 10:22:21 +01:00
z0d1ac-RU
17a054884c Update eltex-mes23xx.yaml (#15725)
Added MES 2348B
2024-01-11 09:50:37 -06:00
rudybroersma
7292662038 Add FortiGate DHCP Scope usage percentage sensors (#15727)
* Update fortigate.inc.php

* Add percent sensors for DHCP Pool usage (per vDOM)

* FortiGate 40F JSON Test Data

* FortiGate 40F JSON Test Data for DHCP Usage sensor

* Style-CI Fix

* Style-CI Fix
2024-01-11 08:52:06 -06:00
rudybroersma
8d791f5c05 Add FortiGate license status sensors (#15722)
* FortiGate 40F JSON Test data

* FortiGate 40F SNMPrec Test Data

* Add license expiration days state sensor

* Add FortiGate license expiration count sensors

* Update FORTINET-FORTIGATE-MIB

Update to version 2023-07-21
2024-01-10 09:11:10 -06:00
Tony Murray
389cdcbcb2 Fix API add_device markdown (#15684) 2024-01-09 23:36:59 +00:00
Félix Bouynot
f7243f538b Add CentOS option to SMART dependency install (#15704) 2024-01-09 23:27:16 +00:00
Santiago Z
1e041eab73 READM License Copyright (C) 2013-2024 (#15703) 2024-01-09 23:26:02 +00:00
Luis Ferrer Garrido
d91224f14c Update watchguard MIBS (#15719)
* Update WATCHGUARD-PRODUCTS-MIB

Updating the MIB file with the latest version from the manufacturer

* Update WATCHGUARD-INFO-SYSTEM-MIB

* Update WATCHGUARD-PRODUCTS-MIB
2024-01-09 23:22:31 +00:00
Gil Obradors
5856e2c6cd Rename JiraServiceManagement.php to Jiraservicemanagement.php (#15717)
* Rename JiraServiceManagement.php to Jiraservicemanagement.php

#15716 Filenames must not be PascalCase, only the first letter can be uppercase.

* Update Jiraservicemanagement.php

Following class name conventions

* Update Jiraservicemanagement.php

---------

Co-authored-by: Tony Murray <murraytony@gmail.com>
2024-01-09 16:05:29 +01:00
Tony Murray
2a7892b4cc Add isis module to os schema (#15710)
* Add isis module to os schema
Helps for enabling os.<osname>.isis true via lnms config:set
* Apply fixes from StyleCI

---------

Co-authored-by: StyleCI Bot <bot@styleci.io>
2024-01-08 19:49:57 +01:00
TvL2386
956b7af095 Fixed typo in misc/alert_rules.json with regards to "Space on ..." alerts (#15708)
* fixed typo
* restore double quotes 
`\"/\"`

---------

Co-authored-by: PipoCanaja <38363551+PipoCanaja@users.noreply.github.com>
2024-01-08 18:42:32 +01:00
Peter Reinhold
8fb94c07c4 Handle icmpjitter SLA parsing for iosxe (#15707)
* Added MIB file CISCO-RTTMON-ICMP-MIB to Cisco collection
Query rttMonLatestIcmpJitterOperTable when polling SLAs
Extended icmpJitter parsing to allow retrieval of jitter related data from multiple locations in MIB tree

Fixes #15658

* Appended snmprec data to testdata

* Update iosxe_c9300.json

---------

Co-authored-by: PipoCanaja <38363551+PipoCanaja@users.noreply.github.com>
2024-01-08 18:42:00 +01:00
Tony Murray
ca891b477e Fix XSS in default example plugin (#15711)
* Fix XSS in default example plugin
on* html fields are hard to escape properly, avoid putting user input there

* Apply fixes from StyleCI

---------

Co-authored-by: StyleCI Bot <bot@styleci.io>
2024-01-08 10:08:41 -06:00
Hamza Khan
166026d251 Add JiraServiceManagement Transport (#15593) 2024-01-08 16:49:14 +01:00
Neil Lathwood
421f2c7d38 Bump version to 24.1.0 24.1.0 2024-01-07 15:49:52 +00:00
Neil Lathwood
882de1f7e1 Changelog for 24.1.0 2024-01-07 15:49:51 +00:00
Jellyfrog
071ca9bc2a Apply fixes from StyleCI (#15698)
Co-authored-by: StyleCI Bot <bot@styleci.io>
2024-01-04 22:39:12 -06:00
ch
58becd9ea2 Update MIKROTIK-MIB (#15690) 2024-01-04 08:56:56 -06:00
Ville Hukkamäki
2ed5afc826 Fix Rancid error messages (#15683)
* Fix Rancid error messages

* Fix code style issues.
2023-12-31 13:19:32 +01:00
Justin Lentz
8e62ad53b4 Clarify In/Out (#15680) 2023-12-30 18:48:22 +01:00
Imre Liessens
21628dee0f Ignore nameless health sensors for Fortigate (#15678) 2023-12-30 18:47:53 +01:00
sarcastic6
c1c20ef1e3 Add support for RoomAlert 32S device (#15676)
* Initial attempt to add AVTECH RoomAlert 32S support

* Add RA32S test units
2023-12-30 18:47:21 +01:00
SourceDoctor
abf8c564b7 fix smart application parsing (#15672)
* fix smart application parsing

* style fix

* test

* test

* test

* .
2023-12-26 22:10:14 +01:00
Arnold
1170dc50c5 Updating the logo to higher resolution one (#15669) 2023-12-24 14:46:56 +01:00
rudybroersma
7c0103a7bd device - Add Cisco REP Segment state sensor (#15666)
* Update cisco.inc.php - Add REP Segment state sensor

* Create ios_cisco.snmprec

* JSON files for REP support test data

* Rename to IE2000 and add matchin JSON

---------

Co-authored-by: PipoCanaja <38363551+PipoCanaja@users.noreply.github.com>
2023-12-21 21:30:53 +01:00
Luis Wolfarth
159b565ad6 Fixing memory scale for datacom-dmos devices (#15640)
* Fixing memory scale for datacom-dmos devices

Fixing memory scale for datacom-dmos devices

* Update datacom-dmos.yaml

Removing the line "index: 1" because the MIB shall provide the existent indexes.

* Uploading updated snmprec files

Uploading updated snmprec files after changing the datacom-dmos.yaml in order to fix the memory scale.

* Uploading updated json files

Uploading updated json files after changing the datacom-dmos.yaml in order to fix the memory scale.

* datacom-dmos updated snmprec files

* snmprec files

* Updated datacom-dmos test files (snmprec and json)

Updated datacom-dmos test files (snmprec and json). I had problems generating these files, so please ignore the commits without files I did earlier.

* Fix Tests

---------

Co-authored-by: PipoCanaja <38363551+PipoCanaja@users.noreply.github.com>
2023-12-21 19:59:38 +01:00
RobJE
4469df10f4 Use Number::constrainInteger instead of unsignedToSigned in Cisco NTP poller (#15667)
* switch to constrainInteger for cisco ntp too
* correct styleci issue
2023-12-21 19:15:02 +01:00
Tony Murray
6bea8cffa6 New utility Number::constrainInteger() (#15663)
* New utility Number::constrainInteger()
Fixes a bug with Number::unsignedAsSigned() and implements signed support as well.

* cleanup

* Apply fixes from StyleCI

* Remove default cases

---------

Co-authored-by: StyleCI Bot <bot@styleci.io>
2023-12-20 09:21:40 -06:00
mtentilucci
b4a61636c1 Fix HPE iLO CPU Status Sensor Description (#15660)
* fix processor# description

* update hpe-ilo test data
2023-12-19 15:45:39 -06:00
Neil Lathwood
f8916842e7 Added better support for some HiveOS Wireless devices (#15661) 2023-12-19 14:32:07 -06:00