Page 1 of 2

Updating via proxy

Posted: Mon Jun 03, 2013 5:31 am
by Narie
I'm having a problem with updating NagiosXI. I have downloaded the VMware Virtual Machine 2012R1.8 a little while ago, and am trying to update the software and plugins via our Squid proxy. No matter what I try, including updating the system proxy settings (Admin/Proxy Configuration), I see the follow message:

Update Check Problem: Last update check failed.
Latest Available Version: Installed Version: 2012R1.8 Last Update Check: 2013-05-30 07:02:53

Are there any other settings I need to adjust in order to update via a proxy server?

Re: Updating via proxy

Posted: Mon Jun 03, 2013 11:14 am
by abrist
Have you followed all the steps in the FAQ?
http://support.nagios.com/wiki/index.ph ... th_Proxies
Including the proxy component?
http://assets.nagios.com/downloads/nagi ... /proxy.zip

Re: Updating via proxy

Posted: Tue Jun 04, 2013 3:04 am
by Narie
abrist wrote:Have you followed all the steps in the FAQ?
http://support.nagios.com/wiki/index.ph ... th_Proxies
Including the proxy component?
http://assets.nagios.com/downloads/nagi ... /proxy.zip
Thanks for your reply.
- I have followed the steps in the FAQ
- I did include the proxy component.

Updating with yum is no problem and downloading with wget works as well, without a problem.

What logs can I check to see any errors when updating?

Re: Updating via proxy

Posted: Tue Jun 04, 2013 9:37 am
by slansing
During the update everything that is being done will be verbose output on the command line, any critical errors you run into should stop the update and show you the error as one of the last lines, in addition you should have a install.log in:

Code: Select all

/tmp/nagiosxi/install.log

Re: Updating via proxy

Posted: Thu Jun 06, 2013 2:54 am
by Narie
slansing wrote:During the update everything that is being done will be verbose output on the command line, any critical errors you run into should stop the update and show you the error as one of the last lines, in addition you should have a install.log in:

Code: Select all

/tmp/nagiosxi/install.log
Unfortunately there is no such file: /tmp/nagiosxi/install.log

Are there any other ways to troubleshoot this issue? I really need to get this, updating Nagios XI is not really a problem, updating the plugins individually, seems quite time consuming.

Another thing, uploading of the proxy plugin is this done by the zip file, or by the php files, so after the zip file is extracted?

Re: Updating via proxy

Posted: Thu Jun 06, 2013 9:37 am
by slansing
The zip is extracted and the files are sent to their correct locations. This is all done at once. What do you mean updating the plugins is time consuming? It is highly recommended you only use the nagios plugins package that installed with your version since updating one without the other could cause breakages. Of course, custom downloaded plugins is another matter.

Re: Updating via proxy

Posted: Thu Jun 06, 2013 10:22 am
by Narie
slansing wrote:The zip is extracted and the files are sent to their correct locations. This is all done at once. What do you mean updating the plugins is time consuming? It is highly recommended you only use the nagios plugins package that installed with your version since updating one without the other could cause breakages. Of course, custom downloaded plugins is another matter.
So, should I create a support case to solve this proxy issue?

Re: Updating via proxy

Posted: Thu Jun 06, 2013 11:01 am
by abrist
Narie wrote: So, should I create a support case to solve this proxy issue?
Possibly. Could you post a screenshot, or at least the text of the Admin --> "proxy configuration" page in XI?

Re: Updating via proxy

Posted: Thu Jun 06, 2013 11:17 am
by Narie
abrist wrote:
Narie wrote: So, should I create a support case to solve this proxy issue?
Possibly. Could you post a screenshot, or at least the text of the Admin --> "proxy configuration" page in XI?
Here's the screenshot. I've wiped out the actual proxy address, but it's a FQD.

Re: Updating via proxy

Posted: Thu Jun 06, 2013 11:37 am
by abrist
Open a support ticket. We may move to a remote session rather quickly.