Commit Graph

18426 Commits

Author SHA1 Message Date
Tony Murray
aa83e6aa1a
Tripplite snmp trap handling (#12832)
* Tripplite snmp trap handling

* remove extra import
2021-05-05 12:39:14 +02:00
Patrik Forsberg
e40e1069d5
Fixes to Export CSV (#12830)
* fixes to port CSV Export

Signed-off-by: Patrik Forsberg <git@paddyonline.net>

* fix code-style issues

Signed-off-by: Patrik Forsberg <git@paddyonline.net>

Co-authored-by: Tony Murray <murraytony@gmail.com>
2021-05-04 21:51:19 -05:00
dependabot[bot]
8135bd70d0
Bump phpmailer/phpmailer from 6.4.0 to 6.4.1 (#12831)
Bumps [phpmailer/phpmailer](https://github.com/PHPMailer/PHPMailer) from 6.4.0 to 6.4.1.
- [Release notes](https://github.com/PHPMailer/PHPMailer/releases)
- [Changelog](https://github.com/PHPMailer/PHPMailer/blob/master/changelog.md)
- [Commits](https://github.com/PHPMailer/PHPMailer/compare/v6.4.0...v6.4.1)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-04 20:44:35 +02:00
Denny Friebe
1734e3af04
Fix allow_unauth_graphs (#12829) 2021-05-04 07:49:16 -05:00
Tony Murray
bb39b4ad83
Rrd graph optimizations (#12806)
* RRD Graph optimization
Do not use temporary files to generate graphs
Don't start up a process to pipe commands to, just run the command
Error image improvements

* fix style issues

* run the rrdgraph command in the rrd directory
2021-05-03 09:48:15 -05:00
Tony Murray
21b0e20343
Show OS definition in lnms config:get (#12819)
* Fix lint and style issues

* remove special definition_loaded key
2021-05-02 19:25:35 +02:00
Tony Murray
f7586973c9
ignore Wrong Type errors in snpm_get and snmp_get_multi_oid (#12800)
Works around some awfully broken devices.
2021-05-02 14:38:12 +02:00
Jellyfrog
ec949d9a34
Widgets: Include variables in default view (#12818)
This causes an error with the default view since it uses $id
2021-05-01 16:03:30 -05:00
Jellyfrog
4821c2b377
Prevent error when no alert rules (#12815) 2021-04-29 22:45:06 -05:00
Jellyfrog
f7fbf9fe07
Add support for when group doesnt exist (#12817)
Previously this errored out the validation
2021-04-29 22:44:31 -05:00
Jellyfrog
49ec6aabd6
Bump tecnickcom/tcpdf dependency to support php 8 (#12816)
Also fix undefined variable error
2021-04-29 22:43:47 -05:00
Tony Murray
61c89794e4
Remove debug globals (#12811)
* Remove $debug global
and $vdebug global
makes these variables more accessible and protects from collisions.

* the on boot set sends application as the first parameter, just handle that

* Relocate other debug related functions

* Log debug to stdout

* Wrong output

* remove stupid constants

* Fix lint and style issues
2021-04-29 22:42:18 -05:00
dependabot[bot]
2cdd762656
Bump laravel/framework from 8.35.1 to 8.40.0 (#12814)
Bumps [laravel/framework](https://github.com/laravel/framework) from 8.35.1 to 8.40.0.
- [Release notes](https://github.com/laravel/framework/releases)
- [Changelog](https://github.com/laravel/framework/blob/8.x/CHANGELOG-8.x.md)
- [Commits](https://github.com/laravel/framework/compare/v8.35.1...v8.40.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-30 01:17:03 +02:00
dependabot[bot]
5bbe2e927c
Bump composer/composer from 2.0.11 to 2.0.13 (#12813)
Bumps [composer/composer](https://github.com/composer/composer) from 2.0.11 to 2.0.13.
- [Release notes](https://github.com/composer/composer/releases)
- [Changelog](https://github.com/composer/composer/blob/master/CHANGELOG.md)
- [Commits](https://github.com/composer/composer/compare/2.0.11...2.0.13)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-30 00:30:44 +02:00
dependabot[bot]
f53476558f
Bump rmccue/requests from 1.7.0 to 1.8.0 (#12812)
Bumps [rmccue/requests](https://github.com/rmccue/Requests) from 1.7.0 to 1.8.0.
- [Release notes](https://github.com/rmccue/Requests/releases)
- [Changelog](https://github.com/WordPress/Requests/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rmccue/Requests/compare/v1.7.0...v1.8.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-30 00:29:15 +02:00
Kevin Zink
193a102b4e
Update Plugin-System.md (#12810)
Have to be a static function. Throws execption since update to PHP8
2021-04-29 09:41:15 -05:00
Jellyfrog
89d9696fe5
Bump laravel/dusk (#12808) 2021-04-29 06:33:34 -05:00
Jellyfrog
76803c2acc
Make applications work with rrdcached (#12807) 2021-04-28 22:00:32 -05:00
Tony Murray
526bc695d5
Alert rule delay/interval empty = 0 (#12804)
The alert rule delay was falling back to the default delay of 300s if the input box was empty.   Most people would assume empty = 0, so make it match user's expectations.
2021-04-28 15:31:45 -05:00
Tony Murray
3401013477
Fix docs custom graph rrd functions (#12803) 2021-04-28 09:45:36 -05:00
Tony Murray
7de808a4e8
Revert "RRD Graph optimization (#12735)" (#12805)
This reverts commit 2833d935e0.
2021-04-28 09:07:31 -05:00
Tony Murray
2833d935e0
RRD Graph optimization (#12735)
* RRD Graph optimization
Do not use temporary files to generate graphs
Don't start up a process to pipe commands to, just run the command
Error image improvements

* fix style issues
2021-04-28 05:28:07 -05:00
martinberg
33c7151763
Additional data collection for GAIA (#12713)
* Added support for GAIA logserver/firewall lograte, raid state and type, logserver state and testdata, firewall packet stats and connections stats

* Fixed typo

* Added testdata

* Fixed typo

* Changed some faulty strings to integers

* Added more sensors. License, HA states and Updates checks

* Added testdata

* Using snmp_get_multi. Cleaner code

* Fix rrd function usage

Co-authored-by: Tony Murray <murraytony@gmail.com>
2021-04-28 05:19:17 -05:00
SourceDoctor
ea75435990
Filter Ports out by Interface Type (#12590)
* Filter Ports +out by Interface Type

* style fix

* style fix

* .

* .

* change code

* .

* move filter to main filter function

* reduce to bad_iftype in settings
2021-04-27 21:43:52 +02:00
paulierco
f355b2a3b5
Adjust Alcatel-Lucent aos7 (#12766)
* fix aos7 yaml

* fix aos7 yaml

* fix tests

* fix tests2

* trying to fix tests3

* Update aos7_6900-x20.json

* add new tests

* some changes

* miss this

* again

* again

* again

* again

Co-authored-by: Tony Murray <murraytony@gmail.com>
2021-04-27 10:02:17 -05:00
Jellyfrog
ae04b7d6db
Point device/feature requests to community site (#12797)
* Point device/feature requests to community site

* Update bug_report.md
2021-04-27 07:40:32 -05:00
Tony Murray
ebadcbc8af
Enable config:set to set variables inside a nested array of settings (#12772)
* Enable config:set to set variables inside a nested array of settings
Re-index arrays when forgetting a value from a sequential numerically indexed array

* cleanup
2021-04-26 21:03:03 -05:00
Tony Murray
7510224ead
Fix #12793 (#12798) 2021-04-26 20:59:21 -05:00
Bennet Gallein
5576847c26
fix: fixing consistency accross api endpoints (#12795) 2021-04-26 21:30:30 +02:00
Tony Murray
e50590edc3
Firebrick sensor rework (#12783)
* WIP

* wrong test data, corrected.

* yaml and more broken stuff

* Add sensor gorupings

Co-authored-by: Jellyfrog <Jellyfrog@users.noreply.github.com>
2021-04-26 11:13:27 +02:00
PipoCanaja
27970eb830
Zywall - HW, Version, Serial (#12788) 2021-04-26 10:45:38 +02:00
Kevin Zink
39676fb932
Update functions.inc.php (#12793)
Eliminate discovery warning with PHP8

Co-authored-by: Tony Murray <murraytony@gmail.com>
2021-04-26 09:33:45 +02:00
PipoCanaja
9ae6b88cf0
oids (#12794) 2021-04-25 20:31:52 -05:00
PipoCanaja
3177052541
Basic support for zyxelac_xmg3927 (continued) (#12743)
* HW, FW and Serial

* tests
2021-04-25 19:53:20 +02:00
PipoCanaja
40e626d487
Calix (occamos) b6_316 and Calix (calix) 700 (#12744)
* Add mibs for CALIX B6 and enable nobulk

* sensors

* sensors and tests

* mibs

* Calix700 added

* tests

* tests suite

* rerun tests
2021-04-25 09:24:32 -05:00
Simon Smith
5453163331
change printer-supplies rrd name to include the supply_type (#12792)
* Update PrinterSupplies.php

* Update toner.inc.php

* Update auth.inc.php
2021-04-25 09:16:21 -05:00
PipoCanaja
23e9ec3891
VRP Serial hwDeviceEsn (#12789) 2021-04-24 15:05:35 +02:00
Tony Murray
dec5485e1e
phpstan should be dev dependency 2021-04-23 10:47:18 +02:00
Tony Murray
027ff0ebee
Revert #12321 (#12786)
Revert #12321
You can't import raw SQL like that.
2021-04-23 08:17:51 +02:00
Torch
2529334df2
Device: updated Nexus (nxos) os information and test data (#12779)
* added nexus discovery and test data

* Delete nxos.inc.php

* Update nxos.json

* Update nxos_n3k-3064pq.json

* remove application

Co-authored-by: Tony Murray <murraytony@gmail.com>
2021-04-23 00:00:17 -05:00
Jellyfrog
d9ac9ab80d
Support X-Forwarded-Proto header (#12759) 2021-04-22 22:21:01 -05:00
Jellyfrog
53d46044c3
Fix OS sensor array return (#12694) 2021-04-22 21:49:33 -05:00
Jellyfrog
b9b7a8caa9
Cache astext in tests to avoid DNS lookup (#12784) 2021-04-22 21:05:23 -05:00
Tony Murray
11d4f8c669
Fix issue with sensor class case (#12782) 2021-04-23 00:59:23 +02:00
Tony Murray
b0178932cf
FabOS sensor fixes and add SFP dBm (#12777)
* FabOS module dBm
fixes #11597

* Fix polling and state sensor discovery value

* fix temperature and fanspeed checks.
Also, fanspeed was totally broken.

* port sensors to yaml, found more broken things in the process.
2021-04-23 00:20:13 +02:00
PipoCanaja
07900ccc08
Discovery - Refactor num_oid computing (#12576)
* Test the num_oid generation

* Refactor num_oid discovery

* cnt

* Cache the value to avoid unnecessary snmptranslate

* desc of function

* typo

* Negative caching as well

* Negative caching

* style

* Str::before

* Str::before

* Str::before

* Fix key,  and model Devices

* types

* types

* doc update

* re-run tests

* Use Cache class

* Simplify caching and do it into oidToNumeric

* Simplify caching and do it into oidToNumeric

* style

* Extend to 3 hours

* and not ->cache_time

* force re-run tests

* only one OID for num_oid test

* rerun tests

* typo in MD

* restore

* Exemple

* Exemple

* light change

* test

* test

* test

* back to PR

* phpstan + suggestions from Tony

* fix firebrick num_oid

Co-authored-by: Tony Murray <murraytony@gmail.com>
2021-04-22 14:40:45 -05:00
Sean
d32e62479e
Use GitHub instead of Github (#12781) 2021-04-22 14:34:03 -05:00
PipoCanaja
eab63ea220
webui - Services bootstrap enable + status (#12736)
* Services bootstrap enable + status

* style

* copyright

* generic create-service.inc.php to allow updates of some fields only

* generic create-service.inc.php to allow updates of some fields only
2021-04-22 19:13:39 +02:00
Sean
46ef094015
Update copyright year (#12780) 2021-04-22 15:27:27 +02:00
m4rkov
dd2a8f23f0
Update Smokeping.md (#12775)
It is necessary to install fcgiwrap, for CGI wrapper interact with Nginx, if you dont have installed the page doesn't work.

Regards
2021-04-21 21:57:59 -05:00