Page 1 of 1
Proxy setting issue while applying configuration
Posted: Wed Feb 21, 2018 8:04 am
by jyoti22
Hi Team,
I use proxy server setting on nagios for internet. However when ever I do apply modification while proxy enabled, I get error applying configuration. And when I do disabled the proxy setting , configuration applies successfully.
Do anyone knows why it happens. Thanks.
Re: Proxy setting issue while applying configuration
Posted: Wed Feb 21, 2018 10:57 am
by bolson
Can you tell us the exact error you're receiving please? Thank you!
Re: Proxy setting issue while applying configuration
Posted: Thu Feb 22, 2018 3:37 am
by jyoti22
Please find attached screenshots and help to resolve the issue. We do not have direct internet access. have to use internet via proxy.
Re: Proxy setting issue while applying configuration
Posted: Thu Feb 22, 2018 10:41 am
by mcapra
This KB article might be useful:
https://support.nagios.com/kb/article.php?id=147
I think the
wgetrc configuration mentioned is relevant for the "Apply Configuration" functionality.
Re: Proxy setting issue while applying configuration
Posted: Thu Feb 22, 2018 12:19 pm
by bolson
Thank you mcapra, also, look in your /etc/hosts file and make sure the line that begins with 127.0.0.1 is immediately followed by "localhost" by itself. Like this:
Code: Select all
127.0.0.1 localhost localhost.localdomain.....