Commit Graph

18426 Commits

Author SHA1 Message Date
Wooboy
ecb87d9671
Added support for Canon printer model TM TX series (#12667)
* Update canonprinter.yaml

ADD support printer model TM TX series

* Create canonprinter_tm.snmprec

upload test file

* Update canonprinter_tm.snmprec

* Create canonprinter_tm.json

Co-authored-by: PipoCanaja <38363551+PipoCanaja@users.noreply.github.com>
2021-04-06 14:37:05 -05:00
Antonio Almeida
d80c19d0dd
WebUI - Display interface errors per second instead of accumulated (#12613)
* Display delta errors instead of accumulated
* Interface errors rate based on polling time and with units
* After some googling changed Eps to EPS to represent errors per second

Co-authored-by: PipoCanaja <38363551+PipoCanaja@users.noreply.github.com>
2021-04-06 20:40:23 +02:00
Jellyfrog
c97e49db3b
Fix doc building (#12711)
And upgrade
2021-04-06 19:22:58 +02:00
Simon Smith
f0bef36b16
fix adding discrete ipmi sensors (#12709) 2021-04-06 18:44:35 +02:00
Tony Murray
7788c19256
Fix mempool tags (#12705)
Does not affect rrd, only external tsdb
2021-04-06 00:50:48 +02:00
PipoCanaja
8c2a5d5a16
Issue with snmpwalk_group string splitting (#12701)
* handling invalid data for snmpwalk_group

* style

* new approach

* new guess

* split trim

* cleaning
2021-04-05 22:47:11 +02:00
Misha Komarovskiy
61b4c35ab1
Update IOS with 4948 variant hardware detection (#12685)
* Update IOS with 4948 variant hardware detection

* Use entPhysicalModelName if Switch System match
* Add test data for 4948e and 4948-10ge variants

Signed-off-by: Misha Komarovskiy <zombah@gmail.com>

* Fix bracket error

Signed-off-by: Misha Komarovskiy <zombah@gmail.com>

* Add json test data

Signed-off-by: Misha Komarovskiy <zombah@gmail.com>
2021-04-05 22:26:38 +02:00
hartred
339227280a
BDCOM update support (#12696)
* tests snmprec

* add snmprec test

* test json

* discovery json

* json test

* snmprec

* add mib files
2021-04-05 10:21:49 -05:00
O Palivan
cedb0570eb
TAIT - Add entity physical support (#12703)
* Add entity discovery out of proprietary mibs
2021-04-04 17:13:11 +02:00
cjsoftuk
43ea55bcf3
Better firebrick support (#12600)
* Add Firebrick MIBs, temperatures and voltages.

* Add missing $sysOid checks.

* Add fan speed for FB6000 series.

* Add sane limits.

* Update Firebrick MIBs.

* Make BGP peers work.

* Better support for Firebricks.

* Add more firebrick support.

* Add BGP Peer States.

* Fix fan speed divisor now that Cliff has fixed the code.

* Fixes for BGP and sensors.

* Add Firebrick IPSec module.

* Add IPSec Tunnels (Base).

* Sort out the IPSec states (although they're still green for no real reason).

* Code style fixes.

* Add missing config definition.

* Fix code style issues.

* Move bgp-peers to its own file.

* Do fan speeds with yaml, not PHP.

* Add Firebrick 6000 snmprec.

* Move Firebrick tests to be FB6000 tests.

* Revert "Move Firebrick tests to be FB6000 tests."

This reverts commit 426c1db980.

* Add tests for specific firebrick variants (2900, 6000) rather than generic.

* Add the firebrick-ipsec-tunnels poller config option.

* Switch to cipsec-tunnels for Firebrick.

* Unnecessary as it's now in cipsec-tunnels.

* Add extra MIB fields for Firebrick BGP MIB.

* Minor fix for AS text.

* Fix the tests.

* Exclude build timestamp from the version.

* Fix a couple of careless errors.

* Code style fix.

* Better version strings.

* Fixes for BGP, and add "Routing Table" support (VRF).

* Add more test data for BGP peers.

* Fix test data for BGP.

* Remove processors for now - as we can't get the data sensibly.

* Fix code style.

* Update firebrick.inc.php

Force tests re-run

Co-authored-by: PipoCanaja <38363551+PipoCanaja@users.noreply.github.com>
2021-04-04 16:17:49 +02:00
Jellyfrog
14a95f47c9
Bump php-amqplib to support PHP8 (#12698) 2021-04-02 13:00:48 +02:00
Jellyfrog
c025c55a03
Regression from e00eba327d (#12699)
Use Device object instead of array
2021-04-02 11:00:57 +02:00
Jellyfrog
26d3404bbc
Update php dependencies (#12692)
asm89/stack-cors (v2.0.2 => v2.0.3)
barryvdh/laravel-ide-helper (v2.9.0 => v2.9.1)
composer/composer (2.0.9 => 2.0.11)
composer/xdebug-handler (1.4.5 => 1.4.6)
doctrine/annotations (1.11.1 => 1.12.1)
doctrine/dbal (2.12.1 => 2.13.0)
doctrine/deprecations (v0.5.3)
facade/flare-client-php (1.3.7 => 1.5.0)
facade/ignition (2.5.11 => 2.7.0)
fakerphp/faker (v1.13.0 => v1.14.1)
filp/whoops (2.9.2 => 2.12.0)
friendsofphp/php-cs-fixer (v2.18.2 => v2.18.4)
guzzlehttp/guzzle (7.2.0 => 7.3.0)
guzzlehttp/promises (1.4.0 => 1.4.1)
guzzlehttp/psr7 (1.7.0 => 1.8.1)
laravel/dusk (v6.11.3 => v6.14.0)
laravel/framework (v8.27.0 => v8.35.1)
laravel/tinker (v2.6.0 => v2.6.1)
league/commonmark (1.5.7 => 1.5.8)
mockery/mockery (1.4.2 => 1.4.3)
nesbot/carbon (2.45.1 => 2.46.0)
phar-io/version (3.0.4 => 3.1.0)
php-webdriver/webdriver (1.9.0 => 1.10.0)
phpmailer/phpmailer (v6.2.0 => v6.4.0)
phpspec/prophecy (1.12.2 => 1.13.0)
phpunit/php-code-coverage (9.2.5 => 9.2.6)
phpunit/phpunit (9.5.2 => 9.5.4)
psr/container (1.0.0 => 1.1.1)
psy/psysh (v0.10.6 => v0.10.7)
swiftmailer/swiftmailer (v6.2.5 => v6.2.7)
symfony/console (v5.2.3 => v5.2.6)
symfony/css-selector (v5.2.3 => v5.2.4)
symfony/debug (v4.4.19 => v4.4.20)
symfony/error-handler (v5.2.3 => v5.2.6)
symfony/event-dispatcher (v5.2.3 => v5.2.4)
symfony/filesystem (v5.2.3 => v5.2.6)
symfony/finder (v5.2.3 => v5.2.4)
symfony/http-foundation (v5.2.3 => v5.2.4)
symfony/http-kernel (v5.2.3 => v5.2.6)
symfony/mime (v5.2.3 => v5.2.6)
symfony/options-resolver (v5.2.3 => v5.2.4)
symfony/polyfill-ctype (v1.22.0 => v1.22.1)
symfony/polyfill-iconv (v1.22.0 => v1.22.1)
symfony/polyfill-intl-grapheme (v1.22.0 => v1.22.1)
symfony/polyfill-intl-idn (v1.22.0 => v1.22.1)
symfony/polyfill-intl-normalizer (v1.22.0 => v1.22.1)
symfony/polyfill-mbstring (v1.22.0 => v1.22.1)
symfony/polyfill-php72 (v1.22.0 => v1.22.1)
symfony/polyfill-php73 (v1.22.0 => v1.22.1)
symfony/polyfill-php80 (v1.22.0 => v1.22.1)
symfony/process (v5.2.3 => v5.2.4)
symfony/routing (v5.2.3 => v5.2.6)
symfony/stopwatch (v5.2.3 => v5.2.4)
symfony/string (v5.2.3 => v5.2.6)
symfony/translation (v5.2.3 => v5.2.6)
symfony/var-dumper (v5.2.3 => v5.2.6)
symfony/yaml (v4.4.19 => v4.4.21)
webmozart/assert (1.9.1 => 1.10.0)
2021-04-02 00:01:02 +02:00
Jellyfrog
777b78cca1
Cleanup (#12695)
* Use true/false to return booleans

* Misc fixes
2021-04-01 17:35:18 +02:00
Jellyfrog
6616727a95
Fix alert template variable ping_timestamp (#12690)
* Fix RunAlerts typo

* Update Template.php

* Update QueryBuilderFluentParser.php

* Update QueryBuilderParser.php
2021-03-31 18:06:07 -05:00
Jellyfrog
a0a3a1c8d8
PHPDoc fixes (#12693) 2021-04-01 00:35:19 +02:00
Jellyfrog
24c8513029
Replace Auth > Illuminate\Support\Facades\Auth (#12664)
Helps phpstan
2021-03-31 21:30:04 +02:00
Jellyfrog
58af994c6b
Linting (#12677)
* Fix Canopsis Transport

* Lint Hipchat

* Lint IRCBot.php

* Misc

* Update Hipchat.php

* Update Notification.php
2021-03-31 17:29:22 +02:00
Jellyfrog
4b6efba040
Type hint all device model relations (#12686) 2021-03-31 17:28:47 +02:00
Jellyfrog
dc160c6813
PHPDoc fixes (#12687) 2021-03-31 17:18:43 +02:00
TheGracens
9b627eceb0
Update latency.blade.php (#12684)
Fix devices latency tab calendar position
2021-03-31 02:02:40 +02:00
PipoCanaja
90b43b3210
VRP - fix global VRF being NULL and not '' for cbgp, support for NetEngine devices (#12676)
* fix global VRF being NULL and not '' for cbgp

* continued

* clonky testfile

* fix regex
2021-03-30 19:02:00 -05:00
Jellyfrog
535ce5eb20
Fix deviceUrl check (#12682) 2021-03-30 16:10:20 -05:00
Tony Murray
2b6b8df4b5
Fix printer state error (#12681) 2021-03-30 15:26:01 -05:00
Tony Murray
f84591a1c7
Fix links to non-existent devices (#12680)
Was throwing an exception before instead of returning an empty string
2021-03-30 21:47:11 +02:00
Jellyfrog
10cf97e581
More PHPDoc changes (#12674)
* PHPDoc

* Override type hint
2021-03-30 11:16:44 +02:00
Jellyfrog
64e50e4d85
Type hint model relations (#12673) 2021-03-30 11:14:34 +02:00
PipoCanaja
422d1195c6
fix BGP tab Exception (#12672) 2021-03-29 17:44:12 -05:00
Jellyfrog
6c59f368b0
Linting: Fix misc problems (#12675) 2021-03-29 17:43:05 -05:00
Tony Murray
571e1b67bf
Fortinet per-core cpu (#12660)
* Fortinet per-core cpu
I have no test data...  probably need someone to contribute test data for this to get merged
fixes: #11570

* Add and update test data
2021-03-29 13:19:04 -05:00
Jellyfrog
4e5849272f
Make moduleobserver type hinting overridable (#12670) 2021-03-29 10:30:36 +02:00
Jellyfrog
4ada8a418d
Typo (#12671) 2021-03-29 03:22:47 +02:00
Tony Murray
1c379dcd05
Remove legacy function calls (#12651)
* massive inlines

* fix style and wtf

* remove rrdtool.inc.php include

* fix CommonFunctions namespace issues

* looking for missing class space, fix undefined class issues

* style fixes
2021-03-29 00:25:30 +02:00
Tony Murray
1695f86af8
Always skip style check for dev:check ci (#12654)
* Always skip style check for dev:check ci

* fix names and mysql 8 was barely being tested

* fix sql mode test

* safer vendor check

* flubbed the regex

* ...

* Mysql 8 fixes

Co-authored-by: Jellyfrog <Jellyfrog@users.noreply.github.com>
2021-03-28 23:55:41 +02:00
Tony Murray
c0e144295b
Fix undefined function in vrp peers (#12669)
* fix undefined function in vrp peers

* inverted the check
2021-03-28 21:17:48 +02:00
Cas de Reuver
4ade67097b
Fix Config reference in System validations (#12668) 2021-03-28 12:19:14 -05:00
Jellyfrog
efb157f5fb
Fix more PHPDoc (#12665)
* Fix PHPDoc

* Fix PHPDoc
2021-03-28 12:18:47 -05:00
Jellyfrog
9946fe8b15
Format python code with Black (#12663) 2021-03-28 11:02:33 -05:00
Jellyfrog
f9b25ccdbc
Lint with shellcheck (#12666) 2021-03-28 10:47:21 -05:00
Jellyfrog
f06e81b357
Switch to utf8mb4 (#12580)
* Switch to utf8mb4

This allows emojis to function correctly

* Update URLs
2021-03-28 16:23:08 +02:00
Tony Murray
896386d2c7
Add lint Github Action (#12655)
* Add lint ghaction

* test full codebase for fun

* run only desired linters

* Set to regular values

* oops, remove bash exec

* Run on master too

Co-authored-by: Jellyfrog <Jellyfrog@users.noreply.github.com>
2021-03-27 19:18:49 +01:00
Tony Murray
646ec4d471
Fix service template discovery (#12662) 2021-03-27 17:39:40 +01:00
Jellyfrog
e00eba327d
Re-implement Printer as a class based module (#12605)
* Re-implement Printer as a class based module

* Rename toner table

* wip

* wip

* Rename to printersupplies

* Fixes

* Rename

* wip

* wip
2021-03-27 10:09:14 -05:00
Filippo Giunchedi
c8c8bc3a81
Support multiple Alertmanager URLs (#12346) 2021-03-27 10:01:48 -05:00
Tony Murray
6a602794c6
Update Welcome-to-Observium-users.md 2021-03-27 09:43:12 -05:00
Tony Murray
3e4a07c97b
Update welcome migration link 2021-03-27 09:42:39 -05:00
Jellyfrog
ede486ea95
Fix regression from 3cfffb9912 (#12661) 2021-03-27 15:39:24 +01:00
Tony Murray
c10c630708
Don't fail on rrd close (#12659)
if process already left
2021-03-26 22:33:50 -05:00
Dan Langille
5ceba5cdb7
Filter some validation when installed from a package (#12647)
* Filter some validation when installed from a package

Also, tell the user that fping FAILURES can be ignored if running LibreNMS in a
jail without ::1

* Filter some validation when installed from a package

Also, tell the user that fping FAILURES can be ignored if running LibreNMS in a
jail without ::1

* change this back to info

* apply styleci diff
2021-03-26 22:07:33 -05:00
Erik Lamers
ebc146e0a9
Add poller_group docs on auto-discovered devices (#12646)
* Add poller_group docs on auto-discovered devices

I needed to check the source code to figure to which poller_group auto-discovered devices were assigned. So to avoid people having to figure that out again, let's add it to the docs.

* Add notice about global setting

Using `lnms config:set`
2021-03-26 22:07:03 -05:00