Page 2 of 2

Re: Config wizard doesn't detect switch ports

Posted: Mon Jun 12, 2017 10:51 am
by tmcdonald
Have any security sweeps been done on the server? Generally when we see Permission Denied errors, something has been done to the /etc/sudoers file, or changes to the file/directory permissions/ownership have been made.

Re: Config wizard doesn't detect switch ports

Posted: Wed Jun 14, 2017 4:52 pm
by jericho_g
No security updates have been done recently. The only update recently was when we upgraded to version 5.4.4.

Re: Config wizard doesn't detect switch ports

Posted: Thu Jun 15, 2017 10:33 am
by tgriep
When the Wizard runs, it creates a temporary file and it looks like the permissions are wrong, run the following as root to delete it.

Code: Select all

rm /usr/local/nagiosxi/tmp/mrtg-10.11.36.1*
Then run the wizard and see if the ports are detected when the wizard is run.

Re: Config wizard doesn't detect switch ports

Posted: Thu Jun 22, 2017 12:43 pm
by jericho_g
Thanks, I'll try that if it happens next time. We reset ownership of the /usr/local/nagiosxi/tmp directory back to user 'apache' and the config wizard found the ports.
-Jericho

Re: Config wizard doesn't detect switch ports

Posted: Thu Jun 22, 2017 12:57 pm
by tgriep
OK, it wasn't the file permissions but the folder's permissions that caused it to fail. Glad it is working now.