Commit Graph

2137 Commits

Author SHA1 Message Date
Jellyfrog
0a351b49fd
Laravel 9.x Shift (#14504)
* Move `resources/lang` folder

* Shift registered middleware

* Remove `fruitcake/laravel-cors` dependency

* Streamline `$commands` property

* Upgrade to Flysystem 3.0

* Shift core files

* Convert `optional()` to nullsafe operator

* Remove unnecessary `$model` property

* 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.

* Convert deprecated `$dates` property to `$casts`

* Shift config files

* 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.

* Bump Laravel dependencies

* 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/

* Fix error provider

* Match new symfony syntax

* Match upstream syntax

* Fix route syntax

* generate composer.lock

* Sync back configs

* routes

* composer

* Fix more flare

* fix cors

* sync lang

* Apply fixes from StyleCI (#14517)

Co-authored-by: StyleCI Bot <bot@styleci.io>

* bump larastan

* update packages

* wip

* Temporarily lower phpstan level

* Update phpstan.neon

* wip

* wip

* wip

* Apply fixes from StyleCI (#14592)

Co-authored-by: StyleCI Bot <bot@styleci.io>

* test

* Update CiHelper.php

* Update test.yml

* Update CiHelper.php

* Update CiHelper.php

* Apply fixes from StyleCI (#14616)

Co-authored-by: StyleCI Bot <bot@styleci.io>

* test?

* fix phpstan problems

* dont run snmpsim on github ci

* Fix whitespace

* More whitespace

* More whitespace ???

* I think the space broke it

* fix the reset of the whitespace

* hard code auth guard

---------

Co-authored-by: Shift <shift@laravelshift.com>
Co-authored-by: StyleCI Bot <bot@styleci.io>
Co-authored-by: Tony Murray <murraytony@gmail.com>
2023-04-17 06:51:35 -05:00
AdamB
55b167562e
Implement authentication for Redis/Sentinel (#14805)
* Implement ACL support for redis (and sentinel)

Currently, sentinel only works with anonymous connections.
Some parameters are passed when using sentinel, however these are
dropped on the floor.
This encapsulates them as py-redis expects, and passes them correctly.

* Pass username

* Differentiate duplicate error messages

* Actually pass var

* Docs and requirement bump

* Lint

* Consistency

* More lint

* Lint harder

* Doc Updates
2023-04-14 07:11:44 -05:00
Michał Margula
4465de874d
Update Install-LibreNMS.md (#14949)
Added two lines clarifying what needs to be run and what needs to be added to config file as it  might confuses people. Removed FLUSH PRIVILEGES which is unnecessary when using GRANT. It would be required when updating privileges directly -- https://dev.mysql.com/doc/refman/8.0/en/privilege-changes.html
2023-04-07 13:04:47 -05:00
Justin Lentz
df31be30c1
Cleanup enable bgp setting (#14931)
* remove logic in module

* remove enable_bgp logic

* remove enable_bgp logic

* remove enable_bgp logic

* remove enable_bgp logic

* remove enable_bgp definition

* remove enable_bgp logic

* Remove enable_bgp documentation

* StyleCI

* StyleCI

* StyleCI

* StyleCI

* StyleCI

* StyleCI

* StyleCI

* StyleCI

* StyleCI

* StyleCI
2023-04-06 21:01:21 -05:00
Tony Murray
8b85245070 Changelog for 23.4.0 2023-04-06 18:52:51 -05:00
Skylark
473a7d360b
Allows GEO lookup with detailed internal Location information wrapped inside parentheses. (#14799)
* Ignore everyting inside () during GEO lookup

I location info is: "1100 Congress Ave, Austin, TX 78701 (3rd floor meeting room)" then the GEO locator will look up "1100 Congress Ave, Austin, TX 78701"

* update info

* small typo

* typo fix

* getting verify

* style fix

* commitment issues

* updating wiki

* tweaking the document format

* more tweaks

* Im starting to hate md

* cleanup
2023-03-18 22:07:52 -05:00
Stef
82bd437e47
Syslog sink over http for logstash (or any json source) (#14424)
* inital commit of a new syslog sink over http

* cosmetics

* cosmetics fix...

* cosmetic fix again

* cosmetics fix again

* its nice now...

* add non blocking option

* Syslog Sink integrated as API PUT method

* lint fix

* Update includes/html/api_functions.inc.php

Co-authored-by: Tony Murray <murraytony@gmail.com>

* Update includes/html/api_functions.inc.php

Co-authored-by: Tony Murray <murraytony@gmail.com>

* Update includes/html/api_functions.inc.php

Co-authored-by: Tony Murray <murraytony@gmail.com>

* change to POST, fix decoding issue and json exception

* logstash/json documentation added. syslog documentation a bit re-structured

* lint fix

---------

Co-authored-by: Tony Murray <murraytony@gmail.com>
2023-03-15 08:14:38 -05:00
Tony Murray
42783db59f
InfluxDB 2.0 is not currently supported. 2023-03-10 07:45:22 -06:00
Félix Bouynot
a828bdf26c
Add Azure example configuration for SAML authentication (#14870) 2023-03-02 18:52:11 +01:00
Henne Van Och
2140ff21c5
add more docker stats (#14767) 2023-03-01 01:02:01 +01:00
Tony Murray
3150787736 Changelog for 23.2.0 2023-02-23 16:27:41 -06:00
MarlinMr
7e9e360c9c
use docker compose v2 (#14841) 2023-02-21 00:42:42 +01:00
Félix Bouynot
9617e47319
Change socialite settings URI (#14845) 2023-02-21 00:41:45 +01:00
Mark Westerterp
930d535a59
Fix Okta image in docs (#14848) 2023-02-17 23:20:05 +01:00
Hans Erasmus
8fb908eb15
Fix possible confusion around php-fpm settings (#14844)
* Fix possible confusion around php-fpm settings

From the discord channel there seemed to be some confusion regarding the socket location setting for php-fpm.

* Update Install-LibreNMS.md

Updated with new suggestions
2023-02-14 07:35:09 -06:00
Félix Bouynot
b0ac39e30a
Fix typo in Oauth doc (#14840) 2023-02-10 21:51:42 +01:00
Andy Norwood
3023aa7e0f
API: add display query to list_devices function (#14747)
* add display query type

* add display to query examples

* fix typo
2023-02-08 18:36:20 +02:00
Shubham Srivastava
5097d1e315
Add Zenduty Integration info to Transports.md docs (#14826) 2023-02-08 16:25:18 +01:00
electrocret
1e5e26492e
Use Oxidized API client and add support for groups on config get (#14750)
* Use API client and add support for groups.

* Being Stylish.

* Update incorrect doc
2023-02-01 11:49:29 -06:00
Hans Erasmus
0ddad719b9
Update config docs - dump current config (#14820) 2023-02-01 18:23:49 +01:00
Tristan Rhodes
d3da5d3ae6
Update XDP string to exclude modern Cisco lightweight APs from discovery (#14803) 2023-01-31 22:57:20 +01:00
Félix Bouynot
f48bf9c6d4
Add SELinux instructions for nginx monitoring (#14812) 2023-01-29 20:48:49 +00:00
Félix Bouynot
c2e248da55
Add SELinux instructions for systemd monitoring (#14809) 2023-01-27 00:03:28 +00:00
Félix Bouynot
8d49e72f22
Add SELinux instructions for systemd monitoring (#14806) 2023-01-25 19:19:46 +00:00
Tim de Boer
aa336f98cc
Updated Install-LibreNMS.md (#14798)
Default PHP version of Debian 11 (following this documentation) is 8.2 currently, instead of 8.1
2023-01-24 11:29:33 -06:00
Zane C. Bowers-Hadley
98c033e84f
CAPEv2 support (#14801)
* re-add it

* add cape app page

* add initial cape graphs

* now work for the general page

* more udpates

* add cape pending

* add pending and cleanup for if there are no packages(likely cuckoo, so don't add extra items)

* rework the lack of packages a bit more

* more cuckoo related cleanupgiot

* fix cape error logging

* minor cleanups

* add a new graph and use it with cape... also lots of cape cleanups

* misc cape updates

* add percentile values for stats

* add fix for weekly

* don't display 1 day average if under 17 hours

* zero timeslots of packages not used for this time slot

* add avg stat graphs for cape

* now use the average graphs and update the app page

* add a new graph

* add CAPEv2 docs

* add tests data

* lots of style cleanup

* another tweak for the test data

* fix misc style issues

* add cape to apps page

* add nicecase for cape

* case fix

* json fix for test data

* add a missing stat

* some more test data tweaking

* more misc test updates

* more test tweaking

* more test work...

* more test data work

* add what is hopefully the final test tweak
2023-01-24 11:20:18 -06:00
Tony Murray
166ff2dc53 Changelog for 23.1.0 2023-01-24 10:43:29 -06:00
systeembeheerder
5ae2583831
Update Syslog.md (#14794) 2023-01-19 15:15:54 +01:00
James Andrewartha
239e648acb
Update Authentication.md (#14788) 2023-01-17 09:17:43 +01:00
support-capensis
f539aed95e
Fix Doc Link for Canopsis transport (#14778) 2023-01-10 14:56:24 +01:00
Zero Services GmbH
f754a5107d
Update ElasticSearch Index pattern for php 8.1 changes (#14775) 2023-01-08 01:58:39 +01:00
Tony Murray
e911f2f855 Changelog for 22.12.0 2022-12-28 12:26:19 -06:00
electrocret
07e2ce5fc1
Polling poller debug (#14691)
* Add poller_name to debug

* Documentation

* Clarify debug output var is for traceroute.

* Fix -hopefully

* StyleCI
2022-12-15 21:48:43 -06:00
Andy Norwood
d091788f28
API list_devices update with sysName, location_id and type (#14731)
* Add sysName, location_id, type to list_devices

* Add new list_devices type
2022-12-15 08:25:11 -06:00
angeletdemon
47cc169f4b
Update Install-LibreNMS.md (#14722) 2022-12-12 09:02:49 +01:00
bnerickson
c3dd0804e3
Updating certificate script documentation (#14721) 2022-12-10 07:14:55 -06:00
Michał Margula
3a035257b5
Update Docker.md with proper path to unzipped files (#14717)
Proper patch to unzipped files
2022-12-09 15:09:23 +01:00
Santiago Z
ea2ef79de1
Fix typo: purge-port.php file name (#14712) 2022-12-09 09:09:58 +01:00
electrocret
0ef39344fd
Correct example variable (#14683) 2022-11-30 20:40:20 -06:00
hugalafutro
cde94a77df
correct squid snmpd.conf proxy host syntax (#14678)
127.0.0.1.3401 produces error snmpget: Unknown host (127.0.0.1.3401)
2022-11-28 08:51:40 -06:00
Tony Murray
c00419d78c Changelog for 22.11.0 2022-11-24 00:01:25 -06:00
electrocret
d10ccc697c
Undefined constant error (#14668) 2022-11-22 15:52:15 -06:00
koocotte
cae2409132
Update for Debian and for non /opt/librenms installation (#14663)
Update specific instructions for Debian 11 and 12

Add instruction if not installed in /opt/librenms
2022-11-22 06:54:04 -06:00
Tony Murray
752bbc1531
Port search API search more than one fields (#14646)
* Fix port search columns

* Port search API search more than one fields
Fixup port APIs
Change validate_column_list api helper to throw a renderable exception on error and return the valid columns
DeviceCache::get() can handle a bigger range of input

* whitespace

* Refactor exceptions a bit

* change throws type to be more generic

* Lint fixes
2022-11-18 16:27:56 -06:00
electrocret
e4b5f18d0f
Fix brackets (#14644)
Code expects dictionary and not an array.
2022-11-17 23:43:41 -06:00
electrocret
4c0ebb6f74
Add Columns to search_ports API function (#14348)
* Add Columns to search_ports function

* StyleCI

* StyleCI

* Add to Docs

* Suggested If fix
2022-11-17 10:18:09 -06:00
cfitzw
2821d1abc4
Update config name for the default device display (#14641)
Update device_default_display to device_display_default
2022-11-17 09:53:29 -06:00
systeembeheerder
c26cbc9a45
Update Dispatcher-Service.md (#14632)
minor; make commands copy-pastable
2022-11-14 17:19:08 +01:00
bnerickson
bb536bb6fe
Adding wireguard application support (#14625) 2022-11-13 11:07:24 +01:00
bnerickson
61825f1b05
Updating postgres application documentation (#14627)
* Updating postgres application documentation

* Minor update on ignorePG wording so that the wording is.. correct
2022-11-13 11:06:51 +01:00