Commit Graph

238 Commits

Author SHA1 Message Date
Jellyfrog
b706211b77
Docs: Add instructions for PHP 8.1 and Ubuntu 22.04 (#14166) 2022-08-04 17:58:03 -05:00
Félix Bouynot
a0e263295d
Update php installation instruction for CentOS 8 to reflect the minimum php version now being 8.1 (#14159) 2022-07-29 08:48:49 -05:00
Félix Bouynot
49a42c2dd6
Change SELinux context for logs (#14128)
Change SELinux context for logs from httpd_sys_rw_content_t to httpd_log_t so logrotate is not blocked by SELinux with this blocking: `logrotate_t httpd_sys_rw_content_t:file open;`
2022-07-22 08:32:37 -05: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
Simon Smith
b2f8a53cab
Update install instructions to add pip3 package (#13746)
* Update Install-LibreNMS.md

include pip3

* Update Install-LibreNMS.md
2022-02-07 22:17:51 +00:00
Matt Peterson
e8497cdfc6
Debian missing pip3 install (#13721) 2022-01-28 10:21:52 +01:00
tkjaer
407e6838bc
Add missing python3-pip installation dependency for debian11 (#13691) 2022-01-19 20:13:01 +01:00
Nocturr
7d25897d3e
Fix typo in filepath (#13440) 2021-10-27 13:44:19 +02:00
SourceDoctor
d211944f4e
Debian 11 Install Docs (#13430) 2021-10-26 23:15:44 +02:00
Tony Murray
0b8b97bb68
Push Notifications (Mobile and PC) (#13277)
* Update manifest and add service worker
cleanup icons a bit

* Push notifications WIP

* navigate working

* cleanup

* acknowledge wired up

* Set VAPID keys on composer install

* Component to control notification permissions.

* Allow all user option to validate

* Enable on browser load if transport exists.

* Check for transport before showing user permissions
translations

* Documentation

* style fixes

* access via the attribute model

* fix alerting test

* update schema

* cleanup subscription on disable

* non-configurable db and table for webpush subscriptions (respect system connection)

* revert AlertTransport change
hopefully phpstan can figure it out

* phpstan fixes

* Support custom details display

* Match transport names to brand's preferred display

* less duplicate id errors

* Tests are done in Laravel code now so
remove legacy function usage... could be better, but ok

* Style fixes

* Style fixes 2

* Fix alert test

* Doc updates requires HTTPS and GMP

* unregister subscription when permission is set to denied

* cleanup after user deletion

* delete the right thing

* fix whitespace

* update install docs to include php-gmp

* suggest ext-gmp

* update javascript

* Update functions.php

Co-authored-by: Jellyfrog <Jellyfrog@users.noreply.github.com>
2021-10-06 07:29:47 -05:00
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
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
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
Sean
d32e62479e
Use GitHub instead of Github (#12781) 2021-04-22 14:34:03 -05:00
Jellyfrog
f06e81b357
Switch to utf8mb4 (#12580)
* Switch to utf8mb4

This allows emojis to function correctly

* Update URLs
2021-03-28 16:23:08 +02:00
Anthony F. McInerney
a625faaa1b
service watchdog - add systemd watchdog for resiliency (#12188)
* Add systemd watchdog service

* Add systemd watchdog service

* Add systemd watchdog service - add try

* Add systemd watchdog service - add try

* Add systemd watchdog service - add try

* Add systemd watchdog service - add try

* Add systemd watchdog service - add try

* Add systemd watchdog service - update docs for python3-systemd

* systemd-watchdog - move to 10 second alert frequency

* systemd-watchdog - move to 10 second alert frequency

* systemd-watchdog - move to 30 second restart, 10 second delay between restarts

* systemd-watchdog - safely integrate changes

* systemd-watchdog - safely integrate changes

* systemd-watchdog - revert old doc changes

* systemd-watchdog -  doc typo fix
2021-03-22 10:34:45 -05:00
Tony Murray
f5a0959181
Revert "Switch to utf8mb4 (#12501)" (#12578)
This reverts commit 8e2e67d0ee.
2021-03-01 14:59:06 -06:00
Jellyfrog
8e2e67d0ee
Switch to utf8mb4 (#12501)
* Switch to utf8mb4

This allows emojis to function correctly

* Update URLs
2021-03-01 08:02:26 -06:00
Jellyfrog
20b4215204
Swich links to https (#12511)
* Switch librenms links to https

* Convert librenms links in comments

* Switch gnu.org url to https

* switch php urls to https
2021-02-09 00:29:04 +01:00
Tony Murray
43e323bb02
lnms link in /usr/bin (#12446)
* lnms link in /usr/bin

Just put the lnms link in /usr/bin.

Fairly odd that distros don't have /usr/local/bin in PATH

* Update System.php
2021-01-20 03:37:28 +01:00
dlehman83
9f591c0aa2
Update Documentation (#12411)
* Update Documentation

Most work in Graylog and SNMP
Fixed many code tags, spelling and wording.
Added SNMP PowerShell example.

* Update SNMP-Configuration-Examples.md

Fix TOC brackets
2020-12-30 15:38:14 +01:00
SourceDoctor
9c248d1b52
Doc - Increase Nginx Timeout (#12368)
* Doc - Increase Nginx Timeout
2020-12-30 14:38:59 +01:00
CrazyMax
a0062aa633
Remove hardcoded URLs to doc (#12364)
Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-11-27 23:34:58 +01:00
Jellyfrog
8977bb50ad
Remove some unused files (#12307) 2020-11-07 22:00:47 -06:00
Walter Sonius
ee739e21fe
Extend Debian instructions with Raspberry Pi OS (#12302)
* Extend Debian instructions with Raspberry Pi OS

The Debian 10 part of the install instructions for LibreNMS just need a different bash location to be compatible on Raspberry Pi OS, formerly known as Raspbian which is based on Debian 10 Buster.

* Update Install-LibreNMS.md

Co-authored-by: Jellyfrog <Jellyfrog@users.noreply.github.com>
2020-11-07 02:01:56 +01:00
Jellyfrog
bd81f76caa
Use variable for PHP min version in docs (#12256)
* Use variable for PHP min version in docs

* Bump mkdocs deps
2020-10-24 11:19:45 +02:00
Jellyfrog
bbf394362e
Add table of content to installation guide (#12202) 2020-10-09 07:52:02 -05:00
mjeffin
90483b8cfa
Update Install-LibreNMS.md (#12201)
Change the symbol for comments from # to ; 
This threw an error for me while following the steps and had to google to fix the issue. Changing to ; might help people like me who are new to php. Not sure if it would affect any older versions.
2020-10-08 15:32:33 +02:00
Hans Erasmus
2bd4f146b5
Accommodate upcoming php 7.3 change (#12180)
* Accommodate upcoming php 7.3 change

An announcement on Twitter as well as [this](https://github.com/librenms/librenms/pull/12118) says future release will depend on PHP7.3 minimum. CentOS 8 ships with 7.2 by default. Also, the composer package's availability via `dnf` was dropped somewhere by CentOS project, so one needs to install it "manually" nowadays. I have yet to find a different solution than the one showed here. Any inputs welcome.

* Removed the dnf list command

* Made manual composer install the fallback method

* Fixed minimum PHP version.
2020-10-04 23:46:29 +02:00
Jarod2801
2c90169156
Update Install-LibreNMS.md (#12001)
Composer missing in Centos 7 and 8 docs
2020-08-06 18:09:25 +02:00
Tony Murray
71d5d29dbb Automatically change all tabs in install docs
Reduced the likelihood of a user viewing info for the wrong os.
2020-06-29 16:17:07 -05:00
Tony Murray
db5524dc09
Merge pull request #11762 from murrant/consolidate-install-doc
Update and Consolidate Install docs Ubuntu 20.04 and CentOS 8
2020-06-29 01:10:28 -05:00
Tony Murray
19402c5f66 acl is needed 2020-06-29 00:35:53 -05:00
Tony Murray
37f5541b83 don't need python2 packages 2020-06-29 00:06:34 -05:00
Tony Murray
ea26f32d3e remove errant semicolin 2020-06-28 23:53:03 -05:00
Tony Murray
0df6a13755 better heading 2020-06-28 20:24:39 -05:00
Tony Murray
31d6ec4a07 more refinement 2020-06-28 20:05:04 -05:00
Tony Murray
114379dd8e allow .env to be written for install 2020-06-27 11:22:01 -05:00
Tony Murray
9364e4ec31 updates and install url 2020-06-27 11:13:32 -05:00
Tony Murray
1b822d8ea3 pip3 is required on centos
session is no longer required by install
2020-06-27 09:10:47 -05:00
Tony Murray
78969c0181 don't need the api location anymore (all 3) 2020-06-25 11:24:18 -05:00
Tony Murray
65ffcd6deb don't need the api location anymore 2020-06-25 11:18:26 -05:00
Tony Murray
b4e35bcc65
whitespace 2020-06-14 16:19:58 -05:00
Tony Murray
b2eadb3ba2
Update Install-LibreNMS.md
restore alphabetical package list and more pip3 removals
2020-06-14 16:18:58 -05:00
Tony Murray
bde2ad0069
Remove pip3 2020-06-14 16:14:15 -05:00
Anael Mobilia
62ca4eae7f
Fix typos (#11816)
Permissions already set on line 31-38
2020-06-12 17:29:45 +02:00
Hans Erasmus
71050edfd1 Added minor changes 2020-06-08 16:22:35 +02:00
RobJE
f590e63d3a
Doc debian 10 updates (#11488)
* add package acl to required list

There are ways to install debian without the acl package. Add it to the
required list

* replace systemctl with more generic service

Debian does not require systemd. This makes calling systemctl to restart
processes a problem. The more generic way in Debian is to call service

* rm command allows multiple parameters

* use nginx config in a more Debian way

In Debian webservers are configured using -available and -enabled
directories. Make better use of this stucture.

* better snmpd.conf handling

Instead of overwriting snmpd.conf inform Debian of the change.

Because snmpd.conf contains sensitive info make it only user accessible

* replace nano with users preferred editor

* revert back to nano as editor

* remove dpkg-divert as per PR discussion
2020-06-06 18:43:42 +02:00
Tony Murray
9a16bc4f7a Merge branch 'consolidate-install-doc' of https://github.com/murrant/librenms into consolidate-install-doc 2020-06-04 08:32:27 -05:00
Tony Murray
9ab49bf81c
missing bash-completion 2020-06-03 09:53:07 -05:00