Using proxy in Nagios xi

This support forum board is for support questions relating to Nagios xi, our flagship commercial network monitoring solution.
Bogdan_B
Posts: 34
Joined: Fri Aug 03, 2012 1:56 am

Using proxy in Nagios xi

Post by Bogdan_B »

Hi,

My Nagios xi is trying to contact directly to Internet for 50.116.21.73:80 (Nagios xi website ) and I would like to use proxy for this. I put my proxy in CentOS system and I modified /etc/yum.conf and /etc/wgetrc with my proxy but no success.

Kind regards,
Bogdan
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: Using proxy in Nagios xi

Post by mguthrie »

The following is a component that allows the update check to work for *most* proxy systems.

http://assets.nagios.com/downloads/nagi ... /proxy.zip

You'll need to set your http_proxy environment variable, since the request uses curl underneath the hood to check for updates. Here's a decent tutorial on setting that up. Note that we don't support proxy setup itself, you'll ultimately be responsible to get that aspect working correctly.
http://www.cyberciti.biz/faq/linux-unix ... -variable/
Bogdan_B
Posts: 34
Joined: Fri Aug 03, 2012 1:56 am

Re: Using proxy in Nagios xi

Post by Bogdan_B »

Hi,

Thank you for the answer. So, the traffic which was identified between my Nagios and 50.116.21.73:80 (Nagios xi website ) is only to check for new updates right? If so, can I stop somehow ? I would like to do this manually.

Cheers,
Bogdan
User avatar
lmiltchev
Former Nagios Staff
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Using proxy in Nagios xi

Post by lmiltchev »

Go to Admin->Manage System Config, and clear the "Automatically Check for Updates" check-mark box.

Hope this helps.
Be sure to check out our Knowledgebase for helpful articles and solutions!