Page 1 of 1

Remove Nagiosxi and Reinstall Nagios Core

Posted: Wed Feb 22, 2012 9:31 am
by DosDawg
greetings one and all. i have been looking at nagios for some time now, and took the dive last night to give it a try. was quite pleased with how everyrhing was going until, i realized i had installed the wrong release. now i am trying to find out how to uninstall nagiosxi which is way awesome, but out of my monetary reach at the moment.

to top it iff, i was dorking around with the user settings on the admin panel, and of course i dont even know which email i set the admin up on.

so need to know two things:

1. how to uninstall nagiosxi (i suppose i could just reinstall the OS?)

2. when mysql is installed on this, what is the root password to mysql, because i dont recall setting that through the installation process.

Thanks,
JMM

Re: Remove Nagiosxi and Reinstall Nagios Core

Posted: Wed Feb 22, 2012 3:43 pm
by agriffin
There is currently no way to easily uninstall Nagios XI. Removing /usr/local/nagios and /usr/local/nagiosxi will get you most of the way there, but your system will still not be in the same state as before XI was installed (the databases will be left behind, and a whole bunch of config files are modified by the install scripts). It's probably easier to wipe your hard drive and start fresh. Future releases will probably include an uninstall script, but I know that doesn't really help you right now.

Re: Remove Nagiosxi and Reinstall Nagios Core

Posted: Thu Feb 23, 2012 11:36 am
by mguthrie
1. how to uninstall nagiosxi (i suppose i could just reinstall the OS?)
Reinstall is the easy way, but if you need to keep the system intact, the big things are:
-remove /usr/local/nagiosxi
- uninstall postgresql
- decide if you want to keep ndoutils + mysql as a backend for Core, otherwise you'll have to remove mysql and ndoutils as well

2. when mysql is installed on this, what is the root password to mysql, because i dont recall setting that through the installation process.
root pw = nagiosxi

We also just added some script for an uninstaller, so this will be an option in future releases.