Config wizard doesn't detect switch ports

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Config wizard doesn't detect switch ports

Post 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.
Former Nagios employee
jericho_g
Posts: 38
Joined: Thu Mar 07, 2013 5:10 pm

Re: Config wizard doesn't detect switch ports

Post by jericho_g »

No security updates have been done recently. The only update recently was when we upgraded to version 5.4.4.
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: Config wizard doesn't detect switch ports

Post 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.
Be sure to check out our Knowledgebase for helpful articles and solutions!
jericho_g
Posts: 38
Joined: Thu Mar 07, 2013 5:10 pm

Re: Config wizard doesn't detect switch ports

Post 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
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: Config wizard doesn't detect switch ports

Post by tgriep »

OK, it wasn't the file permissions but the folder's permissions that caused it to fail. Glad it is working now.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked