Commit Graph

18156 Commits

Author SHA1 Message Date
Tony Murray
58a740cf81 Bump version to 21.1.0 21.1.0 2021-02-01 20:57:06 -06:00
Tony Murray
891f0e9694 Changelog for 21.1.0 2021-02-01 20:57:05 -06:00
Tony Murray
c79dc47e00 Bump version to 20.1.0 2021-02-01 20:52:47 -06:00
Tony Murray
38554bdffb Changelog for 20.1.0 2021-02-01 20:52:45 -06:00
Nick Kringle
5137b1319f Adds tripplight snmpwebcard support (#12445)
* Adds Tripplite 12x mib

* Adds triplight envirosense data

* add test data

* fixes type

* flushes out the snmprec

* Fixes incorrect multiplier & adjusts descriptions of sensors

* Adds test data for my variant

* adds test data for the other two (pre existing) variants

* address PR comments by adding additional os discovery items
2021-02-02 00:21:41 +01:00
fablabo
12533aa9a6 Update Rancid.md (#12487)
* Update Rancid.md

The current installation manual suggests running php-fpm as user librenms.  adding user www-data to group rancid won't help in making the rancid config files available for librenms.

* Update Rancid.md

Co-authored-by: Jellyfrog <Jellyfrog@users.noreply.github.com>
2021-02-01 20:54:57 +01:00
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