Page 1 of 1

auto discovery wizards wipe out 'view' of all wizards

Posted: Fri Jul 15, 2011 11:40 am
by irishcheer
I'm encountering issues with the 'auto-discovery' wizards. I've had to restore from backup several times now, as with each attempt to upload/install either of the 'auto-discovery' wizards, it wipes out the ability to view any wizards at all. Since I can't view any wizards, I can't use any wizards at all to configure anything.

I'm on a 'trial' version of Nagios XI 2011 R5

Is there a known fix for this, or?

Re: auto discovery wizards wipe out 'view' of all wizards

Posted: Tue Jul 19, 2011 2:42 pm
by mguthrie
This generally happens when either

a) The component is installed in place of the wizard
b) Either component or wizard gets renamed

Fix for solution:

Login to your Nagios XI box and type:

rm
/usr/local/nagiosxi/html/includes/configwizards/autodiscovery/autodiscovery.inc.php
-f

This will remove the offending PHP file.

To install the autodiscovery wizard and component its best practice to:

1) Clear all files from your download directory with the name autodiscovery
2) Download the Wizard, making sure its filename is autodiscovery.zip .
If its name is anything else (included autodiscovery(1).zip ) it will
not work.
3) After install, delete the downloaded wizard from your Download
directory.
4) Download the component and follow the same precautions.

Autodiscovery should now be available.

Re: auto discovery wizards wipe out 'view' of all wizards

Posted: Wed Jul 20, 2011 3:04 pm
by irishcheer
Those steps worked great for the 'autodiscovery' zip file and it loaded with no issue. I then removed the 'autodiscovery.zip' file from the download directory, and renamed the autodiscovery component zip file to 'autodiscovery.zip' and put it in the download directory. I tried uploading this zip in Nagios XI, and it wiped out the view of all wizards again.
Am I missing something here? Is there a specific name the 'autodiscovery component' zip file needs to be named?

Any clarification would be appreciated. Thanks!

Re: auto discovery wizards wipe out 'view' of all wizards

Posted: Wed Jul 20, 2011 3:46 pm
by irishcheer
Ignore the last reply. I have it working. Being new to Nagios XI and testing it out, I missed the difference between the wizard and the component parts as being separate 'uploads'.
My bad.

Thanks for the help!

Re: auto discovery wizards wipe out 'view' of all wizards

Posted: Thu Jul 21, 2011 10:02 am
by lmiltchev
I am happy you got it working.
In regards to:
Is there a specific name the 'autodiscovery component' zip file needs to be named?
the name of the component file is: "autodiscovery.zip" (same as the wizard file).
Renaming it will create installation problems. We will be changing these names sometime in the future, because it is kind of confusing right now.