Page 1 of 4
Check Update failed using proxy
Posted: Tue Oct 11, 2011 3:01 am
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

Re: Check Update failed using proxy
Posted: Tue Oct 11, 2011 12:04 pm
by lmiltchev
We may have a bug in R1.7. We will try to find a solution/workaround and apply it in R1.8.
Re: Check Update failed using proxy
Posted: Wed Oct 12, 2011 1:31 am
by pouda
Hello,
ok nice ... when could we expect have this new version ?
Re: Check Update failed using proxy
Posted: Wed Oct 12, 2011 10:15 am
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.
Re: Check Update failed using proxy
Posted: Wed Oct 12, 2011 11:36 am
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?
Re: Check Update failed using proxy
Posted: Wed Oct 12, 2011 11:57 am
by pouda
yes for sure, i've a testing environnement ... i should appreciate testing it for you ..

Re: Check Update failed using proxy
Posted: Wed Oct 12, 2011 12:39 pm
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:
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
Re: Check Update failed using proxy
Posted: Thu Oct 13, 2011 11:29 am
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
Re: Check Update failed using proxy
Posted: Thu Oct 13, 2011 11:35 am
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?
Re: Check Update failed using proxy
Posted: Thu Oct 13, 2011 11:59 am
by pouda
maybe i should wait a bit that you write the new patch ... and i installed a Nagios XI 1.7 version .