Commit Graph

18477 Commits

Author SHA1 Message Date
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
PipoCanaja
fff8b8e832 Collect OUI Database and do OUI lookups (#12842)
* first draft

refresh time

refresh time

* return codes

style

style

* presentation

* Exception details

more

fix

fix

* add tooltips

fixes for dns display

* create WebUI config option

languages

* refresh data every 7 to 11 days, keep it 15 days max

* 'Ports' and 'Port' ARP table

* Stp page support

style

style

* fix dnsname column finding when vendor is added/removed

fix dnsname column finding when vendor is added/removed

* nac vendor column

nac

* filter fields to reduce size of AJAX reply

filter fields to reduce size of AJAX reply

* fix typo on dns column detection

* default enabled
2021-05-10 14:56:48 -05:00
dependabot[bot]
d81a0255c5 Bump lodash from 4.17.20 to 4.17.21 (#12848)
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.20 to 4.17.21.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.20...4.17.21)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-10 13:22:40 -05:00
TheGracens
be54aa3e6d Additional Fix - escaped chars for graph legends (#12846)
fix for Toner graph
2021-05-10 10:26:49 +02:00
PipoCanaja
9ae652a15c Fix escaped chars for graphs legends (#12841)
* Fix escaped chars

* more, for mempools

And more again

* overfix

* and the sensors

and more

and more

style

more

more

* wireless

* ntp

more

more wireless

And more

more

* fix mempool once more

* filesystems
2021-05-09 20:10:32 -05:00
Rafael Pardim
6e38ef99fb Checkpoint Gaia Sensor Count (#12822)
* Create Checkpoint Gaia Sensor Count

Gaia Security Gateway Count:
- Number of concurrent connections
- Peak number of concurrent connections
- Limit of Connections table
- Connections rate
- Number of connections handled by SecureXL
- Number of IKE current SAs
- Number of IPsec current Inbound ESP SAs
- Number of IPsec current Outbound ESP SAs

Gaia Management Server Count
- Log Receive Rate
- Log Receive Rate Peak

* Checkpoint Gaia Sensor Count

* Checkpoint Gaia Sensor Count

* Checkpoint Gaia Sensor Count

* Checkpoint Gaia Sensor Count
2021-05-09 10:47:09 +02:00
dependabot[bot]
c5372219b7 Bump url-parse from 1.4.7 to 1.5.1 (#12844)
Bumps [url-parse](https://github.com/unshiftio/url-parse) from 1.4.7 to 1.5.1.
- [Release notes](https://github.com/unshiftio/url-parse/releases)
- [Commits](https://github.com/unshiftio/url-parse/compare/1.4.7...1.5.1)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-09 10:09:43 +02:00
Rafael Pardim
99db4bfd01 Gaia SecureXL current status and Management Connected Gateways (#12821)
* Create Checkpoint Gaia Sensor State

Checkpoint Gaia Gateway Cluster HA State
Checkpoint Gaia Management Connected Gateways

* Update gaia.yaml

* Add SecureXL current status and Management Connected Gateways

* Add SecureXL current status, Management Connected Gateways and Changed haState color to gray

* Add SecureXL current status, Management Connected Gateways and review haState

* Add SecureXL current status, Management Connected Gateways and review haState
2021-05-07 09:13:47 +02:00
Simon Smith
b44ee32b78 add mysql skip slave (#12826) 2021-05-06 18:22:04 +02:00
Rafael Pardim
37ac9dffbe Fix for Gaia Storage duplicated (#12824)
* Fix for Gaia Storage duplicated

We are getting duplicate storage.
Since Checkpoint Gaia is a Linux-based operating system, the file “./includes/discovery/storage/ucd-dsktable.inc.php” has already discovered the storage, so I think the file “./includes/discovery/storage/gaia.inc.php” is not necessary.

* Delete gaia.inc.php

* Add files via upload

* Add files via upload

* Fix for Gaia Storage duplicated
2021-05-06 08:46:11 +02:00
SanderBlom
1f10fecb33 Added support for GE MDS devices (#12834)
* added support for GE MDS devices

* added test files

* Removed .MIB from all mib files

* Update includes/definitions/discovery/gemds.yaml

* Fixed test data

Co-authored-by: Jellyfrog <Jellyfrog@users.noreply.github.com>
2021-05-06 08:41:44 +02:00