Commit Graph

1936 Commits

Author SHA1 Message Date
Orsiris de Jong
d42444b4ae
Add security context service (#13218)
* Make sure we add bin_t type to service for restricted SELinux policies

* Make sure we add bin_t type to service for restricted SELinux policies
2021-09-10 08:19:35 -05:00
Jellyfrog
4f50c3c05d
Rename nobulk -> snmp_bulk (#13098) 2021-09-01 19:01:41 -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
Tony Murray
1ec694595e
Docs link to webui settings in user's install (#13176)
* Docs link to webui settings in user's install

* Add note to re-assure users
2021-08-27 06:48:17 -05:00
SourceDoctor
1544eadd37
default port_group for new ports (#13166)
* default port_group for new ports

* .

* adding Docs, default Value, change keyname

* .

* Update Configuration.md

Co-authored-by: Tony Murray <murraytony@gmail.com>
2021-08-24 20:28:18 +02:00
Tony Murray
dc1b5bd2d7
Update configuration docs to use lnms config:set (#13157)
* Update configuration docs to use lnms config:set
don't show slashes input
still need to test them all

* fixup broken commands
os array type a little broken

* bash

* fix lnms config:set os append

* enable os append test
(and small correction)

* fix whitespace
2021-08-23 19:07:26 -05:00
Tony Murray
93180ce4f0 Changelog for 21.8.0 2021-08-22 15:49:44 -05:00
Tony Murray
e2d1bfff54
lnms config:set ability to set os settings (#13151)
* lnms config:set works for os settings
validate against os schema (gives us path and value validation)
fix unset in config:set
json formatted output in config:get to match input parsing

* inline errors

* Check that OS exists

* Fix lock file

* Set param type

* correct method name, it no longer returns a boolean

* rename --json to --dump
tests and fixes

* fix whitespace

* missed one whitespace

* typehints

* add connection typehint

* try again
2021-08-19 18:34:19 -05:00
Tony Murray
3c6f9fd60f
Update docs for controlling modules (#13147)
* update docs for controlling modules

* text update

* clarify

* typo

* add missing word
2021-08-19 17:32:08 +02:00
geg347
6dbefd4a61
Adding API route to set bgpPeerDescr field (#13056)
* Adding API route to set bgpPeerDescr field

* Fixing CI test

* Fixing CI test part 2

* Adding validation of bgpPeerId as integer and changing SQL request with question mark syntax.

* Fixing CI test

* Following murrant's advices to protect against SQL injection

* Use built in json function

Co-authored-by: Tony Murray <murraytony@gmail.com>
2021-08-13 00:58:47 +02:00
ottorei
35dbb3e9cb
Update docs: Example for optional data on templates (#13128) 2021-08-12 12:55:36 +02:00
Kevin Zink
93209a0fc8
API mac search (#12964)
* API find a switchport with the mac from device

* fix style

* convert SQL to Eloquent

* convert SQL to Eloquent

* git mistake

* Global use App\Models\Port

* git mistake partII

* Refractor Eloquent - Not finish but easier to help for others

* Better Eloquent Query without filter option

* Validation

* fix style

* Add filter option and DOC

* convert to the better macToHex method

* add a maxToHex unit test

* fix style

* fix style

* fix syle - seems my dev:check is running again :-)

* Fix phpStan

* phpStan #2
2021-08-09 19:33:04 -05:00
ottorei
1dce74f54c
Update FAQs for large groups (#13110)
* Update FAQs for large dynamic groups

Added a workaround for error messages when editing large dynamic groups

* Review fixes

* Add example value
2021-08-06 16:36:39 +02: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
Bennet Gallein
574eb1f0f0
Billing: add peak in and out (#13006)
* feat(api): added max in/out per bill_history period

* chore(Docs): updated docs to include in/out max values

* chore(formatting): style-ci

* chore(db): update db-schema

* fix(db): reverted wrong changes in schema

* fix: wrong table name in migration

* feat(billing-history-frontend): added max in/out values to frontend bill-history

* chore: renamed to peak instead of min/max
2021-07-26 10:37:52 -05:00
Sean
747506172a
Update cleanup options document (#13026)
- Add missed units for config definition
  - And remove units from translate strings
- Change values in the document to the actual default value
- Sort configs in the document by order
- Replace redundant text with "please refer to"
- Add instruction to use Web GUI setting
2021-07-25 09:50:25 +02:00
O Palivan
754276ba89
Extend REGEX filtering option by sensor_class (#13066) 2021-07-23 23:46:12 +02:00
Simon Smith
710cc3cef9
fix numbering and extra spaces (#13052) 2021-07-18 08:31:09 +02:00
Simon Smith
13ca67495e
Formatted applications docs for copy/paste (#13049)
* formatted applications for copy and paste

* Update Applications.md

Co-authored-by: PipoCanaja <38363551+PipoCanaja@users.noreply.github.com>
2021-07-17 23:07:43 +02:00
Tony Murray
02f9baaff9 Changelog for 21.7.0 2021-07-16 17:28:20 -05:00
djamp42
a7cb75ba2d
Support multiple db servers (#12963)
* add multiple db servers

* formating fixes

* add documentation, mysql_cluster

* add laravel db sticky

* fix formating

* fix space

* updated docs

* Fix whitespace

Co-authored-by: Tony Murray <murraytony@gmail.com>
2021-07-14 10:24:18 -05:00
rhinoau
ccb267bb4d
Two-factor UI config and status display (#13012)
* two-factor UI config and status display additions

* force test re-run

* removal of blade foreach via keyBy

* remove where clause against all()

* attempt where filtering with keyBy

* use @config and getPref in blade

* another forgotten @config changed

Co-authored-by: PipoCanaja <38363551+PipoCanaja@users.noreply.github.com>
2021-07-09 21:36:08 +02:00
rhinoau
02c2cd47b3
Documentation cleanup of Basic Setup, Advanced Setup, 3rd Party Integration sections (#13018)
* TOC cleanup of Basic Setup, Advanced Setup, 3rd Party Integration sections
2021-07-09 21:34:01 +02:00
rhinoau
fbf653f02e
Documentation cleanup of General, Install, Getting Started sections (#13013)
* doc cleanup of general, install, getting started sections

* force tests re-run

Just to force tests re-run

Co-authored-by: PipoCanaja <38363551+PipoCanaja@users.noreply.github.com>
2021-07-08 23:10:05 +02:00
Gregory Bers
141653cc01
Added support for the Rittal LCP DX Chiller (#12995)
* Added support for the Rittal LCP DX Chiller connected to a Carel pCOWeb card. A custom MIB is also provided.

* removed .mib extension from CAREL-RITTAL-LCP-3311-MIB

* Added snmp test data
2021-07-04 17:52:40 +02:00
martinberg
131f5c7e87
Option to filter Oxidized groups (#12966)
* Add support for Liebert humidity setpoint and UPS powerfactor

* Option to ignore groups so they are not sent to Oxidized

* Revert "Add support for Liebert humidity setpoint and UPS powerfactor"

This reverts commit c338528aba.

* Updated docs

* Added ignore_groups option

* Added descriptions and updated translations

* Update settings.php

* Fixed typo

Co-authored-by: Tony Murray <murraytony@gmail.com>
2021-06-28 12:53:16 +02:00
Adam
824a4e4d42
Squid can return OIDs out of order (#12987)
Squid can return OIDs out of order, without -Cc the proxy doesn't pass through correctly.

Solution found via this link - http://www.squid-cache.org/mail-archive/squid-users/200411/0622.html
Currently testing with CERN Frontier Squid Fork.
2021-06-26 10:41:56 +02:00
Tony Murray
62192f81a3 Changelog for 21.6.0 2021-06-17 23:35:44 -05:00
Kevin Zink
d0d8a9024b
Add Signal CLI transport support (#12954)
* Add Signal CLI support

* Update Signal.php

* fix style

* fix style

* fix CI style

* fix CI style

* escapeshellarg

* fix style

* fix style

* fix style
2021-06-18 00:38:09 +02:00
Sean
bcedc0ed77
Improve Markdown syntax in Document (#12949)
* Use GitLab instead of Gitlab

Only change text part, the Alert.Transport.Gitlab class left as is.

* Fix href in document

* Move section in document

The agent list in this document is sorted by alphabetical order,
"SDFS info" is the only exception.

* Remove trailing spaces in document

* Align code in document

* Fix Markdown in document

- Escape underline
- Add syntax highlight
- Add two space in the end of line to make it a newline
- Add newline before list or code section

* Update LibreNMS/Alert/Transport/Gitlab.php

Co-authored-by: Jellyfrog <Jellyfrog@users.noreply.github.com>
2021-06-16 21:16:21 +02:00
Misha Komarovskiy
e670097bf6
API: Add api call to list OSPF ports (#12955)
Signed-off-by: Misha Komarovskiy <zombah@gmail.com>
2021-06-16 20:31:05 +02:00
Tony Murray
f7b95b92d8
Add info about lnms config:set at top of Configuration page (#12939)
* Update Configuration.md

* Update Configuration.md

* Update Configuration.md
2021-06-09 17:49:38 +02:00
Paul Dee
fdde13af90
Documenting spelling (#12919)
setup / set up

Update Style-Guidelines.md

sp/gram

Update SNMP-Trap-Handler.md

Update RRDCached.md

setup = noun
set up = verb/idiom
2021-05-25 21:44:57 +02:00
Tony Murray
5f3537c52e
Fix duplicate changelog (#12892) 2021-05-18 10:22:26 +02:00
Tony Murray
ccaf669fe3 Changelog for 21.5.0 2021-05-17 19:17:52 -05:00
Tony Murray
2d752925b0
Oxidized improvements (#12773)
* Oxidized API cleanup
Import more settings to the UI
use lnms config:set

* validate os and type exist

* map settings WIP

* oops

* editing working.  Needed to add new property to pass update state to child

* implement deleting and handle text overflow a little better.

* Update app/Models/Device.php

Co-authored-by: Jellyfrog <Jellyfrog@users.noreply.github.com>

* Update app/Models/Device.php

Co-authored-by: Jellyfrog <Jellyfrog@users.noreply.github.com>

* revert change

* fix style

* add return

Co-authored-by: Jellyfrog <Jellyfrog@users.noreply.github.com>
2021-05-11 08:08:59 -05:00
Simon Smith
b44ee32b78
add mysql skip slave (#12826) 2021-05-06 18:22:04 +02:00
Tony Murray
76910e4180
Debug and collect-snmp-data.php fixes (#12837)
Fix output so it can be captured and typo in collect-snmp-data.php
2021-05-05 10:27:10 -05: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
Tony Murray
3401013477
Fix docs custom graph rrd functions (#12803) 2021-04-28 09:45:36 -05: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
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
Tony Murray
cea6f13bf5
Document sub index references (#12767) 2021-04-20 11:26:17 +02:00
Tony Murray
6bcba7833b Changelog for 21.4.0 2021-04-17 23:04:56 -05:00
Jake
21dcd3eed9
Update Dashboards.md (#12733)
Corrected a couple typos.
2021-04-09 11:11:03 +02:00
SourceDoctor
4b9e480118
Define Port Groups (#12402)
* Define Port Groups

* .

* .

* .

* API Calls

* .

* .

* .

* minor changes

* .

* update forms

* remove link

* .

* change column settings

* change migration

* change update position

* db migration fix

* .

* .

* .

* add missing doc reference

* update test data

* update test data

* update test data

* .

* .

* .

* .

* .

* .

* .

* .

* port group association in seperate table

* .

* .

* show all found groups on port

* select multiple Portgroups per Port

* change on migration file

* change query to eloquent

* Code changes

* move port group menu to ports main menu

* port group update to eloquent

* .

* .

* update to new setting way

* add missing merge parameter

* Use select2 and port some things to Laravel
some fixes, hopefully no new added bugs

* schema

* don't use on update restrict unfortunately

* remove unused import and revert changes

Co-authored-by: Tony Murray <murraytony@gmail.com>
2021-04-06 17:25:08 -05:00
Jellyfrog
c97e49db3b
Fix doc building (#12711)
And upgrade
2021-04-06 19:22:58 +02:00