Check Updates fails

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
qcmonitor
Posts: 18
Joined: Wed Feb 03, 2010 12:14 pm

Check Updates fails

Post by qcmonitor »

Hi,

I would like to use the check updates functionality in Nagios XI.
We are connected to the Internet through a proxy server which requires domain authentication.

I did not find where to enter any proxy settings in the Nagios XI GUI.
I'm using XI because it is more easy to deploy Nagios without Linux knowledge.

Can someone helps me to configure XI in order to use the update behind a proxy?

Thanks

Chris
mmestnik
Posts: 972
Joined: Mon Feb 15, 2010 2:23 pm

Re: Check Updates fails

Post by mmestnik »

I may.
Is there no possibility to allow the address of the NagiosXI server?

You may be able to set the http_proxy environment variable.
/etc/httpd/conf.d/nagios.conf
after line 23, just b4 "</Directory>"
Add something like:

Code: Select all

  SetEnv http_proxy http://<user>:<pass>@<server>:<port>/
qcmonitor
Posts: 18
Joined: Wed Feb 03, 2010 12:14 pm

Re: Check Updates fails

Post by qcmonitor »

Hi

For the moment I do not have access to the proxy management console.

I tried to add the line in the nagios.conf, but still check failed.

I need to specify a domain user DOMAIN\USER:PASSWORD
I tried with single or double \ ( SetEnv http_proxy http://<domain\user>:<pass>@<server>:<port>/ and SetEnv http_proxy http://<domain\\user>:<pass>@<server>:<port>/

Do I also need modify a setting in CentOS, as the yum command is not working also (maybe for the same reason: the proxy).

Thanks

Chris
mmestnik
Posts: 972
Joined: Mon Feb 15, 2010 2:23 pm

Re: Check Updates fails

Post by mmestnik »

Correct, on the command line you can set this via:

Code: Select all

export http_proxy='http://<domain\user>:<pass>@<server>:<port>/'
You can set this as part of your profile, usually in /etc/profile.

Each application can also have proxy settings in it's config file.
Locked