Commit Graph

19752 Commits

Author SHA1 Message Date
Jellyfrog
43ad5d66c9 wip 2022-11-09 16:33:43 +01:00
Jellyfrog
69a6abad08 update packages 2022-11-09 16:33:43 +01:00
Jellyfrog
d4005e4915 bump larastan 2022-11-09 16:33:43 +01:00
Jellyfrog
b1f97a7275 Apply fixes from StyleCI (#14517)
Co-authored-by: StyleCI Bot <bot@styleci.io>
2022-11-09 16:33:43 +01:00
Jellyfrog
808a9c0f7e sync lang 2022-11-09 16:33:43 +01:00
Jellyfrog
5abe2a9ad7 fix cors 2022-11-09 16:33:43 +01:00
Jellyfrog
c5e8901845 Fix more flare 2022-11-09 16:33:43 +01:00
Jellyfrog
b915b6cb80 composer 2022-11-09 16:33:43 +01:00
Jellyfrog
497e54c71a routes 2022-11-09 16:33:43 +01:00
Jellyfrog
8dc530c120 Sync back configs 2022-11-09 16:33:43 +01:00
Jellyfrog
fd68cc4954 generate composer.lock 2022-11-09 16:33:43 +01:00
Jellyfrog
c32dc84253 Fix route syntax 2022-11-09 16:33:43 +01:00
Jellyfrog
ab1a0bdbab Match upstream syntax 2022-11-09 16:33:43 +01:00
Jellyfrog
e4ba3955c1 Match new symfony syntax 2022-11-09 16:33:43 +01:00
Jellyfrog
8113ae4286 Fix error provider 2022-11-09 16:33:43 +01:00
Shift
944e33f9bc Use <env> tags for configuration
`<env>` tags have a lower precedence than system environment variables making it easier to overwrite PHPUnit configuration values in additional environments, such a CI.

Review this blog post for more details on configuration precedence when testing Laravel: https://jasonmccreary.me/articles/laravel-testing-configuration-precedence/
2022-11-09 16:33:43 +01:00
Shift
a05797de4e Bump Laravel dependencies 2022-11-09 16:33:43 +01:00
Shift
036338fe85 Default config files
In an effort to make upgrading the constantly changing config files
easier, Shift defaulted them and merged your true customizations -
where ENV variables may not be used.
2022-11-09 16:33:43 +01:00
Shift
ced9b57d4a Shift config files 2022-11-09 16:33:43 +01:00
Shift
7b65cef6bf Convert deprecated $dates property to $casts 2022-11-09 16:33:43 +01:00
Shift
ec84d44d10 Convert route options to fluent methods
Laravel 8 adopts the tuple syntax for controller actions. Since the old options array is incompatible with this syntax, Shift converted them to use modern, fluent methods.
2022-11-09 16:33:43 +01:00
Shift
43949c97b3 Remove unnecessary $model property 2022-11-09 16:33:43 +01:00
Shift
bb974b24f6 Convert optional() to nullsafe operator 2022-11-09 16:33:43 +01:00
Shift
b83520bc58 Shift core files 2022-11-09 16:33:43 +01:00
Shift
c764df5d55 Upgrade to Flysystem 3.0 2022-11-09 16:33:43 +01:00
Shift
8a7f13c055 Streamline $commands property 2022-11-09 16:33:43 +01:00
Shift
09aad802e2 Remove fruitcake/laravel-cors dependency 2022-11-09 16:33:43 +01:00
Shift
555616fbe8 Shift registered middleware 2022-11-09 16:33:42 +01:00
Shift
a67552dc63 Move resources/lang folder 2022-11-09 16:33:42 +01:00
geg347
96c7e7166e Adding device's field in get_alert_rule and list-alert-rules API function (new) (#14481)
* Adding device's field in get_alert_rule and lis-alert-rules API function

* Converting SQL request for list/get_alert_rules to Eloquent (thanks a lot to Murrant)

* Manually added #14500 to pass pipeline

* Fixing StyleCI error + trying to fix PHPStan errors

* Trying to fix PHPStan errors (part 2)
2022-11-09 08:21:41 -06:00
Tony Murray
b9d8a7c33c Improved AIX os information collection (#14595)
* Improved AIX os information collection

* Fix-up merged data

* remove baseline
2022-11-09 12:04:56 +01:00
Jellyfrog
71d740770b Remove Log::event (#14526)
* Remove Log::event

Use the Eventlog class directly instead

* wip

* wip

* wip

* Apply fixes from StyleCI

* Update Eventlog.php
2022-11-09 09:47:19 +01:00
Tony Murray
0e9bb04071 API restore ability to update purpose and override_sysLocation (#14596)
fixes #14538
2022-11-08 18:22:37 +01:00
fufroma
7ca41179bd Disable SNMP Bulk for Delta UPS devices (#14599)
Some devices like the Delta Electronics Amplon RT-2K need SNMP Bulk to be disable.
2022-11-08 18:22:20 +01:00
Skylark
49bbc57427 Documentation for observium Migration (#14601)
Blog no longer exist, these are the original instruction with minor adjustments rescued from way back machine.
Note: picture are missing
2022-11-08 18:21:00 +01:00
Talk Straight Ltd
9826fa9089 feat: Add sortorder parameter to list_logs (#14600) 2022-11-08 18:20:34 +01:00
PipoCanaja
b807fd526b Bug - rrd_def and rrd file definition issue (#14597)
rrd_dev striked again :)
2022-11-07 21:28:16 +01:00
Tony Murray
94b86e7e7e More inclusive Cisco SB os detection (#14594) 2022-11-07 14:06:31 -06:00
Zane C. Bowers-Hadley
8511611f64 add HV Monitor, a generic means for monitoring hypvervisors (#14218)
* add HV::Monitor support

* document hv monitor

* add HV Monitor tests

* style cleanup

* fix a few missed style items

* test fix

* more test cleanup

* more minor test tweaks

* more test cleanup

* more test tweaking

* test ordering fix all done... hopefully

* more test cleanup

* minor formatting change
2022-11-07 13:35:48 -06:00
Tony Murray
9d3d81bb11 IP Infusion OcNOS basic detection (#14588)
* IP Infusion OcNOS basic detection

* add test data

* add os data
2022-11-07 13:09:33 -06:00
Tony Murray
0801af7a81 Consolidate and improve snmptranslate usage (#14567)
* Consolidate and improve snmptranslate usage

* Fix style

* lint fixes

* fix typo

* allow multiple mib directories

* Only add mib if it is not already set

* oid first, in case we have key length issues

* if there is a full oid, don't add other mibs

* debug in ci

* more debug in ci

* better debug in ci

* remove debug

* Use numeric index

* revert dlink change

* Don't add -On twice

* unit tests and hopefully better heuristics

* remove dump and add one more set of tests

* style fixes

* handle bad input in old functions

* shortcut whole snmp_translate function
2022-11-07 12:00:47 -06:00
PipoCanaja
70524b1e9d fix array (#14564) 2022-11-07 07:10:20 -06:00
Tony Murray
9cb6e7b665 Fix port neighbors missing (#14586)
Inverted check when fixing another bug
2022-11-06 17:06:10 -06:00
mabra94
a01e8188d3 Timos - Improve SAP stats graphing (#14534)
* Update Timos.php

Adding InProf and HiPrio counters to allow proper SAP Stats graphing

* Update Timos.php
2022-11-06 16:22:12 -06:00
fuzzbawl
070caefbdc Clarify Dispatcher-Service.md for systemd (#14575)
There are two systemd service files suggested for use, only one should be used. My changes clarify the usage and adjust the librenms-watchdog.service to install as librenms.service as that appears to be the intention from #12188
2022-11-06 10:53:21 -06:00
PipoCanaja
8760454ad8 Bug in Ciscowlc AP graphs definition (#14585) 2022-11-06 04:03:49 +01:00
Tony Murray
26318dc4b3 Improve trap testing (#14546)
* Improve trap testing
Add helper log() to Trap
Avoid saving to the database at all

* style

* Move all traps to $trap->log()

* Update tests

* Lint and style fixes

* Use correct partial mock call

* more style

* Add docs

* debug in ci

* use the correct log function....................

* all, I guess

* not the first??

* 3rd?

* use event_id to order
2022-11-05 14:43:54 -05:00
Bierchermuesli
7f3301caa4 Device - Basic hatteras dslam integration (#14115)
* basic hatteras dslam integration

* snmprec and json test files

* fix HN4000e variant

* add hn4000e variant

* logo and yaml fixes

* change type in test file

* inexistent(?) disco module removed: route

* Update hatteras.yaml

Co-authored-by: Tony Murray <murraytony@gmail.com>
2022-11-05 14:43:23 -05:00
Jellyfrog
009d69a48d Use Collection instead of collect() (#14527)
* Use Collection instead of collect()

* wip
2022-11-05 10:04:36 +01:00
Tony Murray
e5e169358f SnmpQuery Handle empty oids in get more gracefully (#14577) 2022-11-05 00:38:20 -05:00