User Tools

Site Tools


aoe:nagios

nagios on hephaistos

modify nagios.cfg and maybe cgi.cfg if not using nagiosadmin

users: stedwar1

admin user: nagiosadmin DeH** with bang

selinux breaks it on lycoming. Things tried so far:

chcon -R -t httpd_sys_content_t /usr/share/nagios/
chcon -R -t httpd_sys_content_t /usr/lib64/nagios/

The original selinux context does not work

# ls -Z
-rw-r--r--  root   root   user_u:object_r:httpd_sys_content_t htpasswd.users
-rw-r--r--  root   root   user_u:object_r:user_home_t      htpasswd.users.org

The context from files placed in /var/www work, so copying the contexts over to the ones not working enables access to the directory

chcon --reference=/var/www/.htpasswd htpasswd.users
aoe/nagios.txt · Last modified: 1970/01/18 07:09 by 127.0.0.1