docs: Update Oxidized integration to show example of SELinux setup

This commit is contained in:
jackson-tim
2017-01-30 11:59:35 -06:00
committed by Neil Lathwood
parent b06153d7e9
commit 94bdff3b86
3 changed files with 8 additions and 0 deletions

View File

@ -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

View File

@ -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
```

View File

@ -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