Commit Graph

18300 Commits

Author SHA1 Message Date
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
TheGracens
24e98ecad2
Update menu.blade.php (#12656)
make Dashboard Menu scrollable
2021-03-26 21:55:32 -05:00
PipoCanaja
7dbb2e42b8
Huawei VRF BGP_Peers update (#12585)
* Mib update

* Fix update of peer + add PeerDescription

* tests

* force tests rerun
2021-03-26 16:36:42 -05:00
Tony Murray
c23e273fe9
fix snmp mock issue with MAC addresses and invalid snmprec data (#12657) 2021-03-26 16:27:19 -05:00
Tony Murray
5e7c58aa1a
Fix double escaping sysContact on device overview (#12653) 2021-03-26 16:11:29 -05:00
djamp42
9465e0d305
Hide disabled components from overview page CIMC (#12650)
* Hide Disabled Components from Overview Page

If $component is disabled, hide it from the overview page.

* Update cimc.inc.php

continue instead of break
2021-03-26 14:46:38 +01:00
PipoCanaja
aac57e60a7
VRP - Fix SSID Client count (#12629)
* Fix Client count

* style

* no caching

* style

* snmpwalk_cache_oid

* Include total of all STA connected

* style

* Update Vrp.php

* fix GHz casing

Co-authored-by: Tony Murray <murraytony@gmail.com>
2021-03-26 07:47:12 -05:00
Jellyfrog
77d21c1d05
Change cache table to mediumtext (#12649)
Fixes #12620
2021-03-26 11:09:42 +01:00
Simon Smith
6aa7717403
fix progress-bar 0% (#12648) 2021-03-25 14:30:35 -05:00
PipoCanaja
cac7bfc59c
fix VRF name change not updated in DB (#12644) 2021-03-24 17:17:53 +01:00
Jellyfrog
3cfffb9912
Cleanups (#12642)
Should only be cosmetic
2021-03-24 09:13:43 -05:00
William Irvine
d06c65a746
Fixed polling and health issues for 9001 and NCS devices, added suppo… (#12640)
* Fixed issues health and polling issues with 9001 and NCS devices, added support for 9901

* Update iosxr.inc.php

* Update iosxr.inc.php

* Update cisco-entity-sensor.inc.php

* remove polling file and adjust to user_func from disco

* fit formatting and remove echo

* fit formatting2

* fit formatting3

* Fix test files with no badif

* remove all exclusions so tests work

* recreate json test for 9010
2021-03-24 07:50:02 -05:00
Jellyfrog
58a154d894
Fix a bunch of bugs (#12643) 2021-03-23 23:08:42 +01:00
Yif Swery
de0fc2125c
Add ability to set a custom port on IPMI agents (#12634)
* Add ability to set a csutom port on IPMI agents

* Casting the port value to int
2021-03-23 10:11:05 -05:00
Cupid@zul
e973a5fd49
Add CPU and Mem for Teldat Devices (#12619)
* 12394 Add CPU and Mem for Teldat Devices

* add cpu and mem to teldat +mib files.

* minor adjustment.

* add classes to memory: system, shared, cache

* +snmpsim test files

* memory minor fix: class name 'cache' > 'cached'

* minor fix removing: telProdNpMonSistemMemTotal

* add json tests.

* small fix: get S/N from description

* Update teldat.json

Co-authored-by: Tony Murray <murraytony@gmail.com>
2021-03-23 09:08:08 -05:00
Cupid@zul
c05cf4b2fc
Add ID to Device Table List and to Device Dependencies Table List + Shorten ifname in Device: Recent Events. (#12397)
* Add ID to Device Table List and to Device Dependencies Table List

* wrap interface text to max-width: 100px

* ok, fixed as requested. all tests ok! gui working well... filtering and sort tests ok.
2021-03-23 09:07:27 -05:00
Jellyfrog
800ae95b90
Cleanup (#12641) 2021-03-23 08:47:38 -05:00
Jellyfrog
d101834751
Correct sensor_id variable (#12633) 2021-03-22 10:41:20 -05:00
Lee Spottiswood
283dafda1c
add UKFast PSS transport (#12624)
* add UKFast PSS transport

* rename var

* use correct class signature

* fix styleci

* styleci

* styleci
2021-03-22 10:39:58 -05:00
Matthew Simmons
97ad2e4bdf
Translate hex sensor values returned from ipmitool (#12638)
* Translate hex sensor values returned from ipmitool

* Style fix

* Fix rewrite - use matches array
2021-03-22 10:36:41 -05:00
Anthony F. McInerney
a625faaa1b
service watchdog - add systemd watchdog for resiliency (#12188)
* Add systemd watchdog service

* Add systemd watchdog service

* Add systemd watchdog service - add try

* Add systemd watchdog service - add try

* Add systemd watchdog service - add try

* Add systemd watchdog service - add try

* Add systemd watchdog service - add try

* Add systemd watchdog service - update docs for python3-systemd

* systemd-watchdog - move to 10 second alert frequency

* systemd-watchdog - move to 10 second alert frequency

* systemd-watchdog - move to 30 second restart, 10 second delay between restarts

* systemd-watchdog - safely integrate changes

* systemd-watchdog - safely integrate changes

* systemd-watchdog - revert old doc changes

* systemd-watchdog -  doc typo fix
2021-03-22 10:34:45 -05:00
Kevin Zink
54f1ac2f67
PHP8 Bug in printChangedStats (#12639)
array_sum(): Argument #1 ($array) must be of type array, null given
2021-03-21 12:50:40 +01:00
Jellyfrog
d24730818f Bump version to 21.3.0 2021-03-21 00:58:30 +01:00
Jellyfrog
91f4967860 Changelog for 21.3.0 2021-03-21 00:58:09 +01:00
Kevin Zink
6cb7fb4da7
Bugfix for no sockets on Unix Agents (#12637)
* Bugfix for no sockets on Unix Agents

Fix Bug: Argument #1 ($stream) must be of type resource, bool given...

* Update unix-agent.inc.php

Fix Style
2021-03-20 17:19:09 +01:00
Jellyfrog
c09158dad0
Fix serverchecks tests (#12636) 2021-03-19 16:07:50 +01:00
Jellyfrog
7f75f18f84
Fix serverchecks tests (#12635) 2021-03-19 15:22:51 +01:00