Commit Graph

18300 Commits

Author SHA1 Message Date
yrebrac
3251cc8ac0
Creating Documentation page (#12486)
* Updated the creating documentation page with more informationg on
building and viewing. Fixed some formatting and markup issues with
existing text.

* Minor corrections

* Revert "Minor corrections"

This reverts commit efbe4bde55.

* Minor corrections

* Update Creating-Documentation.md

* Update Creating-Documentation.md

* Update Creating-Documentation.md

Co-authored-by: Jellyfrog <Jellyfrog@users.noreply.github.com>
2021-02-01 20:50:52 +01:00
Oahz Egroeg
50b99a4f1a
Fixes #12480 (#12482)
Casting REDIS_TIMEOUT to integer

Co-authored-by: Oahz Egroeg <8146946+EgroegOahz@users.noreply.github.com>
2021-02-01 20:43:32 +01:00
SourceDoctor
17f5a3f232
Copy Dashboard to other User (#11989)
* Copy Dashboard to other User

* travis fix

* only allow Dashboard Copy to Admins

* rewrite query

* move Controller to Eloquent

* optimize row copy

* travis ...

* move copy field to edit section

* code changes

* code changes

* limit copy feature to admins

* .
2021-01-29 08:28:47 -06:00
Dmkaz
5379176bd8
Freenas storage polling fix (#12275)
* Update to fix reporting with multiple zpools

Removed the foreach loop to prevent erroneous reporting when multiple zpools are polled.

* Update to fix reporting with multiple datasets

Removed the foreach loop to prevent erroneous reporting when multiple datasets are polled.

* updated test data

Co-authored-by: Tony Murray <murraytony@gmail.com>
2021-01-28 13:57:47 -06:00
Tony Murray
7b0929b9ee
Fix oxidized API call when config is missing (#12476) 2021-01-28 11:12:22 -06:00
Tony Murray
39217d003f
Remove PHP8 blockers in LibreNMS (#12451)
* PHP8 support
looks like one upstream package needs to be updated also.

* Sync dependencies with laravel/laravel

* remove php 8 tests for now

Co-authored-by: Jellyfrog <Jellyfrog@users.noreply.github.com>
2021-01-28 11:11:55 -06:00
Tony Murray
f230fc8342
fix storage test data order issues (#12478) 2021-01-28 10:49:26 -06:00
Jellyfrog
b68793b70d
Add cache busting support to gh action (#12473) 2021-01-28 17:11:14 +01:00
Amund Meling
22a9f3221a
Redis - Add scheme to allow TLS (#12477)
Ref: https://laravel.com/docs/8.x/redis#configuring-the-connection-scheme
2021-01-28 09:07:56 -06:00
Mathieu Poussin
a0882af549
API: Allow logs to be filtered by min/max id (#12471)
* Allow logs to be filtered by min/max id

* typo
2021-01-28 08:50:58 -06:00
alakiza
841ce1349d
changed default param max_rows to increase widget count on dashboard (#12438)
* webui: changed default param max_rows to increase widget count on dashboard

* Set max rows

* Update jquery.gridster.min.js

* Update jquery.gridster.min.js

* remove newline

Co-authored-by: Tony Murray <murraytony@gmail.com>
2021-01-27 23:00:22 -06:00
Tony Murray
9ad60ac76d
Fix js injections issues in device overview (#12475)
Thanks to @weev on Discord for reporting the issue
2021-01-27 22:09:13 -06:00
Tony Murray
a06d3babad
fix exception in puppet overview (#12474) 2021-01-27 22:08:42 -06:00
Jellyfrog
956494a95b
Switch GH pages to own repo (#12472) 2021-01-28 02:19:56 +01:00
Jellyfrog
32ed73b93e
Speedup tests (#12470)
Moving the up check to later saves unnecessary waiting time
2021-01-27 21:46:45 +01:00
Adm Chrysler
1fe30d366e
Added missing / on internal link (#12467) 2021-01-27 08:07:32 -06:00
Martin
41570c46b1
Support new lines in login_message again (#12469)
Introducing own css class for customization

Fix problem introduced with #12460
2021-01-27 08:06:20 -06:00
Jellyfrog
8d99a89814
Remove deprecated composer argument (#12468) 2021-01-27 10:17:21 +01:00
Tony Murray
60d3d54554
Fix poller frequency display bug and warn (#12466)
* Fix poller frequency display bug and warn
Make warning more obvious.

* Fix typo
2021-01-27 10:10:23 +01:00
ottorei
7b0b59fdfb
Add sensors for Meinberg Lantime NTP-devices (#12447)
* test

* intendation

* test

* test

* test

* fix

* fix

* test

* a

* fix

* a

* a

* index

* index

* a

* a

* a

* fix

* clock types

* a

* spaces

* Add test data

* Additional states

* test

* count

* fix

* fix

* fix

* limits

* a

* a

* test

* a

* fix

* fix

* a

* a

* a

* test

* a

* test

* limit test

* a

* a

* a

* a

* a

* a

* a

* a

* generic values

* os info

* a

* fix

* new test data

* add test data

* Add test data
2021-01-27 04:06:15 +01:00
Jellyfrog
4ba095853b
Add test to check if os parameter matches filename (#12442) 2021-01-25 23:19:31 -06:00
Adam Bishop
ae38a45b7e
Add a button to reset port state history (#12457)
* Add API function to reset port state

* Log the activity

* Make StyleCI Happy

* Update FAQ.md

Add FAQ explaining problem and use
2021-01-25 23:13:31 -06:00
Tony Murray
fb600b4ca9
ldap auth handle no search more gracefully (#12424) 2021-01-25 23:07:51 -06:00
Martin
cdd93b695c
Remove unnecessary horizontal scroll bars in allert widgets (#12464)
* Remove unneeded horizontal scroll bars for alert widgets

Fixes #12454

* Always hide horizontal scroll bars

Width of the widget_body class is set to 100% which hides them anyway, with correct css margins
2021-01-25 23:07:11 -06:00
Adam Bishop
27ac7d65ee
Filter Juniper mempools (#12443)
* Add lost functionality to Juniper mempool polling

* Update test data

* Test data for a more recent device

* Change simple string match to case insentive regex

* Update test data - CPU was affected too
2021-01-25 23:02:30 -06:00
Hayden
82c272cb6e
Update enexus for "SmartPack S" (#12465)
* Update enexus.yaml

add "SmartPack S"

* Update enexus.yaml

better fix
2021-01-25 22:59:15 -06:00
paulierco
9b7c7e8291
Add Alcatel AOS7 bgpdescr & bgpprefix (#12450)
* WIP: Add Alcatel AOS7 bgpdescr & bgpprefix

* fix descr and bgpprefix

* fix func

* fix style

* fix style

* fix style

* add tests
2021-01-25 22:56:59 -06:00
WhippingBoy
ca157ec673
Added Firepower 4125 (#12462) 2021-01-25 22:07:32 +01:00
Martin
3455371ff5
Reintroduce word wrapping to the custom login message (#12460)
The <pre> tag breaks the well formed output of the login messages by introducing scrollbars and wrong background color. Later is most noticeable in the dark theme.
2021-01-24 00:52:40 +01:00
Martin
4779e7952e
Improving readability of tables on dark theme dashboards (#12455)
lighten the text color in widget tables such as syslog or eventlog (it was black on grey)
2021-01-23 00:18:06 -06:00
Tony Murray
488cc2b2c4
Fix plant-pdu detection (#12452)
* Fix plant-pdu detection

* fix regex
2021-01-21 14:21:02 -06:00
Meh
712c260914
Panduit PDU (#12449)
* added panduit pdu

panduit rack mount g5 pdu

* Update panduit,yaml

added snmp parameters and skip values

* added panduit test data

* removed incorrect filename
2021-01-21 03:53:01 +01:00
Tony Murray
43e323bb02
lnms link in /usr/bin (#12446)
* lnms link in /usr/bin

Just put the lnms link in /usr/bin.

Fairly odd that distros don't have /usr/local/bin in PATH

* Update System.php
2021-01-20 03:37:28 +01:00
dependabot[bot]
0c962985cf
Bump laravel/framework from 8.21.0 to 8.22.1 (#12448)
Bumps [laravel/framework](https://github.com/laravel/framework) from 8.21.0 to 8.22.1.
- [Release notes](https://github.com/laravel/framework/releases)
- [Changelog](https://github.com/laravel/framework/blob/8.x/CHANGELOG-8.x.md)
- [Commits](https://github.com/laravel/framework/compare/v8.21.0...v8.22.1)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-20 03:36:29 +01:00
Adam Bishop
1f5384172a
Add mempools, cpu and storage to some arbor devices (#12444)
* Add mempools, cpu and storage to some arbor devices

* Update test data

* Precision must be int - remove
2021-01-19 10:21:23 -06:00
paulierco
709d1b6f56
Add planet-pdu os device (#12441)
* Planet-PDU OS

* fix sysdescr

* fix sysdescr2

* fix sysdescr2
2021-01-18 16:11:53 -06:00
Jezekus
41f1436c15
Add WTI POWER os device (#12440)
* Add WTI-POWER-MIB for support WTI VMR, NPS, RPC and NBB Series Power Products - available from https://ftp.wti.com/download/files/WTI-POWER-MIB.txt

* Created wti-power os definition together with discovery files.

* Add test data for wti-power os, created from available VMR-8HD20 device.

* Fixed typo in num_oid

* Change os in definition, to match filename
2021-01-17 23:55:42 +01:00
zerrac
24604dd0e2
APC ePDU (#12428)
* Update apc powernet mib

* add definitions for APC ePDUs

* add test data

* add descr

* fix os definitions

* add json data

* matcj test data

* fix test data

Co-authored-by: root@webu.coop <root@webu.coop>
Co-authored-by: ccarrez <ccarrez@ccarrez.webu.lan>
2021-01-16 01:48:51 +01:00
Martijn Schmidt
7b4d9d5bae
Enumerate sensors under the Outlet for the entity-physical inventory (#12439) 2021-01-15 16:36:50 +01:00
Maikel de Boer
c06922de43
Nokia sap graph (#12432)
* SAP counters to database

* making rrd works

* Finished SAP polling + graphing

* cleaning up

* resolved ./lnms dev:check failure

* added db_schema and fixed style

* Fixed style

* recoverd file

* fixed

* Clean up

* fixed

* using  graphPopup function
2021-01-15 08:28:22 -06:00
Tony Murray
b07b81021a
Output image for graphs with no data (#11865)
* Output image for graphs with no data

* add font

* Fix graph error, try to detect rrd missing

* centralize graph_error
use it for graph_text_and_exit()

* Add SVG, right now the text can get a little big...

* fix style
2021-01-13 07:23:47 -06:00
Tony Murray
ed41e6eedc
Fix Gaia HA sensors (#12429)
* Fix Gaia HA sensors

* remove ospf again
2021-01-11 22:09:16 +01:00
lazyb0nes
db73b8fade
Check Point: Added HA state support (#12382)
* Added HA state support

* Adding tests for Checkpoint 15600

* Removing trailing white-space in gaia.yaml

* Updating old gaia config files

* Updating the non-variant json of gaia

* Updating git repo directly from a librenms docker container

* Overwriting the original gaia snmprec file

* Once more, with database. Praying to the god of unit tests.

* Removed the new tests

* Trying to re-add 15600

* Re-trying with a fresh snmprec file

* Trying new snmp rec file for 15600

* Remove ospf data

* Update gaia.yaml

Added single quotes

* Update gaia.yaml

* Updating the test after the sensor name change

Co-authored-by: Patrik Jonsson <patrik.jonsson@gmail.com>
Co-authored-by: Tony Murray <murraytony@gmail.com>
2021-01-11 00:22:34 +01:00
Jezekus
80ac2390c0
Fix for Mikrotik SwOS discovery (#12426)
* Update Mikrotik MIBs to latest revision 202010080000Z

* Fix of Mikrotik SwOS definition - missing items removal. Added SwOS discovery file to add supported items.

* Add test data generated from CSS106-1G-4P-1S

* Fix of wrongly mixed old and new test data. Fresh export.
2021-01-10 23:56:17 +01:00
Tony Murray
ecd177f12b
Update php dependencies (#12425)
asm89/stack-cors (v2.0.1 => v2.0.2)
barryvdh/laravel-debugbar (v3.5.1 => v3.5.2)
barryvdh/laravel-ide-helper (v2.8.1 => v2.9.0)
clue/socket-raw (v1.4.1 => v1.5.0)
composer/composer (1.10.16 => 2.0.8)
composer/semver (1.7.1 => 3.2.4)
composer/spdx-licenses (1.5.4 => 1.5.5)
composer/xdebug-handler (1.4.4 => 1.4.5)
doctrine/annotations (1.11.0 => 1.11.1)
doctrine/dbal (2.12.0 => 2.12.1)
doctrine/instantiator (1.3.1 => 1.4.0)
dragonmantank/cron-expression (v3.0.2 => v3.1.0)
egulias/email-validator (2.1.22 => 2.1.25)
facade/ignition (2.4.1 => 2.5.8)
fico7489/laravel-pivot (3.0.3 => 3.0.7)
filp/whoops (2.9.0 => 2.9.1)
friendsofphp/php-cs-fixer (v2.16.4 => v2.17.3)
fzaninotto/faker (v1.9.1 => v1.9.2)
influxdb/influxdb-php (1.15.1 => 1.15.2)
laravel/dusk (v6.8.0 => v6.11.0)
laravel/framework (v8.11.2 => v8.21.0)
laravel/tinker (v2.4.2 => v2.5.0)
laravel/ui (v3.0.0 => v3.2.0)
league/commonmark (1.5.6 => 1.5.7)
maximebf/debugbar (v1.16.3 => v1.16.4)
monolog/monolog (2.1.1 => 2.2.0)
myclabs/deep-copy (1.10.1 => 1.10.2)
nesbot/carbon (2.41.5 => 2.43.0)
nikic/php-parser (v4.10.2 => v4.10.4)
nunomaduro/collision (v5.0.2 => v5.1.0)
nunomaduro/laravel-console-summary (v1.7.0 => v1.7.1)
opis/closure (3.6.0 => 3.6.1)
phar-io/version (3.0.2 => 3.0.4)
php-webdriver/webdriver (1.8.3 => 1.9.0)
phpmailer/phpmailer (v6.1.8 => v6.2.0)
phpseclib/phpseclib (2.0.29 => 2.0.30)
phpspec/prophecy (1.12.1 => 1.12.2)
phpunit/php-code-coverage (9.2.1 => 9.2.5)
phpunit/phpunit (9.4.2 => 9.5.0)
psy/psysh (v0.10.4 => v0.10.5)
sebastian/comparator (4.0.5 => 4.0.6)
sebastian/complexity (2.0.1 => 2.0.2)
sebastian/global-state (5.0.1 => 5.0.2)
sebastian/lines-of-code (1.0.1 => 1.0.3)
seld/jsonlint (1.8.2 => 1.8.3)
staudenmeir/dusk-updater (v1.2.1 => v1.2.2)
swiftmailer/swiftmailer (v6.2.3 => v6.2.4)
symfony/console (v5.1.7 => v5.2.1)
symfony/css-selector (v5.1.7 => v5.2.1)
symfony/debug (v4.4.15 => v4.4.18)
symfony/error-handler (v5.1.7 => v5.2.1)
symfony/event-dispatcher (v5.1.7 => v5.2.1)
symfony/filesystem (v5.1.7 => v5.2.1)
symfony/finder (v5.1.7 => v5.2.1)
symfony/http-foundation (v5.1.7 => v5.2.1)
symfony/http-kernel (v5.1.7 => v5.2.1)
symfony/mime (v5.1.7 => v5.2.1)
symfony/options-resolver (v5.1.7 => v5.2.1)
symfony/polyfill-ctype (v1.20.0 => v1.22.0)
symfony/polyfill-iconv (v1.20.0 => v1.22.0)
symfony/polyfill-intl-grapheme (v1.20.0 => v1.22.0)
symfony/polyfill-intl-idn (v1.20.0 => v1.22.0)
symfony/polyfill-intl-normalizer (v1.20.0 => v1.22.0)
symfony/polyfill-mbstring (v1.20.0 => v1.22.0)
symfony/polyfill-php72 (v1.20.0 => v1.22.0)
symfony/polyfill-php73 (v1.20.0 => v1.22.0)
symfony/polyfill-php80 (v1.20.0 => v1.22.0)
symfony/process (v5.1.7 => v5.2.1)
symfony/routing (v5.1.7 => v5.2.1)
symfony/stopwatch (v5.1.7 => v5.2.1)
symfony/string (v5.1.7 => v5.2.1)
symfony/translation (v5.1.7 => v5.2.1)
symfony/var-dumper (v5.1.7 => v5.2.1)
symfony/yaml (v4.4.15 => v4.4.18)
voku/portable-ascii (1.5.3 => 1.5.6)
wpb/string-blade-compiler (6.0.2 => 6.0.3)

remove scrivo/highlight.php (v9.18.1.3)
2021-01-09 19:33:08 +01:00
Kevin Zink
e26fb4669a
Change raspberry_pi_sensors state (#12390)
* Change raspberry_pi_sensors state

I think it is great that the codecs of a Raspberry are queried, but a non-existent codec license is not a critical sensor value. What do you think?

* Update linux_raspberrypi.json

* Update linux_raspberrypi.json

Co-authored-by: Tony Murray <murraytony@gmail.com>
2021-01-08 21:16:37 -06:00
Jellyfrog
53bc78c9d9
CVE-2020-35700 (#12422)
* CVE-2020-35700

* wip

* Update function to match usage

Co-authored-by: Tony Murray <murraytony@gmail.com>
2021-01-07 12:44:27 +01:00
Jellyfrog
d7e88bf311
Upgrade to Laravel Mix 6 (#12421) 2021-01-06 20:18:43 -06:00
dependabot[bot]
2753d6fbb4
Bump axios from 0.19.2 to 0.21.1 (#12420)
Bumps [axios](https://github.com/axios/axios) from 0.19.2 to 0.21.1.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v0.21.1/CHANGELOG.md)
- [Commits](https://github.com/axios/axios/compare/v0.19.2...v0.21.1)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-05 17:06:27 +01:00
CrazyMax
03d562f587
Remove Travis support (#12416)
Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com>
2021-01-04 21:17:55 -06:00