Commit Graph

18487 Commits

Author SHA1 Message Date
PipoCanaja
2e8c336c8f add TopErrors widget based on error_rate (#12926)
style

style
2021-05-31 19:40:45 +02:00
Kevin Zink
3a0c164a5d Add Barco Clickshare (#12927)
* Add Barco Clickshare

* correct type

* and testdata
2021-05-31 00:15:24 +02:00
Tony Murray
143765ced8 Add 'nobulk' setting in sensors yaml (#12833)
* nobulk setting in sensors yaml
* silly python
2021-05-30 00:08:20 +02:00
mathieu-artic
15da7faef1 Add support for oneaccess router (#12850)
* add oneaccess

* add oneaccess mibs

* modify cpu description

* delete .mib

* add cpu name

* update tests files

* add text
2021-05-29 09:08:28 -05:00
dust241999
f338f41cb3 Fixing support for Vertiv-PDU - Issue 11608 (#12923)
* Trying to add basic support for Vertiv PDU power graphs

* Trying to add basic support for Vertiv PDUs and power graphs

* Update geist-watchdog.yaml

* Update geist-watchdog.yaml

* Update vertiv-pdu.yaml

* Add files via upload

* Add files via upload

* Add files via upload

* Update geist-watchdog.yaml

* Add files via upload

* Delete vertiv-pdu.yaml

* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

Co-authored-by: PipoCanaja <38363551+PipoCanaja@users.noreply.github.com>
2021-05-27 14:58:13 +02:00
PipoCanaja
b55e44a2b4 xDP - ifAlias should be last checked in function find_port_id (#12904)
ifAlias should be last
2021-05-26 00:17:48 +02:00
dust241999
52f78b9ef7 Fixing Vertiv/Geist following 11608 (#12920)
* Trying to add basic support for Vertiv PDU power graphs

* Trying to add basic support for Vertiv PDUs and power graphs

* Update geist-watchdog.yaml

* Update geist-watchdog.yaml

* Update vertiv-pdu.yaml

* Add files via upload

* Add files via upload

* Add files via upload

* Update geist-watchdog.yaml

* Add files via upload

* Delete vertiv-pdu.yaml

Co-authored-by: PipoCanaja <38363551+PipoCanaja@users.noreply.github.com>
2021-05-26 00:16:20 +02:00
Paul Dee
fdde13af90 Documenting spelling (#12919)
setup / set up

Update Style-Guidelines.md

sp/gram

Update SNMP-Trap-Handler.md

Update RRDCached.md

setup = noun
set up = verb/idiom
2021-05-25 21:44:57 +02:00
PipoCanaja
96479ab9b9 Filter unwanted data in Routes Ajax reply (#12847)
* filter unwanted data in AJAX reply

filter unwanted data in AJAX reply

filter unwanted data in AJAX reply

filter unwanted data in AJAX reply

cleaner fix now

* add tooltips, except when text contains 'overlib' calls

* readability

DestType lost in the game

DestType lost in the game
2021-05-25 15:39:20 +02:00
Jellyfrog
556c265934 Initial HAProxy ALOHA support (#12889) 2021-05-25 15:33:18 +02:00
resq
8da002f47c newdevice: Added support for PowerWalker VFI (#12891)
* newdevice: Added support for PowerWalker VFI

* discard powerwalker 500r from being discovered as cyberpower

* add version_regex and correct num_oid: upsInputCurrent

* update version_regex, add hardvare_regex
2021-05-25 15:33:04 +02:00
Tony Murray
0c8d442091 Fix type error (#12899)
Possible float in convertToBytes.
Assuming the original number is a float and it isn't accurate, could end up with a float.
2021-05-25 15:30:50 +02:00
maesbrisa
bc46491349 Bump version to 21.5.1 (#12900) 2021-05-25 15:30:01 +02:00
Maikel de Boer
a6cf1bee7e Added basic support for Ciena 6500 (#12903)
* start

* added test data + mibs

* fxied minor

* Update CIENA-6500-AMPS-MIB

* Update CIENA-6500-ENUMS-MIB

* removed unused mibs

* added test data

* Delete ciena-saos_saos.snmprec

* Rename ciena_saos.json to ciena-saos.json

* Rename ciena_saos.snmprec to ciena-saos.snmprec

* Rename ciena-saos.snmprec to ciena-saos_ 6500.snmprec

* Delete ciena-saos.json

* Delete ciena-saos_ 6500.snmprec

* new attempt for the test data

* test data again

* Delete ciena-saos_saos.json

* Delete ciena-saos_saos.snmprec

* Update ciena-saos.yaml

Cleanup

* added some quickwins

* new test data

* Update ciena-saos.yaml

* added test data

Co-authored-by: PipoCanaja <38363551+PipoCanaja@users.noreply.github.com>
2021-05-25 11:51:14 +02:00
wolfraider
d053f103d5 Added device definition for Riello 204 (#12861) 2021-05-25 11:27:31 +02:00
Kevin Zink
32cddb979f Fix "Sub-directory Support" in small steps (#12911)
This fixes small parts from #12205 part 4
fixes #12205

BTW: This file is a very good candidate for Laravel blade. But I have no idea what to look for in LMNS.
2021-05-25 09:30:24 +02:00
dust241999
558d486a3d Adding basic support for Vertiv PDUs and power graphs (#12908)
* Trying to add basic support for Vertiv PDU power graphs

* Support for fortiswitch in gen_rancid (#12894)

* Trying to add basic support for Vertiv PDUs and power graphs

* Update geist-watchdog.yaml

* Update geist-watchdog.yaml

* Update vertiv-pdu.yaml

Co-authored-by: Cliff Albert <cliff@oisec.net>
Co-authored-by: PipoCanaja <38363551+PipoCanaja@users.noreply.github.com>
2021-05-23 02:02:50 +02:00
Kevin Zink
21a5f756f4 Fix "Sub-directory Support" in small steps (#12905)
* Fix "Sub-directory Support" in small steps

This fixes small parts from #12205 part 2

* Update print-alert-rules.php

fix stryle

* Update print-alert-rules.php

Fix typo
2021-05-22 15:38:53 +02:00
Cliff Albert
cac5910040 Support for fortiswitch in gen_rancid (#12894) 2021-05-22 00:08:35 +02:00
resq
a880643ba4 updated load data (#12897) 21.5.1 2021-05-19 07:27:26 -05:00
Tony Murray
cb739fa2ce Fix port down alert toggle (#12884)
* Fix port down alert toggle

* Further JS fixes.
2021-05-18 07:42:15 -05:00
Tony Murray
5f3537c52e Fix duplicate changelog (#12892) 2021-05-18 10:22:26 +02:00
Tony Murray
e782bdbe02 Bump version to 21.5.0 21.5.0 2021-05-17 19:17:53 -05:00
Tony Murray
ccaf669fe3 Changelog for 21.5.0 2021-05-17 19:17:52 -05:00
Tony Murray
3cd7043fa7 Always test all OS detection. (#12879) 2021-05-16 20:32:54 +02:00
Tony Murray
d924f3f886 Set DBSetupTest timezone to UTC (#12881)
Not sure this is correct, but this test fails 100% on my local system since my timezone is not UTC
2021-05-15 00:55:15 +02:00
Tony Murray
59d6857bb4 lnms dev:simulate Snmpsim debug output on failure (#12880) 2021-05-14 12:39:38 -05:00
Tony Murray
ba4ccc1c61 Fix database validations (#12882)
Query output changed using Laravel Fluent, fix output parsing
2021-05-14 12:38:00 -05:00
Tony Murray
e0ddae9f43 Fixed Unifi new sysObjectID detection (#12878)
* Fixed Unifi new sysObjectID detection

* corrected test data
2021-05-14 09:26:08 -05:00
Jellyfrog
dd2d8acda3 Revert "Unifi 5.60.1 sysObjectID changed (#12862)" (#12876)
This reverts commit 103a52e365.
2021-05-14 13:44:45 +02:00
wolfraider
103a52e365 Unifi 5.60.1 sysObjectID changed (#12862)
* Updated unifi.yaml with new OID

* Create unifi_560.snmprec

Co-authored-by: Tony Murray <murraytony@gmail.com>
2021-05-13 14:40:16 -05:00
Negatifff
236616d085 Huawei MA5603T (#12869)
* Huawei MA5603T

* tests fix 1

* tests fix 2

* tests fix 3
2021-05-13 13:29:07 -05:00
PipoCanaja
0a23844cd8 Revert "Additional Fix - escaped chars for graph legends (#12846)" (#12875)
This reverts commit be54aa3e6d.
2021-05-13 13:16:26 -05:00
Tony Murray
730ea3b008 Revert "Fix escaped chars for graphs legends (#12841)" (#12874)
This reverts commit 9ae652a15c.
2021-05-13 13:13:10 -05:00
Tony Murray
77a17dac88 Fix installer when DB is empty (#12873)
(which is every time)
2021-05-13 13:02:43 -05:00
Tony Murray
5ba3df45eb Fix validation runningInConsole issues (#12872)
* test

* Fix cli checks
Add helper function that works in both before Laravel is booted and without the legacy includes
2021-05-13 13:00:56 -05:00
Tony Murray
1bf9afb744 Fix graph argument issues (#12868)
* Fix top devices widget storage graphs
referenced the wrong graph, caused it to not work because device was not set.

* Handle feedback from rrdtool properly
2021-05-13 11:27:05 -05:00
PipoCanaja
2c8576ea79 fix arp-search remote_interface display (#12871) 2021-05-13 17:14:27 +02:00
PipoCanaja
6b18ee6dfa Fix empty label in generate_port_link (#12870) 2021-05-13 17:03:10 +02:00
Tony Murray
df5096e449 Install: Validate database before migrating (#12867)
* Validate database during install
Needed to remove usages of legacy functions in the validation

* Fix output, restore real versions
2021-05-13 07:18:54 -05:00
Russell Morris
500b0ac6fa CyberPower UPS Updates (#12827)
1) Update to latest MIB (v2.2 => v2.9)
2) Correct scaling factors (matching updated info in MIB)
3) Add Load - confirmed to work
4) Update header, show Load, not Current (due to data availability)
2021-05-12 21:55:01 -05:00
Tony Murray
d10a3db5e0 Fix server stats widget (#12864)
* Fix Server Stats Widget
JustGage update
removed title feature, so re-implement

* Improve layout
2021-05-12 12:39:49 -05:00
Tony Murray
12c160723b Fix install jquery (#12866) 2021-05-12 11:30:45 -05:00
dependabot[bot]
ed42591b0e Bump postcss from 8.2.2 to 8.2.10 (#12858)
Bumps [postcss](https://github.com/postcss/postcss) from 8.2.2 to 8.2.10.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/8.2.2...8.2.10)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-11 22:29:04 -05:00
wolfraider
60d372979d PHP 8 Unit Conversion Fix (#12857)
* PHP 8 Unit Conversion Fix

* changed to float
2021-05-11 18:30:49 -05:00
Tony Murray
abfe62cb44 Fix Unifi processors (#12854)
Use HOST-RESOURCES-MIB, apparently Ubiquiti added partial HR-MIB support sometime.
Works better than the old load based value.
Also port os discovery to the new style
2021-05-11 18:28:58 -05:00
Andrew Backeby
729eccc81a Disable autocomplete for passwords (#12851)
Certain vulnerability scanners (Nexpose in my case) will get this "template" page with curl and see that you can autocomplete the password field. This change should disable it.
2021-05-11 17:29:04 +02:00
Tony Murray
3b0c2c090a Fix top devices widget storage graphs (#12849)
referenced the wrong graph, caused it to not work because device was not set.
2021-05-11 16:58:05 +02:00
Tony Murray
2d752925b0 Oxidized improvements (#12773)
* Oxidized API cleanup
Import more settings to the UI
use lnms config:set

* validate os and type exist

* map settings WIP

* oops

* editing working.  Needed to add new property to pass update state to child

* implement deleting and handle text overflow a little better.

* Update app/Models/Device.php

Co-authored-by: Jellyfrog <Jellyfrog@users.noreply.github.com>

* Update app/Models/Device.php

Co-authored-by: Jellyfrog <Jellyfrog@users.noreply.github.com>

* revert change

* fix style

* add return

Co-authored-by: Jellyfrog <Jellyfrog@users.noreply.github.com>
2021-05-11 08:08:59 -05:00
Tony Murray
3d62be5003 Jquery upgrade (#12802)
* WIP js upgrades

* trying 3.0

* Event handler changes

* fix alert rule collection loading

* blur fix

* jQuery 3.5
homescreen no warnings

* actually 3.6 include js

* Update bootstrap to 3.4.1

* missed file

* Update and test install process

* cleanup

* attempt to version js files that were updated.
2021-05-11 08:08:06 -05:00