Check Update failed using proxy

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
pouda
Posts: 105
Joined: Wed Sep 14, 2011 9:47 am

Check Update failed using proxy

Post by pouda »

Hi All,

i've a little problem with the possibility to check if a new update exist for my NagiosXi 1.7 server .. certainly because i'm using a proxy ..

I read lot of topics about the setting so ...i did :

added setting in yum.conf > yum is now working when i try to retreive package
added settings in wgetrc file > wget is now able to retreive data from internet
executed this command line : pear config-set http_proxy 'http://withmyproxyadress:8080'

restarted completely my server and i've already this error message below
updatefailed.jpg
FYI : when i installed NagiosXI server i'had not proxy.

Someone could help me ?

Bye and thank for your help :D
You do not have the required permissions to view the files attached to this post.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Check Update failed using proxy

Post by lmiltchev »

We may have a bug in R1.7. We will try to find a solution/workaround and apply it in R1.8.
Be sure to check out our Knowledgebase for helpful articles and solutions!
pouda
Posts: 105
Joined: Wed Sep 14, 2011 9:47 am

Re: Check Update failed using proxy

Post by pouda »

Hello,

ok nice ... when could we expect have this new version ?
agriffin
Posts: 876
Joined: Mon May 09, 2011 9:36 am

Re: Check Update failed using proxy

Post by agriffin »

We will be releasing a preview of 2011R1.8 at the end of the week or early next week and the final release will happen shortly after.
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: Check Update failed using proxy

Post by mguthrie »

I'm currently working on testing a fix for the update check on a proxy system. Would you be willing to test the updates in your environment?
pouda
Posts: 105
Joined: Wed Sep 14, 2011 9:47 am

Re: Check Update failed using proxy

Post by pouda »

yes for sure, i've a testing environnement ... i should appreciate testing it for you .. :)
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: Check Update failed using proxy

Post by mguthrie »

Here's a zip with the patched scripts. Just download the zip to your /tmp directory on the Nagios XI server and run the following:

Code: Select all

unzip patch.zip
chmod +x patch.sh
And then from there if you access the Admin->Manage System Config page you can specify an http proxy tunnel. Enter your proxy address and then access the Admin->Check For Updates page and let me know if it works ; )

If something goes terribly wrong, you can reverse the patch with:

Code: Select all

chmod +x /tmp/undo.sh
/tmp/undo.sh
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 »

ok so now i've the possibility to set proxy tunel but my first question is :

where have i to set credentials for proxy authentication ?

and my second question is i can't save server adresse .. see message below on the screenshot attached
errorproxy.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 »

where have i to set credentials for proxy authentication ?
Ah, yes, credentials. I will probably have another patch coming your way ; )
and my second question is i can't save server adresse .. see message below on the screenshot attached
You can fix the error message with:

Code: Select all

/usr/local/nagiosxi/tools/fix_postgres_sequences.sh
What version of XI is that test box?
pouda
Posts: 105
Joined: Wed Sep 14, 2011 9:47 am

Re: Check Update failed using proxy

Post by pouda »

maybe i should wait a bit that you write the new patch ... and i installed a Nagios XI 1.7 version .
Locked