Host: CentOS Linux release 7.1.1503
Host architecture: 64bit
Install: manual
Problem Description
When trying to run the auto-discovery wizard, I get the following error:
Looking at /usr/local/nagiosxi/html/includes/components/autodiscovery/setup.sh, I seeAn installation errror was detected. The following steps must be completed before using this component:
Run the setup script. To do this, login to the Nagios XI server as the root user and issue the following commands:
chmod +x /usr/local/nagiosxi/html/includes/components/autodiscovery/setup.sh
/usr/local/nagiosxi/html/includes/components/autodiscovery/setup.sh
Code: Select all
/etc/init.d/httpd reloadCode: Select all
service httpd reloadAlternatively, check which service management tool is available and invoke service or systemctl as appropriate:
Code: Select all
if [ -e /usr/bin/systemctl ]; then
/usr/bin/systemctl restart httpd.service
else
/usr/sbin/service httpd restart
fi