Page 1 of 2

ESX image for v5.4.3

Posted: Thu May 04, 2017 11:02 am
by SavaSC
Is there an ESX image for version 5.4.3? I need to migrate from CentOS5 to CentOS6 and was going to use the pre-built image. However, I can only find the .OVA file for 5.4.3.

Thanks.

Re: ESX image for v5.4.3

Posted: Thu May 04, 2017 12:05 pm
by dwhitfield
.ova works in ESX/vSphere: https://pubs.vmware.com/horizon-workspa ... 57F47.html

In fact, that's what we use unless you have hyper-V: https://www.nagios.com/downloads/nagios ... downloads/

Did you have any other questions or are we ready to lock this thread?

Re: ESX image for v5.4.3

Posted: Thu May 04, 2017 12:13 pm
by SavaSC
Thank you for this information, but it doesn't answer my question.

I know how to deploy the .ova file. What I am needing is the .ova file for version 5.4.3. The .ova posted on Nagios.com is for version 5.4.4. Is there a place where I can download the .ova file for version 5.4.3?

Thanks.

Re: ESX image for v5.4.3

Posted: Thu May 04, 2017 12:20 pm
by dwhitfield
Well, now things make more sense!
SavaSC wrote: I can only find the .OVA file for 5.4.3.
Here's the link for 5.4.3: http://assets.nagios.com/downloads/nagi ... -5.4.3.ova

Re: ESX image for v5.4.3

Posted: Thu May 04, 2017 1:41 pm
by SavaSC
Awesome! Worked like a charm! Very easy to spin up and configure.

One more question before I let you off of the hook. Is it possible to update the version of CentOS on the appliance to CentOS 7 after I've installed it? Or is it stuck at CentOS 6?

Thanks again!

Re: ESX image for v5.4.3

Posted: Thu May 04, 2017 1:47 pm
by dwhitfield
Well, stated like that, you're stuck*, but the install is literally just download, unpacking a file, changing a directory and running ./fullinstall, so I would just say install CentOS 7 and run the script: https://assets.nagios.com/downloads/nag ... -Linux.pdf

*technically, this is possible, but CentOS does not recommend it, and thus we cannot recommend it, or really help you with that process. Mostly, you should probably forget I even said it was possible. :)

Re: ESX image for v5.4.3

Posted: Mon May 08, 2017 9:51 am
by SavaSC
Thanks so much!

I did install CentOS 7 Minimal on a VM and then installed NagiosXI v.5.4.3. It went great and easy. Then I restored my backup. Again, easy-peasy. (I used our basic instance of Nagios that doesn't monitor much so there weren't any Plug-ins that failed.)

I then tried to upgrade to v.5.4.4. It said the password for the DB was wrong. I so I went through this document (https://assets.nagios.com/downloads/nag ... ios-XI.pdf) and changed all of the files on the new NagiosXI server as it says. I then ran the update again. Lobotomized the box. Now Nagios won't even load.

I went back and looked at the original NagiosXI box that I am migrating from and all of the config files listed in the document are the default password except one (/root/scripts/automysqlbackup).

Now I'm at a loss. As I don't know what all these config files do, I'm not sure what all I need to change in order to get this to work.

Any suggestions?

Re: ESX image for v5.4.3

Posted: Mon May 08, 2017 11:51 am
by dwhitfield
There are three different databases. Which one specifically is giving you an issue?

What's the output of the following commands:

Code: Select all

df -i
df -h
Are you able to log in to mysql from the command line? If you are able to do so with the mysql root account, then you can change the passwords of the other accounts. If you are unable to log in as the mysql root user, then I'm afraid you will need to follow the MySQL instructions for resetting the root password: https://dev.mysql.com/doc/refman/5.7/en ... sions.html

Please PM/post your sudoers file, and your upgrade.log.

Also, can you PM me your Profile? You can download it by going to Admin > System Config > System Profile and click the Download Profile button towards the top. If for whatever reason you *cannot* download the profile, please put the output of View System Info (5.3.4+, Show Profile if older) in the thread (that will at least get us some info). This will give us access to many of the logs we would otherwise ask for individually. If security is a concern, you can unzip the profile take out what you like, and then zip it up again. We may end up needing something you remove, but we can ask for that specifically.

After you PM the profile, please update this thread. Updating this thread is the only way for it to show back up on our dashboard.

Re: ESX image for v5.4.3

Posted: Tue May 09, 2017 9:50 am
by SavaSC
Well, a strange thing happened on the way to the inter-galactic war council....

I had already deleted the VM in anticipation that I did something wrong with the install and would need to do it again. So, after receiving your last request I went back and started over again. This time the upgrade seemed to work properly. I guess I might have fat-fingered the password the first time???

The only issue I had with the upgrade is that it didn't give full output of the log to the screen. It was showing as stuck on cleaning up the tmp dir. After about an hour, I clicked back to Check For Updates and it said it was now at 5.4.4.

I am going to start working on my other NagiosXI instance (which is our important one). It does have compiled plug-ins. I'm not sure how to address those.

Thanks for your help.

Re: ESX image for v5.4.3

Posted: Tue May 09, 2017 9:57 am
by dwhitfield
If they are the standard plugins, those are addressed on the last page of https://assets.nagios.com/downloads/nag ... ios-XI.pdf

I suspect that some plugins would work without recompiling them, but generally speaking you will just need to recompile.

If you are moving from 32-bit to 64-bit, then you *definitely* need to recompile.