Check Update failed using proxy

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: Check Update failed using proxy

Post by mguthrie »

Ok, we'll try this again. Here's an updated patch, with the patch instructions the same as before.

I modified the proxy configuration to be an installable component. So download the proxy.zip and install it through the Admin->Manage Components menu. After it's installed reload the admin menu and you should see an Admin->Proxy Configuration page where you can specify the proxy address, port, and authorization info. Let me know if you have any questions.
You do not have the required permissions to view the files attached to this post.
pouda
Posts: 105
Joined: Wed Sep 14, 2011 9:47 am

Re: Check Update failed using proxy

Post by pouda »

may i have to apply once again the new patch.zip and undo previous one ? or this component is in addition of the previous patch ? maybe both are same ... :D
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: Check Update failed using proxy

Post by mguthrie »

The patch will correctly overwrite previous changes. I moved a few things around, so you should just be able to run the patch.sh script as before.
pouda
Posts: 105
Joined: Wed Sep 14, 2011 9:47 am

Re: Check Update failed using proxy

Post by pouda »

Ok so new problem ... :)

first : i saw that your patch is only for 1.8c version and i've only 2011R1.7 see below my SS
errorproxy2.jpg
second :
i can't save proxy settings -> SQL error and i don't know how must i format proxy adress and user password ? could you give me an example ? the : are needed at the end of username and password ?
errorproxy3.jpg
You do not have the required permissions to view the files attached to this post.
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: Check Update failed using proxy

Post by mguthrie »

You have the necessary 1.8 patches on your system for the component to work, so that should be taken care of. I put that note in there so I wouldn't forget to do it later for the production release ; )
i can't save proxy settings -> SQL error and i don't know how must i format proxy adress and user password ? could you give me an example ? the : are needed at the end of username and password ?
This is actually a separate, unrelated issue. If you run:

Code: Select all

cd /usr/local/nagiosxi/tools
./fix_postgres_sequences.sh
That should take care of that issue. If you leave the Proxy Configuration page and come back and the settings reloaded into the form, then they have saved correctly. After entering your proxy settings, access the Admin->Check For Updates page, and run the update check and see if it works.
pouda
Posts: 105
Joined: Wed Sep 14, 2011 9:47 am

Re: Check Update failed using proxy

Post by pouda »

ourrf ok if i understand well .. i apply the patch.sh after i install the component ...i try to save Proxy credentials settings ... i run fix-postgres script and normally it should be working ? ... i will try monday ...

thx
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: Check Update failed using proxy

Post by mguthrie »

So just to clarify for the proxy testing:

Download the new zip to the /tmp directory:

cd /tmp
unzip patch.zip
chmod +x patch.sh
./patch.sh

Then access the Admin->Proxy Settings page, and enter your information and click "Update"

Then access the Admin->Check For Updates page, and click the button to "Check Now", and see if it works on your system.
pouda
Posts: 105
Joined: Wed Sep 14, 2011 9:47 am

Re: Check Update failed using proxy

Post by pouda »

yeeeaahhh settings are now working very well ... this fix can be added to the new version now ..
updatesucess.jpg

thank you very much for your help .. your a nice guy ..bye
You do not have the required permissions to view the files attached to this post.
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: Check Update failed using proxy

Post by mguthrie »

Good deal, thanks for the update!
kevev
Posts: 8
Joined: Wed Jan 11, 2012 1:00 pm

Re: Check Update failed using proxy

Post by kevev »

Howdy. This does not work in 2011R1.9


Errors in /usr/local/nagiosxi/var/cmdsubsys.log :

PHP Warning: simplexml_load_string(): ^ in /usr/local/nagiosxi/html/includes/utils-updatecheck.inc.php on line 79
PHP Warning: simplexml_load_string(): Entity: line 54: parser error : Premature end of data in tag body line 9 in /usr/local/nagiosxi/html/includes/utils-updatecheck.inc.php on line 79
PHP Warning: simplexml_load_string(): in /usr/local/nagiosxi/html/includes/utils-updatecheck.inc.php on line 79
PHP Warning: simplexml_load_string(): ^ in /usr/local/nagiosxi/html/includes/utils-updatecheck.inc.php on line 79
PHP Warning: simplexml_load_string(): Entity: line 54: parser error : Premature end of data in tag head line 3 in /usr/local/nagiosxi/html/includes/utils-updatecheck.inc.php on line 79
PHP Warning: simplexml_load_string(): in /usr/local/nagiosxi/html/includes/utils-updatecheck.inc.php on line 79
PHP Warning: simplexml_load_string(): ^ in /usr/local/nagiosxi/html/includes/utils-updatecheck.inc.php on line 79
PHP Warning: simplexml_load_string(): Entity: line 54: parser error : Premature end of data in tag html line 1 in /usr/local/nagiosxi/html/includes/utils-updatecheck.inc.php on line 79
PHP Warning: simplexml_load_string(): in /usr/local/nagiosxi/html/includes/utils-updatecheck.inc.php on line 79
PHP Warning: simplexml_load_string(): ^ in /usr/local/nagiosxi/html/includes/utils-updatecheck.inc.php on line 79
Locked