Commit Graph
18228 Commits
Author SHA1 Message Date
7d65cf1f05 Add application powermon (#12500)
* adding powermon application

* working consumption graph

* updating powermon application

* powermon app style fixes

* added powermon app test data

* debug code

* revert

* fix tests

* fix tests

Co-authored-by: Tony Murray <[email protected]>
Co-authored-by: Jellyfrog <[email protected]>
2021-03-07 20:28:09 +01:00
49868ee1a6 docker stats app (#12358)
* docker stat app support

* Add missing doc and app

* stylci

* styleci

* styleci

* Add test data

* add snmpsim

* Update docker.inc.php

test with use Number::Bi

* typo

* Add tests

* Add tests

Co-authored-by: Jellyfrog <[email protected]>
2021-03-07 20:26:44 +01:00
Cirno the StrongestandGitHub b340a3eec4 Use high precision OIDs for APC UPS sensors (#12158) 2021-03-07 10:45:10 +01:00
JellyfrogandGitHub 3b2424fb1f Fix broken tests (#12588) 2021-03-07 10:40:43 +01:00
Dan BakerandGitHub e04f0447af Added alarm detection and optical PMs for Waveserver Ai (#12380) 2021-03-06 22:14:43 +01:00
Andrew HolmesandGitHub ec15515aae support newer SyncServer (#12423)
* update microsemitime.yaml to support newer SyncServer sysObjectId, add additional device information fields and sensors

* fix test data. I keep forgetting that.
2021-03-06 22:10:04 +01:00
c5178cf550 webui: Add button to show verbose alert details in the alert, alert-log webui (#12484)
* Show verbose alert details in the alert, alert-log webui

update file permissions

* Make global admin permission required to use alert details ui

* StyleCI patch

Co-authored-by: root <[email protected]>
2021-03-06 21:57:06 +01:00
pbaldoviandGitHub 9f208360b3 Add Google Chat Transport (#12558)
* Add Google Chat Transport

* Bug. False response on succesfully sended messages

* Style CI patch
2021-03-06 21:48:20 +01:00
PipoCanajaandGitHub 42ded0fb54 Collect BIOS version for IBMC (#12586) 2021-03-06 21:36:16 +01:00
09d30ce75d Global Settings - SNMP Timeout (#12579)
* Global Settings - SNMP Timeout

* omit snmp timeout if it is 1

* add retries field

* filter default retries too

* fix typo

Co-authored-by: Tony Murray <[email protected]>
2021-03-04 20:18:26 -06:00
Tony MurrayandGitHub 0e05fa31bf Location tests more reliable (#12584)
* Location tests more reliable

* perhaps this stayed disabled
2021-03-04 20:17:32 -06:00
JellyfrogandGitHub d6a830e72b Add minimum database version check (#12581) 2021-03-04 12:01:57 -06:00
Tony MurrayandGitHub 6e19805bcb remove legacy json format function (#12583)
* remove legacy json format function

* remove silly use
2021-03-04 14:55:41 +01:00
Tony MurrayandGitHub e4e2113585 Developer device simulation (#12577)
* Developer device simulation
lnms dev:simulate
handy helper to start snmpsim with test data and optionally add and remove a device to LibreNMS

* doc update
2021-03-03 21:42:49 -06:00
0a8f24c5b1 Cisco enhanced cellular (#12463)
* Cisco enhanced cellular support

* Extra sensors, camelcasing and bugfixes

* Doc update

* German translation

* French translation

* Style fixes

* Style changes

* Style changes

* Style changes

* Style changes

* Style changes

* Added test data

* New test data --variant

* New test data --variant ir1101

* Made the new wireless sensors generic

* Added test data for ios variant ir809

* Fix includes/discovery/sensors/count/cisco.inc.php, thanks PipoCanaja

* Moved cellular operating band from Wireless sensors to count sensor

* test data

* test data

* test data

* test data

* Moved ICCID/IMSI/IMEI to inventory

* test data and style fix

* Cellular state sensors now have a group

Co-authored-by: Maikel de Boer <[email protected]>
2021-03-02 06:37:30 -06:00
Tony MurrayandGitHub f5a0959181 Revert "Switch to utf8mb4 (#12501)" (#12578)
This reverts commit 8e2e67d0ee.
2021-03-01 14:59:06 -06:00
PipoCanajaandGitHub c0060dc6ed DynamicDiscovery - Guess num_oid if not provided in YAML file (#12570)
* Guess num_oid if not provided in YAML file
* Discover Processor num_oid if necessary
* num_oid is now optional

* documentation upgrade
2021-03-01 16:54:29 +01:00
JellyfrogandGitHub 8e2e67d0ee Switch to utf8mb4 (#12501)
* Switch to utf8mb4

This allows emojis to function correctly

* Update URLs
2021-03-01 08:02:26 -06:00
Matt CalvertandGitHub c612d2d35f Fix bullet points (#12574)
The bullet points appear incorrectly on the page still, in two different places. Hopefully this will fix it
2021-03-01 10:39:33 +01:00
SourceDoctorandGitHub 4ae452640a WebUI - Spanning Tree Link in Eventlog (#12571) 2021-02-28 00:04:42 +01:00
Wade FitzpatrickandGitHub be5a322d2c Add BGP discovery and polling for Dell OS10 devices (#12549)
* Add BGP discovery and polling for Dell OS10 devices

* Add BGP testing data for Dell OS10

* Add BGP testing data for Dell OS10 (fix)

* Add DB info for unit testing

DB_TEST_HOST must be changed when running mysql in a separate docker container or unit tests fail

* Set bgpLocalAs in discovery (fixes unit test fail)

Ideally the main `bgp-peers.inc.php` should be fixed so it does not
depend on finding bgpLocalAs from BGP4-MIB

* Change comment style

* Remove link to code in documentation

* Discover BGP counters

* Use IPv6 addresses in compressed format
2021-02-26 16:57:16 +01:00
PipoCanajaandGitHub 839ccec9ad F5 realservers (node_name) display (#12553)
* Use the actual server name instead of pool name where needed

* Add a new attribute with nodename to avoid breaking RRD filenames

* tests

* tests improved

* force refresh tests
2021-02-26 16:15:43 +01:00
PipoCanajaandGitHub 0d892a0559 VRP - Huawei Wifi Controllers and routers 3G/4G update (#12565)
* MIBS update for Redundancy support, and first state

* Current unit state

* Config Sync state

* Upgrade FLASH mib as well

* discover storage

* Storage discovery

* storage

* tests

* fix initial value, and handle empty Descr

* IMEI to replace SN, cause SN is sometimes missing
2021-02-26 16:08:01 +01:00
William IrvineandGitHub 402982abf5 Added support for siteboss571 (#12568) 2021-02-25 20:00:04 -06:00
Tony MurrayandGitHub 29de572134 fix vminfo invalid power state in migration (#12567) 2021-02-25 21:03:58 +01:00
PipoCanajaandGitHub 1c3303d8ae Notifications : display sensor state textual value (#12554)
* display sensor state textual value
* style
* if then else
2021-02-25 19:00:47 +01:00
Matt CalvertandGitHub 6c3dcfd871 Fix the bullet point rendering (#12560)
The bullet points at the top of this page are rendered incorrectly, I think due to the spaces at the front
2021-02-25 13:16:01 +01:00
Heath BarnhartandGitHub e12bdbea55 Fixed typo jnxPowerSupplyOK (#12556)
* Fixed typo jnxPowerSupplyOK

* Fixed unit tests for jnxPowerSupplyOK
2021-02-24 22:56:26 +01:00
JellyfrogandGitHub c6acd86528 Add missing Power states (#12559) 2021-02-24 22:55:03 +01:00
JellyfrogandGitHub 3d5f4bdadd Quote bug (#12548) 2021-02-22 15:41:27 +01:00
JellyfrogandGitHub 34885b0a76 Test both MariaDB and MySQL (#12547) 2021-02-22 15:20:51 +01:00
JellyfrogandGitHub 1f68b7b0ed Update support for ServersCheck (#12546) 2021-02-22 11:22:19 +01:00
75a0a5e374 Use DNS Location Record for Location (#12409)
* Use DNS Location Record for Location

* .

* .

* .

* grammar fix

* dns class

* code changes

* composer update

* add missing composer.lock update

* reposition Location record parsing

* composer update

* default yes ; change lookup order

* merge master

* .

* move Location Record Parser to Model Level

* .

* fix location record code

* Location precedence with tests
Setting from UI disables all lookups

* update composer.lock and mix-manifest.json

* Style fixes

Co-authored-by: Tony Murray <[email protected]>
2021-02-22 11:17:40 +01:00
Tony MurrayandGitHub 93b91ebc91 Improved rrdtool version validation (#12539)
Only raise validation issue if rrdtool is set low enough that it matters
2021-02-19 11:39:37 -06:00
Tony MurrayandGitHub 2ab6f63f31 Fix location for devices with broken snmp (#12544)
AirOS devices with old firmware did not return SNMP results as they should.  This compromise should minimize extra snmp queries.  (Although there are more)
2021-02-19 11:37:36 -06:00
PipoCanajaandGitHub d20e1bdf5d GUI - Fix the detailed access point view (#12543)
* Fix the detailed access point view
* Removing unused old tab file
2021-02-18 15:10:32 +01:00
Oleksandr MartsyniukandGitHub 01019cfc02 Add support for Edge-Core ECS4100 series devices (#12530)
* Add support for Edge-Core ECS4100 series devices

* Add ECS4100-52T-MIB file

* Update OS/Edgecos.php

* Add support for Edge-Core ECS4610-24F

* Added MIB File

* Updated definitions/edgecos.yaml

* Add test data for ECS4610-24F
2021-02-15 23:45:56 -06:00
Tony Murray 7b52b70b3a Bump version to 21.2.0 21.2.0 2021-02-15 22:52:41 -06:00
Tony Murray 26d04efed8 Changelog for 21.2.0 2021-02-15 22:52:39 -06:00
PipoCanajaandGitHub 291f90ab84 handle invalid temperature data for some devices 0x7fffffff (#12537) 2021-02-15 16:04:23 +01:00
Tony MurrayandGitHub 28d69c5230 Update php packages and fix composer warnings (#12526)
composer/ca-bundle (1.2.8 => 1.2.9)
composer/composer (2.0.8 => 2.0.9)
facade/ignition (2.5.8 => 2.5.11)
filp/whoops (2.9.1 => 2.9.2)
friendsofphp/php-cs-fixer (v2.17.3 => v2.18.2)
laravel/dusk (v6.11.0 => v6.11.3)
laravel/framework (v8.24.0 => v8.27.0)
laravel/tinker (v2.5.0 => v2.6.0)
maximebf/debugbar (v1.16.4 => v1.16.5)
nesbot/carbon (2.44.0 => 2.45.1)
nunomaduro/collision (v5.1.0 => v5.3.0)
phpunit/phpunit (9.5.1 => 9.5.2)
psy/psysh (v0.10.5 => v0.10.6)
symfony/console (v5.2.2 => v5.2.3)
symfony/css-selector (v5.2.2 => v5.2.3)
symfony/error-handler (v5.2.2 => v5.2.3)
symfony/event-dispatcher (v5.2.2 => v5.2.3)
symfony/filesystem (v5.2.1 => v5.2.3)
symfony/finder (v5.2.2 => v5.2.3)
symfony/http-foundation (v5.2.2 => v5.2.3)
symfony/http-kernel (v5.2.2 => v5.2.3)
symfony/mime (v5.2.2 => v5.2.3)
symfony/options-resolver (v5.2.1 => v5.2.3)
symfony/process (v5.2.2 => v5.2.3)
symfony/routing (v5.2.2 => v5.2.3)
symfony/stopwatch (v5.2.1 => v5.2.3)
symfony/string (v5.2.2 => v5.2.3)
symfony/translation (v5.2.2 => v5.2.3)
symfony/var-dumper (v5.2.2 => v5.2.3)
symfony/yaml (v4.4.18 => v4.4.19)
2021-02-14 21:50:32 -06:00
JellyfrogandGitHub b851e140dc "variant" is now required for test data (#12531)
* Stop snmpsim after we done

* "variant" is now required for test data
2021-02-14 20:39:08 -06:00
Tony MurrayandGitHub 8b105ba162 GPS coordinates from device (#12521)
* GPS coords from device
in yaml or php
define for epmp, airos, and airos-af-ltu
quirk for airos bug with - in the middle of the number

* style fixes

* revert airos-af-ltu mempool change

* fix imports

* add epmp test data... more improvements to come there.

* don't stagger geocoding now that this is moved to discovery
also, no need to check OSDiscovery since the base implements it.

* fix json data

* fixed
2021-02-14 20:36:55 -06:00
f9a379fa3c Rrdcached SNMP: Add poller feature for RRDCached SNMP to query remote agent. (#12430)
* Add poller feature for RRDCached queries via SNMP

* Docs Update

* Update Documentation to include localhost RRDCached monitor.

* update doc.

* update/fix

* Update Applications.md

as requested, remove RRDCached Security ref for local polling.

* Update Applications.md

* Update Applications.md

Co-authored-by: Tony Murray <[email protected]>
2021-02-14 10:00:56 -06:00
Tony MurrayandGitHub b86dbcf693 Fix truenas temps (#12532) 2021-02-12 23:31:21 -06:00
4fa7993e2a Add TrueNAS temperature (#12506)
* Add TrueNAS temperature

TrueNAS systems are identified with os=truenas. As of 11.3-BETA1,
TrueNAS exposes CPU temperatures via LM-SENSORS-MIB.
See https://jira.ixsystems.com/browse/NAS-100412

* Update truenas.snmprec

* Update truenas.json

Co-authored-by: Tony Murray <[email protected]>
2021-02-11 21:17:15 -06:00
SourceDoctorandGitHub 4efb71e679 Show Alert Count on Widget (#12503)
* Show Alert Count on Widget

* update query
2021-02-11 19:28:59 -06:00
JellyfrogandGitHub e876299f09 Move sysContact polling to discovery (#12524)
* Move sysContact polling to discovery

* Update tests

* fixup

* fixup

* fixup

* fixup

* fixup
2021-02-11 19:04:45 -06:00
Tony MurrayandGitHub 5380f996f0 Remove larapoke until they support PHP 8 (#12522)
* Remove larapoke until they support PHP 8

* Use laravel-caffeine instead
2021-02-11 23:58:50 +01:00
Tony MurrayandGitHub 4f66427cef Fix Fast Ping alerts always running (#12510)
Alerts should only be ran if the status changes.  This should restore some speed.
Was broken by another fix.
2021-02-11 09:05:13 -06:00