From 94bdff3b86e7a5d1e4f213ec8066349286de190e Mon Sep 17 00:00:00 2001 From: jackson-tim Date: Mon, 30 Jan 2017 11:59:35 -0600 Subject: [PATCH] docs: Update Oxidized integration to show example of SELinux setup --- AUTHORS.md | 1 + doc/Extensions/Oxidized.md | 6 ++++++ doc/Installation/Installation-CentOS-7-Apache.md | 1 + 3 files changed, 8 insertions(+) diff --git a/AUTHORS.md b/AUTHORS.md index 5819386ad8..761a850169 100644 --- a/AUTHORS.md +++ b/AUTHORS.md @@ -170,6 +170,7 @@ LibreNMS contributors: - Andrew Wippler (andrewwippler) - Robert Towster (towster) - Rocky Luke (rockyluke) +- Tim Jackson (jackson-tim) Observium was written by: - Adam Armstrong diff --git a/doc/Extensions/Oxidized.md b/doc/Extensions/Oxidized.md index 2ef7b49ebf..16c2fed6d0 100644 --- a/doc/Extensions/Oxidized.md +++ b/doc/Extensions/Oxidized.md @@ -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 +``` diff --git a/doc/Installation/Installation-CentOS-7-Apache.md b/doc/Installation/Installation-CentOS-7-Apache.md index 62f3fccede..b6058c3df2 100644 --- a/doc/Installation/Installation-CentOS-7-Apache.md +++ b/doc/Installation/Installation-CentOS-7-Apache.md @@ -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