mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
docs: Update Oxidized integration to show example of SELinux setup
This commit is contained in:
committed by
Neil Lathwood
parent
b06153d7e9
commit
94bdff3b86
@ -170,6 +170,7 @@ LibreNMS contributors:
|
||||
- Andrew Wippler <andrew.wippler+librenms@gmail.com> (andrewwippler)
|
||||
- Robert Towster <rnt-github at towster.com> (towster)
|
||||
- Rocky Luke <rockyluke@offline.net> (rockyluke)
|
||||
- Tim Jackson <jackson.tim@gmail.com> (jackson-tim)
|
||||
|
||||
Observium was written by:
|
||||
- Adam Armstrong
|
||||
|
@ -100,3 +100,9 @@ It's also possible to exclude certain device types and OS' from being output via
|
||||
$config['oxidized']['ignore_types'] = array('server');
|
||||
$config['oxidized']['ignore_os'] = array('linux');
|
||||
```
|
||||
|
||||
If you're runnng SELinux, you'll need to allow httpd to connect outbound to the network, otherwise Oxidized integration in the web UI will silently fail:
|
||||
|
||||
```
|
||||
setsebool -P httpd_can_network_connect 1
|
||||
```
|
||||
|
@ -102,6 +102,7 @@ Add the following config:
|
||||
semanage fcontext -a -t httpd_sys_rw_content_t '/opt/librenms/logs(/.*)?'
|
||||
restorecon -RFvv /opt/librenms/logs/
|
||||
setsebool -P httpd_can_sendmail=1
|
||||
sesetbool -P httpd_can_network_connect=1
|
||||
```
|
||||
|
||||
#### Restart Web server
|
||||
|
Reference in New Issue
Block a user