Commit Graph

878 Commits

Author SHA1 Message Date
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
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
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
Félix Bouynot
91e7b062c5 Fix typo in Smokeping SELinux documentation (#14155) 2022-07-28 08:44:23 -05:00
Félix Bouynot
8e841a8296 Add SELinux configuration for RRDCached on Centos8 in the documentation (#14092)
* Add SELinux configuration for RRDCached on Centos8

* Change file creation to EOF style

* Remove spacing
2022-07-15 22:15:02 -05:00
Félix Bouynot
88ff9e2455 Add SELinux configuration for Smokeping on Centos8 in the documentation (#14093)
* Add SELinux configuration for Smokeping on Centos8 in the documentation

* Change file creation to EOF style

* Add heading to SELinux block and move it...

for the change to be clear.
2022-07-15 22:14:44 -05:00
Félix Bouynot
d3b43d608a Add SELinux configuration for LDAP/AD authentication on Centos8 in the documentation (#14094) 2022-07-15 22:14:26 -05:00
Félix Bouynot
1f41d6b16f Add SELinux configuration for SNMPd on Centos8 in the documentation (#14095)
* Add SELinux configuration for SNMPd on Centos8 in the documentation

* Change file creation to EOF style
2022-07-15 22:14:07 -05:00
wrongecho
afb5fb7eea Small documentation typos (#14101)
* Update Templates.md

withing > within

* Update index.md

Small typos correction

* Update Performance.md

Typos/Rewording

* Update Performance.md

* Update Syslog.md

recieving > receiving

* Update Entities.md

Remove rogue `

* Update Dashboards.md

embeded > embedded

* Update Interface-Description-Parsing.md

infor > information

* Update Network-Map.md

genrated > generated
2022-07-10 11:46:01 +02:00
Paul Gear
6c0e30baa7 Minor grammar fix (#14078)
Just noticed this in a recent commit
2022-06-30 12:42:48 +02:00
ottorei
8ea8a97f68 Add documentation for Chrony application monitoring (#14066)
Adds instructions for setting up monitoring for Chrony application with SNMP Extend.
2022-06-26 09:19:55 -05:00
Zach Biles
e8cd08c1e2 Okta saml (#14038)
* add okta oauth instructions

* add additional clarity

* spacing

* fix spacing and indentation

* fix spacing and indentation
2022-06-14 16:46:37 +02:00
sajiby3k
a7147a17e1 Submitting change to oxidized group api to include device purpose or device notes (#13976) 2022-05-14 12:13:44 -05:00
Francis Booth
ca42c81604 Fix typo in dispatcher service doc (#13979) 2022-05-13 13:44:07 +02:00
Michael Graff
cd114b85ed use full sudo path (#13975)
Fror some systems, at least Proxmox, the full path is required to find sudo.
2022-05-11 13:12:41 +02:00
Zane C. Bowers-Hadley
cdf457fbc5 add Suricata monitoring (#13942)
* add poller

* add a generic alert graph

* add support for .total

* add the initial work on the suricata app page

* add applayer flow sources

* more rrd work and add more fields

* add a missing graph to the suricata page

* add suricata to the apps page

* all working now for suricata

* add some suricata alert examples

* all done with the php

* update the application docs for Suricata

* add another note about Suricata stats in the docs

* add the test file

* add the test JSON

* remove a unneeded newline from the appication docs

* correct the type uptime type

* packets graph should by packets/sec

* minor formatting cleanup

* one more minor formatting cleanup

* shot in the dark to see if something fixes the angry linter

* fix snmpsim file

* add metrics

* add values to the metrics

* add a missing comma to the json

* add a missing line to snmprec and cleanup json a bit

* a few more minor changes to see if this makes it happy... regened via scripts/json-app-tool.php

* see if this will make it happy

* add suricata to app discovery and hope that fixes it... take a shot in the dark as to why the linter errors strangely on two of the files

* fix json

* add a missing ] to the json

* rename two graphs so it does not trigger one alert and add a missing metric

* whoops, *_alertString is not a metric
2022-04-25 20:30:49 -05:00
Philipp Fromme
4a98dc69e3 Add LDAP bind and userlist filter support to ldap-authorization (#13788)
* Add userlist filter to ldap-authorization

* Add LDAP bind user to ldap-authorization

* Type hint getFullDn parameter of ldap-authorization

* docs: add missing options of ldap

* docs: add available options of ldap-authorization
2022-04-22 01:28:29 -05:00
IVI053
3a379431a5 Added --ping-only to snmp-scan.py (#13810)
* added --ping-only and --ping-fallback; deprecated -P

* Updated help text for snmp-scan.py

* format fixes

* appease lint again
2022-04-22 01:27:40 -05:00
Santiago Z
02b5ef797b Docs, fix code block in oxidized group (#13908) 2022-04-12 09:18:48 +02:00
Santiago Z
712ba23657 [DOC] Fix Code blocks Step 2 Installing Network-WeatherMap (#13905) 2022-04-11 09:40:25 +02:00
Jellyfrog
09929bd686 Implement OAuth and SAML2 support (#13764)
* Implement OAuth and SAML2 support via Socialite

* Add socialite docs

* fixes

* Additional information added

* wip

* 22.3.0 targeted version

* Allow mysql auth as long as there is a password saved

Co-authored-by: laf <gh+n@laf.io>
Co-authored-by: Tony Murray <murraytony@gmail.com>
2022-02-20 22:05:51 +01:00
Jellyfrog
681c994ca1 Docs tweaking (#13792)
* Tweak updating page

* Cleanup docs
2022-02-16 02:43:48 +01:00
Jellyfrog
8f474dd4d4 Rework documentation (#13709)
* Rework documentation

* Slightly adjust theme

* wip

* fixes

* Remove unneeded header

* Re-added Acknowledgement.md file

* Added Acknowledgement.md to mkdocs.yml

Co-authored-by: Neil Lathwood <gh+n@laf.io>
2022-02-08 23:02:28 +00:00
SourceDoctor
28567e1cf0 rename DHCP Stats to ISC DHCP Stats (#13756)
* rename DHCP Stats to ISC DHCP Stats

* .
2022-02-08 11:51:30 +01:00
twelch24
3c75d87f53 update rrdcached link (#13692)
* update rrdcached link

* Update Applications.md
2022-01-20 17:41:29 +01:00
Henne Van Och
8f8872520a Add supervisord application (#13673) 2022-01-13 18:19:27 +01:00
Simon Smith
c7d00ccc92 Update Applications.md (#13573)
add step to add debian-snmp user to docker group
2021-12-01 07:46:24 -06:00
twelch24
4a99b798b5 update Customizing the Web UI doc (#13564) 2021-11-30 02:42:39 +01:00
twelch24
9ce249c97a Update winbox launcher doc (again) (#13558)
My bad. goofed the format.
2021-11-23 16:55:22 +01:00
twelch24
87951d28fd Add more detailed instructions to winbox launcher (#13552) 2021-11-22 20:27:32 +01:00
Tony Murray
2f478d04cb Oxidized: elaborate on feeding Oxidized (#13514) 2021-11-17 15:31:37 +01:00
Deltawings
905918f2e5 Update Applications.md (#13495)
Adding a line telling how to configure the snmp extend for MySQL
2021-11-10 23:39:37 +01:00
Denny Friebe
f23c5c0e7b Raspberry Pi: Add SNMP extend to monitor IO pins or sensor modules connected to the GPIO header (#12749)
* Raspberry Pi: Add SNMP extend to monitor IO pins or sensor modules connected to the GPIO header

* Raspberry Pi: Add new test data

* Raspberry Pi: Make styleci happy

* Raspberry Pi: Fix some more style issues

* Raspberry Pi: Use d_echo for array debug

* Raspberry Pi: Prevent processing if the extension is not present

* Raspberry Pi: Make styleci happy

* Raspberry Pi: Update test data

* Raspberry Pi: Remove debugging
2021-11-04 21:38:15 -05:00
nq5
5854244f5a Syslog hook examples and documentation for Procurve devices (#13397)
* Add support for Procurve devices

Syslog hook support added for automatic Oxidized backups of devices running Procurve

* Add documentation for HPE/Aruba Procurve devices

Update documentation to support configuration of example Syslog hooks for HPE and Aruba devices running Procurve
2021-10-21 09:45:16 +02:00
Kevin Zink
98ed6bb9dc New plugin system based on Laravel Package Development (#12998)
* use Blade view and Eloquent models for plugins

* move views

* fix style

* fix style

* revert mistake

* Update Plugin.php

delete test property "name"

* rename plugin function to settings

* last but not least - rename in Test.php

* Rename Test to Example

* fix typo

* fix style

* fix style

* fix style

* fix style - I hate tabs...

* Extract view calls

* fix method calls and style

* Move Models the the abstract class

* fix style

* Convert to traits

* Change the Example description

* Fix style

* Fix style

* Fix style

* Convert plugin function to Model static methods and delete .inc.php

* fix style

* fix style

* Use scope

* final methods blows up legacy code

* Config > \LibreNMS\Config

* convert the static string to a static method

* Correct placement in the page

* fix tabs

* fix style

* Rename from tait to hook

to make it easier to understand and be complient

* rename file

* Typo

* Started to change the docu

* change to a more usefully Device_Overview example

* and activate of course

* PluginManager

* fix .gitignore

* only php files in the root folder

* corrected .gitignore with all files :)

* Rename the Hooks and ExampleClass for better readability

* Fix style

* Fix style

* Exception handling (especially if DB is not present)

* Fix style and update schema

* fix indentation

* actually correct indent

* fix migration collation check include utf8mb4_bin

* stop phpstan whining

* A view lines documentation

* add typeHints

* Allow return null on handle

* lint

* fix return types

* fix logic of column collation check

* Fix MenuEntryHook

* switch to longtext instead of json type for now :D

* try phpstan on PHP 7.3

* set phpstan target version to 7.3

* all the typehints

* optional

* more

* Use namespace to prevent view collisions
disambiguate plugin and hook
no magic guessing of names in PluginManager, bad assumptions
remove unused plugins from the DB

* cleanup plugin menu

* cleanup on shutdown and ignore but log query error on cleanup

* instanceof must be called against an instance

* Allow multiple hooks per plugin

* Port plugin ui code to Laravel

* page instead of settings for v1 plugins

* actually working settings pages
a little url cleanup plugin/admin -> plugin/settings

* fix style

* Add page hook

* PHPstan

* Try to fix Illuminate\Http\RedirectResponse

* typehint

* Rewrite the doc

* Fix style

Co-authored-by: PipoCanaja <38363551+PipoCanaja@users.noreply.github.com>
Co-authored-by: Tony Murray <murraytony@gmail.com>
2021-10-19 06:53:28 -05:00
Tony Murray
0d9cd86350 Docs: edit existing install url (#13342)
* Docs: edit existing install url
not blank

* did not define superfences correctly
2021-10-07 11:47:21 +02:00
Tony Murray
e33ec8b390 Oxidized doc update, links and ignore groups (#13341) 2021-10-06 19:30:39 +02:00
ottorei
114d1403e2 Update Dispatcher-Service.md (#13339) 2021-10-06 07:30:42 -05:00
Simon Smith
9f14740a91 Update Applications.md (#13312)
tiny fix to puppet snmp extend formatting
2021-10-02 15:16:55 +02:00
Nash Kaminski
cb56ae5f46 Improvements to SSO Authorization and logout handling (#13311)
* Improvements to SSO Authorization and logout handling

Changes:
* Adds support for a default access level in the SSO authorization
  plugin when group mapping is enabled.
* Restore functionality of the auth_logout_handler configuration option,
  allowing the user to be redirected to a configured URL to complete
  logout from an external IdP.
* Documentation and test coverage updates

* Set sso.static_level to 0 in AuthSSOTest:testGroupParsing()

* Simplify implementation to use default values in Config::get()
2021-10-02 08:02:42 -05:00
Cathal Mooney
50f766476c Update formatting of Prometheus extension doc (#13291)
* Modified Prometheus extension to allow for a configurable prefix on metric names.

* Added reference in config_definitions.json and updated docs.

* Fixed whitespace in config_definitions.json.

* Added reference to prometheus.prefix in settings.php

* Defined prefix var as private in Prometheus.php

* Formatting changes to doc for Prometheus extension.
2021-09-29 10:04:23 +02:00
Cathal Mooney
6bfe1555be Modified Prometheus extension to support adding a prefix to metric names (#13272)
* Modified Prometheus extension to allow for a configurable prefix on metric names.

* Added reference in config_definitions.json and updated docs.

* Fixed whitespace in config_definitions.json.

* Added reference to prometheus.prefix in settings.php

* Defined prefix var as private in Prometheus.php
2021-09-28 19:30:28 -05:00
Kevin Zink
c984cdbebc MegaRaid controller in Linux (Broadcom/LSI) (#12999)
* Add power consumed

* Revert "Add power consumed"

This reverts commit 424554ac04bd340de2fd962cb6808045024ef783.

* Start with tempsensorts aus some states

* Inventory data

* Convert plugins to Blade

* Revert "Convert plugins to Blade"

This reverts commit 8d1d3ff5b1.

* fix style

* Add FANs and Powersupplies

* fix style

* add test data

* add a short description for the doc

* refresh Testfile
2021-09-19 18:31:23 -05:00
Simon Smith
272713f95d Update Applications.md (#13183)
fix numbering in application docs
2021-08-29 17:19:22 +02:00
Tony Murray
94ee737f3d Allow device actions to appear in device list and improve docs (#13177)
* Improve Device menu links and documentation

* device list actions functionality

* phpstan :/
2021-08-27 22:48:57 -05:00
Jellyfrog
39eea7bdc7 Remove links to freenode (#13101)
* Remove links to freenode

* Add funding links

* Sort composer
2021-08-05 10:33:23 -05:00
adamus1red
ae40865200 Document optional ups-nut arg1 (#13072)
As added in librenms/librenms-agent#371 the ups-nut script can take an optional argument for overriding the default UPS name.
2021-07-27 10:25:24 +02:00
Simon Smith
710cc3cef9 fix numbering and extra spaces (#13052) 2021-07-18 08:31:09 +02:00