Commit Graph

18135 Commits

Author SHA1 Message Date
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
paulierco
575ce64f77 New device OS: McafeeWebGateway (#12418)
* McafeeWebGateway OS

* Update mcafeewebgateway.svg

* Update mcafeewebgateway.svg

* Update mcafeewebgateway.svg

* Update mcafeewebgateway.svg

Co-authored-by: Jellyfrog <Jellyfrog@users.noreply.github.com>
2021-01-04 23:04:07 +01:00
Vitali Kari
9126e0f00a new device os Raisecom Router OS (ROAP) (#12361)
* new device os Raisecom Router OS (ROAP)
tried to add that as existing raisecom os but ended in new os, because they use a
new MIB base for Router OS and newer devices.

* add sensors
2021-01-04 00:39:35 +01:00
Ramūnas Lukoševičius
10eb7b2c2a Added support for Motorola and Thomson DOCSIS Cable Modems. (#12386)
* Added tv_signal sensor class (TV signal in dBmV (decibells to millivolt))

* Added OS motorola-cm (Motorolla DOCSIS Cable Modem)

* Added OS thomson-cm (Thomson DOCSIS Cable Modem)
2021-01-03 22:35:32 +01:00
Martijn Schmidt
503b507629 Schleifenbauer model DPM27/E (#12414)
* Update from PDU_mib_244 to PDU_mib_262

* Add a new sysObjectID for the OS detection of schleifenbauer devices

* Update snmpsim data, no changes in save-test-data.php output.

* Revert "Update snmpsim data, no changes in save-test-data.php output."

This reverts commit ac7c0d5610.

* snmpsim + test data for OS schleifenbauer variant dpm27e
2021-01-03 21:14:33 +01:00
Vitali Kari
77c534050a Eltek Enexus: Disable some battery sensors if no battery bank is installed (#12367) 2021-01-03 18:59:38 +01:00
paulierco
95603e494a Alcatel-Lucent support part2 (#12369)
* Alcatel-Lucent support part2

* fixing low temp for aos6, mem for aos6 and linkagg for both

* style for aos6.yaml

* style2 for aos6.yaml

* fix style

* fix style

* add test data
2021-01-03 18:57:47 +01:00
Torch
187165e464 Added IES 5206 and 5212 test files (#12373)
Added IES 5206 and 5212 to supported sysObjectIDs
2021-01-03 18:46:45 +01:00
CrazyMax
4126dddf73 GitHub Actions dev:check ci (#12392)
* Refactor test for GitHub Actions

* Checkout pull request HEAD commit instead of merge commit

* Fetch changed files from API instead of git

* HEAD commit

* Origin

* Fix env

* force full unit checks on gh actions change

* Fix DB conn

* Update test.yml

* Also set port in PDO connection

* Exit with correct exit code

* Update CiHelper.php

* Update test.yml

* Update CiHelper.php

* Update Proc.php

* Cleanups

Remove extra unit test run on php 7.4
Add names that will hopefully show in github.
Remove redundant DB env variables.

* Fix

Shorter names
and DB_TEST env is required

* Change command for information purposes

Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com>
Co-authored-by: Tony Murray <murraytony@gmail.com>
Co-authored-by: Jellyfrog <Jellyfrog@users.noreply.github.com>
2021-01-03 00:54:01 -06:00
SourceDoctor
590b3ad123 Show Device Group on Map (#12379)
* Show Device Group on Map

* style fix

* .

* .
2021-01-02 22:06:52 +01:00
Erkan
7f93e2220d Update functions.inc.php (#12406)
I think left and right text is inverse. Example in page with all processor, percent_used is at the right instead of left
2021-01-02 00:47:41 +01:00
djamp42
1536b32907 Fix broken evaulation on auto discovery (#12408)
My Cisco IP phones were still being auto discovered even when i had autodiscovery.xdp set to false, and it wasn't ignoring them for the auto discovery regex either. This statement had some misplaced Parenthesis. Working now on my install with this fix.
2021-01-02 00:22:55 +01:00
Richard Lawley
c6c046f172 Document flattened Inventory API function (#12404) 2021-01-02 00:07:33 +01:00
dlehman83
9f591c0aa2 Update Documentation (#12411)
* Update Documentation

Most work in Graylog and SNMP
Fixed many code tags, spelling and wording.
Added SNMP PowerShell example.

* Update SNMP-Configuration-Examples.md

Fix TOC brackets
2020-12-30 15:38:14 +01:00
Jellyfrog
c3d47dee4a Apply fixes from StyleCI (#12412) 2020-12-30 15:37:08 +01:00
SourceDoctor
9c248d1b52 Doc - Increase Nginx Timeout (#12368)
* Doc - Increase Nginx Timeout
2020-12-30 14:38:59 +01:00