auto discovery wizards wipe out 'view' of all wizards

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
irishcheer
Posts: 6
Joined: Fri Jul 15, 2011 11:17 am

auto discovery wizards wipe out 'view' of all wizards

Post 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?
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

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

Post 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.
irishcheer
Posts: 6
Joined: Fri Jul 15, 2011 11:17 am

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

Post 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!
irishcheer
Posts: 6
Joined: Fri Jul 15, 2011 11:17 am

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

Post 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!
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

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

Post 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.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked