Commit Graph

2194 Commits

Author SHA1 Message Date
Tony Murray
24f6de37db
Remove references to VM images (#15031)
* Remove references to VM images
Use docker instead

* Remove references and add redirect
2023-05-09 10:51:12 -05:00
bnerickson
56e9fa3742
Adding linux_config_files application support (#14776) 2023-05-09 10:23:49 -05:00
Shao Yu-Lung (Allen)
741d93c2a5
feat: Agent support OS Updates (#14687) 2023-04-28 08:49:04 -05:00
David Willingham
121c8ffba1
Fix spelling error in Graylog section (#15002) 2023-04-25 16:18:24 -05:00
Michał Margula
e946452bbf
Update Smokeping.md (#14999)
Updating Smokeping integration manual to be in line with main installation manual (mostly filename).
2023-04-25 07:19:14 -05:00
Félix Bouynot
3f723622da
Update OAuth-SAML.md (#15000) 2023-04-25 07:17:23 -05:00
Jellyfrog
f271019f6c
Add a validation for checking if the scheduler is running (#14987) 2023-04-24 10:04:50 +02:00
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
Kim Håkonsen
524e0c097b
Update Radius auth to accept permissions attributes (#14531)
* Update Radius-Auth to accept permission attribute

* Update Radius-Auth to accept permission attribute

* Fixed list of strings

* Swapped " with ' in switch statement

* Added whitespace to satisfy  styleCI bot

* Yet another whitespace...

* Removed two blank lines....

* Fixed missing "s"

* Try to satisfy linter - fixed a stupid mistake

Had put the code for mapping attributes inside the if statement that states that user exists in librenms. It has to be done before testing of user exists, and after radius auth is true.

* Comments was skewed

* Stylefix

* Update LibreNMS/Authentication/RadiusAuthorizer.php

Murrant's edit

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

* Added 0 on line 54 to satisfy test.

* StyleFix

* Stylefix2

* Style test complained about whitespaces, i guess..

* Update Authentication.md

* Update Authentication.md

Co-authored-by: Tony Murray <murraytony@gmail.com>
2022-11-09 10:10:33 -06: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
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
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
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
Tony Murray
1f1efa55f2
Add snmp_flags and tips on string oids to the docs (#14579)
* Add snmp_flags and tips on string oids to the docs

* refinements, strongly suggest yaml
2022-11-04 20:22:50 -05:00
Tony Murray
2dea36f70f
Remove graph_min (#14561)
* Remove graph_min
it doesn't do anything
(scale_min sets minimum graph scale)
(graph_max shows a line at max on some graphs)

* fix style
2022-11-02 09:55:28 -05:00
bnerickson
d28b1cac3f
Adding systemd application (#14540) 2022-10-30 14:18:02 -05:00
Tony Murray
4b65dc41d2
Graphing cleanup (#14492)
* WIP

* Fixes and cleanups

* Move parseAtTime to Time util class

* lint fixes, explicitly define variables

* Style fixes
2022-10-28 08:06:29 -05:00
PipoCanaja
8e3fe223ef
Sensors - Allow changing RRD type in YAML and PHP sensor discovery (#14208)
* new row variant

* syntax

* syntax

* DB

* syntax

* schema

* test

* allAdvaTests

* Tests

* Tests

* Tests

* missingMigration

* missingMigration

* Tests

* Tests

* Tests

* Tests

* tests

* tests

* tests

* tests

* tests

* test

* fix_Aos7

* fix snmprec arista

* fix snmprec arista

* fix snmprec arista

* tests

* merge_fix

* aos7 backslash

* aos7

* more

* more

* defaultValue

* arista

* typehint

* tests

* tests

* voss

* aos7

* aos7

* aos7

* testWithoutarista-mos_metamux48-c-0-16.json

* tests

* ciscosb

* new tests with 2004 and only sensors module

* adding wireless module again

* adding wireless module again (cont)

* airos

* aos7

* arista

* arista

* bdcom

* fortigate

* fortigate

* fortigate

* ftos

* ftos

* tests on 1804

* tests once more

* tests once more, cont

* tests once more, cont

* tests once more, cont

* tests once more, cont

* tests once more, cont

* more

* bdcom

* comware

* edgeosolt

* enexus

* arista-mos

* removeAristaAgain

* ies500_manual_edit

* ies500_manual_edit

* mni

* volius

* zywal

* manually imported arista-mos

* manually imported arista-mos

* arista-mos test is triggering something ...

* restoreArista

* tests

* tests

* aristamos

* ies52xxM_4206.json

* revert linux_supermicro.json

* revert linux_supermicro.json

* benuos

* fortiadc

* rnx-updu
2022-10-25 08:31:02 -05:00
kiwibrew
c91691bfa6
Update Rules.md (#14505)
Removed links to videos about how to create rules. The videos no longer describe the process for adding rules or wildcards. The new alerting UI is too different from the old one for them to be useful.
2022-10-24 21:26:42 -05:00
Tony Murray
e053b9ff7b
Docker quick install (#14475)
* Docker quick install

* Update Docker.md

* Update Docker.md
2022-10-22 22:45:11 +02:00
Zane C. Bowers-Hadley
a166df006a
base64 gzip compression support for json_app_get (#14169)
* add lnms_return_optimizer

* add compression test using zfs-v1

* minor style fix

* save the original output if not json

* replace gzinflate with gzdecode as apparently that does not require yanking the header

* Minor comment cleanup. Also note it in the application notes as well.

* update docs on how it is called

* update the spelling of it in a few places

* and a few more

* dev docs updated a bit

* the suricata extend has native support for this now

* add exception handling for base64 and gzip decoding failure

* minor cleanup for new exceptions

* minor misc changes

* minor formatting fix

* more phpdoc tweaks

* minor formatting tweak

* remember to actually include the new exceptions

* more phpdoc tweaking

* correct name in JsonAppGzipDecodeException

* add debug and verbose output

* style fix

* not base64 is it starts with a line with only a integer
2022-10-21 10:05:49 -05:00
Tony Murray
9cb0342213 Changelog for 22.10.0 2022-10-17 23:47:04 -05:00
SirMaple
8018dc709e
Updating details of my LibreNMS install (#14458) 2022-10-17 14:50:59 +02:00
Tony Murray
ae3925b09a
Fix memcached unserialize vulnerability (#14459)
Allows code injection, so remove it entirely.
This requires a memcached application script to restore functionality.

https://github.com/librenms/librenms-agent/pull/428
2022-10-16 11:15:17 -05:00
bnerickson
4efbb83d9b
Add pwrstatd application (#14365)
* Add pwrstatd application

* Adding pwrstatd test json and correcting pwrstatd snmprec file.  Pwrstatd tests pass.
2022-10-12 11:01:09 +02:00
Jellyfrog
071173ffb9
Remove tabs from yaml (#14437)
* Remove tabs from yaml

* Remove tabs from random files
2022-10-10 18:13:10 +02:00
Martin22
3f5588b2c4
Revert "Update radius auth to accept permissions attribute (#14382)" (#14433)
This reverts commit 840c3210e6.
2022-10-10 12:26:44 +02:00
Tim de Boer
f817ae8586
Added Ubuntu and Raspbian to ifAlias script (#14399)
* Added Ubuntu and Raspbian to ifAlias script

* Improved to pass shellcheck and added support for "/etc/network/interfaces.d/*"

* Last shellcheck type and updated docs

* Last changes in docs

* Tabs vs Spaces
2022-10-07 22:10:37 +02:00
Kim Håkonsen
840c3210e6
Update radius auth to accept permissions attribute (#14382)
* Update radius auth to accept permissions attribute

* Apply fixes from StyleCI

* Stylefix

* Update Authentication.md

* Update RadiusAuthorizer.php

Co-authored-by: StyleCI Bot <bot@styleci.io>
2022-10-07 21:54:21 +02:00
Kayck Matias
1f54fc786a
Update ports_purge docs and definitions (#14402)
* Update ports_purge docs and definitions
* Translate
2022-09-30 18:48:39 +02:00
Félix Bouynot
a174268a3f
Fix documentation for php8.1 and bad package name (#14393) 2022-09-27 09:07:50 +02:00
Félix Bouynot
e1275340f3
Fix php7.2 occurence in Performance.md documentation (#14394) 2022-09-27 09:04:03 +02:00
Tony Murray
1e2fbcff87 Changelog for 22.9.0 2022-09-21 01:51:21 -05:00
bp0
384e0449c1
API: allow delete location by id (#14334)
* API: allow delete location by id

Otherwise impossible to delete location "".

* docs/API: location can be name or id for edit and delete
2022-09-13 09:03:55 -05:00
Tony Murray
d2c6016d27
mib module is long gone 2022-09-09 14:42:56 -05:00
bp0
6cc9694780
docs/API: Move list_locations from devices to locations (#14328)
* Remove list_locations from devices

Moving to locations

* Add list_locations to locations

Moved from devices
2022-09-08 22:16:52 -05:00
PipoCanaja
53bfb24ef9
Migrate xDSL code to module, and add support for VDSL2 MIB (#14207)
* use component to discover if xDSL polling is needed

use component to discover if xDSL polling is needed

* Components OK, Polling in correct files, no DB for VDSL

* GUI

GUI_suite

* per port as well

* rename

* interface listing

* draytek_snmpsim

* fix arraymerge

fix names and max value

* schema

schema

style

* remove one dbFetchRows

remove 2x dbFetchCell

style

style

remove Legacy dbFetchRow

tests

tests

eloquent

more eloquent

more eloquent

one more gone

* fix properties access

eloquent_insert_update

style

tests

tests

tests

tests

* tests

tests

tests

* adslLineCoding

* Models

* fix not nullable cols in DB from code

default values

typo

rename

typo

schema

fix

fix

vdsl fix now

typo

typo

fix size

fix size

* Power values for VDSL

Power values for VDSL

Power values for VDSL

DB

* cleanup

* Rrd::checkRrdExists

* always enable DSL discovery

style

* xdsl module

* cleanup and move to Module

cleanup and move to Module

cleanup and move to Module

cleanup and move to Module

* Fix display

* fix polling and tenth

* remove legacy poller

* Style and Cosmetics

Cosmetics

Cleanup

* Translations

Translations

* exists

exists

* add test support for xdsl

* remove last component call

unused

* translations

* remove non standard onclick event on xdsl line

* Update Discovery Support.md

Update Poller Support.md

toner_gone

* Notification for removal of lnms config:set enable_ports_adsl true

* enable on devices with potential DSL interfaces

* tests are working now

fix teldat tests

* os_schema

* teldat

* move to new module structure

* move to new module structure

* wrong dump function

* wrong dump function

* laravel_through_key hidden

* Update notifications.rss

* Update notifications.rss

Co-authored-by: Tony Murray <murraytony@gmail.com>
2022-09-07 19:29:17 -05:00
Tony Murray
302a989d4e
Email Transport: embed graphs by default (#14270)
* Email embed graphs

* Allow attachment for non-html
Add setting to webui
Correct $auth setting

* Cleanups, throw RrdGraphException instead of returning an error image.
Generate the error image later, giving more control.
Reduce code duplication a little

* Style and lint fixes
Change to flags

* Add baseline for lint errors I don't know how to resolve

* oopsie, changed the code after generating the baseline

* Tiny cleanups.  Make set DeviceCache primary, it is free.

* Docs.

* email_html note

* Allow control of graph embed at the email transport level to override the global config.

* Allow control of graph embed at the email transport level to override the global config.

* Add INLINE_BASE64 to make it easier to create inline image tags
2022-09-05 20:41:55 -05:00
Tony Murray
14799ecdd3
cisco-sla module was renamed to slas (#14288)
Cleanup references to it.
2022-09-05 09:25:36 +02:00
Tony Murray
9f39acd615
Update docs around APP_URL (#14282)
* Update docs around APP_URL
it is required in more cases than implied such as signed graphs

* Some require public urls

* Update Templates.md
2022-09-03 23:46:16 -05:00
Tony Murray
5c76890373
Add @signedGraphTag() and @signedGraphUrl() blade directives (#14269)
* More secure external graph access
Add @signedGraphTag() and @signedGraphUrl() blade directives
Takes either an array of graph variables or a url to a graph
Uses a signed url that is accessible without user login, embeds signature in url to authenticate access
See Laravel Signed Url for more details.
Adds Laravel route to graphs (does not change links to use it yet)
@graphImage requires the other PR
Also APP_URL is required in .env

* missing files from rebase

* Fix url parsing with a get string

* allow width and height to be omitted

* Documentation

* Add to, otherwise it will always be now

* Doc note for to and from relative security

* fix vars.inc.php (Laravel has a dummy url here)
2022-09-03 12:48:43 -05:00
Tony Murray
2d30d46ba7 Changelog for 22.8.0 2022-08-19 20:34:30 -05:00
Zane C. Bowers-Hadley
55c62b234e
add Opensearch\Elasticsearch monitoring (#14053)
* add new poller

* add a missing ;

* formatting cleanup

* graph stuff and metrics move

* add rrd name

* clean up metrics/rrd def

* more metric/rrd def cleanup

* cleanup

* add basic opensearch graphs

* add opensearch to apps.inc.php

* begin work on opensearch app page

* formatting cleanup

* add translog graphs

* add a missing graph

* fix pending tasks

* add the ability to fetch the saved cluster name

* add fetching the cluster name

* correct the opensearch comment

* add combined shard stats

* add indexing graphs

* correct graph name

* correct some units as being per second

* add more graphs

* add more items for graph sets

* cleanup of units and naming... also more graphs

* more graph stuff

* change the RRD def again and define a few more graphs

* finish basic graph sets

* more graph stuff

* another rrd def change

* add more graphs

* add some more graph sets

* correct unit for c_task_max_in_time

* more graph stuff

* more graph stuff

* correct the unit

* add missing tw_time and another rrd def change

* another unit change

* add trc graphs

* more graph stuff

* add tseg graphs

* add all shards graph to both cluster items

* more graph stuff

* update opensearch app page

* add Opensearch\Elasticsearch app

* add opensearch tests

* run php-cs-fixer on two files

* add alert examples for checking cluster status

* remove an item that was accidentally added as a metric in the test but is not

* derp! thanks jellyfrog

* make it come up as Elisticsearch\Opensearch in the webui

* no longer use components, but app_data, for cluster name change

* update the web side for opensearch for using app_data

* style fix

* update opensearch for new app data stuff

* update to the new Application model

* update poller and device app page for ES/OS

* style cleanup

* update graphs

* test fix

* more test cleanup

* Update alert_rules.json

* begin work on breaking out the RRDs

* update all non-multi rrd graphs for opensearch

* update time_all

* add a unass shards graph

* correct rrd name

* should all be good now

* add missing tm stats

* Un Assigned -> Unassigned

* style cleanup

* another style fix

* remove cluster_name from saved metrics as it is not a metric

Co-authored-by: Tony Murray <murraytony@gmail.com>
Co-authored-by: Jellyfrog <Jellyfrog@users.noreply.github.com>
2022-08-15 14:44:20 -05:00
Jellyfrog
83126161d9
Update to mkdocs-material 8.3.9 (#14189) 2022-08-08 14:25:37 +02:00
Ambroise
c807e409d9
add the possibility to monitor redis application through the unix-agent (#14182) 2022-08-07 12:05:28 -05:00
Peca Nesovanovic
79a9967667
fix mdadm documentation (#14186) 2022-08-07 11:59:55 -05:00
Zane C. Bowers-Hadley
b827e2bbbd
add support for Sagan (#14070)
* add sagan instance fetch function

* add sagan discovery

* add sagan poller

* add sagan graphs

* add graph sources

* add sagan to apps page

* remove alert

* more app graph work

* polling fix

* re-order keys and add alert key

* correct field key usage

* add alert and fix a missing unit

* more unit fixes

* add alert status

* add alert rules for sagan

* fix a missing : after S while I am here in the json stat tool helper... also add tests

* now add the tests

* add docs

* point php-cs-fixer at two files

* remove-unneeded sagan instance fetch function

* convert to use app_data

* style fix

* apply bennet-esyoil's suggestions here as well

* update for the new app model

* convert poller to the new method

* convert the sagan device app page

* convert sagan

* doc cleanup
2022-08-04 18:12:34 -05:00
Jarod2801
176cb0cf48
Update index.md (#14178)
Added a missing space in front oh the "-H 'X-Auth...".
The missing space causes the curl command not to work
2022-08-04 18:00:55 -05:00
Jellyfrog
b706211b77
Docs: Add instructions for PHP 8.1 and Ubuntu 22.04 (#14166) 2022-08-04 17:58:03 -05:00
Ambroise
0f37f68bfd
Add possibility to monitor the php-fpm service with the unix agent and (#14173)
not only with SNMP agent

Co-authored-by: Ambroise Rosset <ambroise.rosset@unil.ch>
2022-08-03 08:31:06 -05:00