Commit Graph

18218 Commits

Author SHA1 Message Date
Tony Murray
0e05fa31bf
Location tests more reliable (#12584)
* Location tests more reliable

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

* remove silly use
2021-03-04 14:55:41 +01:00
Tony Murray
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
Janno Schouwenburg
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 <mdb@tampnet.com>
2021-03-02 06:37:30 -06:00
Tony Murray
f5a0959181
Revert "Switch to utf8mb4 (#12501)" (#12578)
This reverts commit 8e2e67d0ee.
2021-03-01 14:59:06 -06:00
PipoCanaja
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
Jellyfrog
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 Calvert
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
SourceDoctor
4ae452640a
WebUI - Spanning Tree Link in Eventlog (#12571) 2021-02-28 00:04:42 +01:00
Wade Fitzpatrick
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
PipoCanaja
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
PipoCanaja
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 Irvine
402982abf5
Added support for siteboss571 (#12568) 2021-02-25 20:00:04 -06:00
Tony Murray
29de572134
fix vminfo invalid power state in migration (#12567) 2021-02-25 21:03:58 +01:00
PipoCanaja
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 Calvert
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 Barnhart
e12bdbea55
Fixed typo jnxPowerSupplyOK (#12556)
* Fixed typo jnxPowerSupplyOK

* Fixed unit tests for jnxPowerSupplyOK
2021-02-24 22:56:26 +01:00
Jellyfrog
c6acd86528
Add missing Power states (#12559) 2021-02-24 22:55:03 +01:00
Jellyfrog
3d5f4bdadd
Quote bug (#12548) 2021-02-22 15:41:27 +01:00
Jellyfrog
34885b0a76
Test both MariaDB and MySQL (#12547) 2021-02-22 15:20:51 +01:00
Jellyfrog
1f68b7b0ed
Update support for ServersCheck (#12546) 2021-02-22 11:22:19 +01:00
SourceDoctor
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 <murraytony@gmail.com>
2021-02-22 11:17:40 +01:00
Tony Murray
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 Murray
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
PipoCanaja
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 Martsyniuk
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 2021-02-15 22:52:41 -06:00
Tony Murray
26d04efed8 Changelog for 21.2.0 2021-02-15 22:52:39 -06:00
PipoCanaja
291f90ab84
handle invalid temperature data for some devices 0x7fffffff (#12537) 2021-02-15 16:04:23 +01:00
Tony Murray
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
Jellyfrog
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 Murray
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
Cupid@zul
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 <murraytony@gmail.com>
2021-02-14 10:00:56 -06:00
Tony Murray
b86dbcf693
Fix truenas temps (#12532) 2021-02-12 23:31:21 -06:00
Matthew Simmons
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 <murraytony@gmail.com>
2021-02-11 21:17:15 -06:00
SourceDoctor
4efb71e679
Show Alert Count on Widget (#12503)
* Show Alert Count on Widget

* update query
2021-02-11 19:28:59 -06:00
Jellyfrog
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 Murray
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 Murray
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
Jellyfrog
137b7218da
Fix invalid dates in the database (#12512) 2021-02-11 01:33:10 +01:00
Tony Murray
c143717398
Better handling of invalid notification dates (#12523)
Also fixed bad dates upstream.
2021-02-11 01:30:59 +01:00
Denny Friebe
db5d9b768f
Fix: Rittal CMC III low warn limit and CAN bus current (#12513)
* Rittal CMC III: Add low warn limit

* Rittal CMC III: Fix CAN current
2021-02-10 17:34:49 -06:00
Jellyfrog
38de49ca30
Correct check for SNMPv3 SHA-192/256 compability (#12494)
* Correct check for SNMPv3 SHA-192/256 compability

* fixup

* fixup
2021-02-10 07:57:12 -06:00
Jason Cheng
7b55863fad
Updated Traditional Chinese Translation (#12493)
* Update zh-TW.json

* Updated Traditional Chinese Translation

* Update poller.php

* Update settings.php
2021-02-10 14:56:39 +01:00
Hans Erasmus
45c20b2dd6
Update transports docs (#12518) 2021-02-10 00:13:33 +01:00
Tony Murray
0d61deb8f0
Remove perf_times table (#12517)
the data is never used... This type of data is better to store in rrd anyway
2021-02-09 12:47:05 -06:00
Jellyfrog
4126663b3a
Speedup device list (#12514)
* Speedup device list

* Update DeviceController.php
2021-02-08 23:07:49 -06:00
Jellyfrog
20b4215204
Swich links to https (#12511)
* Switch librenms links to https

* Convert librenms links in comments

* Switch gnu.org url to https

* switch php urls to https
2021-02-09 00:29:04 +01:00
Tony Murray
aa7fa09c89
Fix Fast Ping (#12509)
Recent Laravel version update broke ping.php by now serializing the PingCheck job.
Store process parameters instead of process object.
2021-02-08 10:18:02 -06:00