Xymon Mailing List Archive search

Global setting for http proxy

7 messages in this thread

list Glauber Ribeiro · Tue, 4 Oct 2016 13:55:33 +0000 ·
Hello,

Sorry if this is a silly question. Is there a way to set proxy parameters (URL, user, password) for xymon globally, instead of having to do it on each http URL?

(Some way to set proxy parameters for all http tests, is what I'm looking for.)

Thanks,

glauber
list John Thurston · Tue, 04 Oct 2016 15:00:23 -0800 ·
quoted from Glauber Ribeiro
On 10/4/2016 5:55 AM, Ribeiro, Glauber wrote:
Sorry if this is a silly question. Is there a way to set proxy
parameters (URL, user, password) for xymon globally, instead of
having to do it on each http URL?
I spent some time a couple of years ago digging into http proxy support 
in xymonnet. I am not aware of any way to do what you want.

-- 
    Do things because you should, not just because you can.

John Thurston    XXX-XXX-XXXX
user-ce4d79d99bab@xymon.invalid
Enterprise Technology Services
Department of Administration
State of Alaska
list Japheth Cleaver · Wed, 5 Oct 2016 09:48:34 -0700 ·
quoted from John Thurston
On 10/4/2016 4:00 PM, John Thurston wrote:
On 10/4/2016 5:55 AM, Ribeiro, Glauber wrote:
Sorry if this is a silly question. Is there a way to set proxy
parameters (URL, user, password) for xymon globally, instead of
having to do it on each http URL?
I spent some time a couple of years ago digging into http proxy support in xymonnet. I am not aware of any way to do what you want.
I agree this would be a useful feature, defined at either the global or host/defaulthost level.

It's not something available as-is, but I think there may be a way to patch that in in the future.


Regards,

-jc
list Glauber Ribeiro · Thu, 6 Oct 2016 20:16:32 +0000 ·
Adding support for proxy configuration in environment variables in a future version, may be nice. Probably not a high priority.

g
quoted from Japheth Cleaver

-----Original Message-----
From: Xymon [mailto:xymon-bounces at xymon.com] On Behalf Of Japheth Cleaver
Sent: Wednesday, October 05, 2016 11:49
To: Xymon Mailing List <xymon at xymon.com>
Subject: Re: [Xymon] Global setting for http proxy

On 10/4/2016 4:00 PM, John Thurston wrote:
On 10/4/2016 5:55 AM, Ribeiro, Glauber wrote:
Sorry if this is a silly question. Is there a way to set proxy
parameters (URL, user, password) for xymon globally, instead of
having to do it on each http URL?
I spent some time a couple of years ago digging into http proxy support in xymonnet. I am not aware of any way to do what you want.
I agree this would be a useful feature, defined at either the global or host/defaulthost level.

It's not something available as-is, but I think there may be a way to patch that in in the future.


Regards,

-jc
list Galen Johnson · Fri, 7 Oct 2016 00:51:15 +0000 ·
This isn't the first time this has come up.  I recently wrestled with this.  Rather than have to manage several hundred entries to include the proxy info, I had to ask that my monitoring server be allowed an exemption.  It would be REALLY helpful if xymon would either pick up an environment variable (like use the system http_proxy setting) or allow users to set a default proxy to use.

=G=
quoted from Glauber Ribeiro

From: Xymon <xymon-bounces at xymon.com> on behalf of Ribeiro, Glauber <user-59d088777028@xymon.invalid>
Sent: Thursday, October 6, 2016 4:16 PM
To: Xymon Mailing List
Subject: Re: [Xymon] Global setting for http proxy

Adding support for proxy configuration in environment variables in a future version, may be nice. Probably not a high priority.

g

-----Original Message-----
From: Xymon [mailto:xymon-bounces at xymon.com] On Behalf Of Japheth Cleaver
Sent: Wednesday, October 05, 2016 11:49
To: Xymon Mailing List <xymon at xymon.com>
Subject: Re: [Xymon] Global setting for http proxy

On 10/4/2016 4:00 PM, John Thurston wrote:
On 10/4/2016 5:55 AM, Ribeiro, Glauber wrote:
Sorry if this is a silly question. Is there a way to set proxy
parameters (URL, user, password) for xymon globally, instead of
having to do it on each http URL?
I spent some time a couple of years ago digging into http proxy
support in xymonnet. I am not aware of any way to do what you want.
I agree this would be a useful feature, defined at either the global or
host/defaulthost level.

It's not something available as-is, but I think there may be a way to
patch that in in the future.


Regards,

-jc
list Glauber Ribeiro · Fri, 7 Oct 2016 12:56:02 +0000 ·
Yes, because among other things, we're living in a time when "getting an exception" is becoming exponentially harder. 
quoted from Galen Johnson

-----Original Message-----
From: Galen Johnson [mailto:user-87f955643e3d@xymon.invalid] 
Sent: Thursday, October 06, 2016 19:51
To: Ribeiro, Glauber <user-59d088777028@xymon.invalid>; Xymon Mailing List <xymon at xymon.com>
Subject: Re: [Xymon] Global setting for http proxy

This isn't the first time this has come up.  I recently wrestled with this.  Rather than have to manage several hundred entries to include the proxy info, I had to ask that my monitoring server be allowed an exemption.  It would be REALLY helpful if xymon would either pick up an environment variable (like use the system http_proxy setting) or allow users to set a default proxy to use.

=G=

From: Xymon <xymon-bounces at xymon.com> on behalf of Ribeiro, Glauber <user-59d088777028@xymon.invalid>
Sent: Thursday, October 6, 2016 4:16 PM
To: Xymon Mailing List
Subject: Re: [Xymon] Global setting for http proxy

Adding support for proxy configuration in environment variables in a future version, may be nice. Probably not a high priority.

g

-----Original Message-----
From: Xymon [mailto:xymon-bounces at xymon.com] On Behalf Of Japheth Cleaver
Sent: Wednesday, October 05, 2016 11:49
To: Xymon Mailing List <xymon at xymon.com>
Subject: Re: [Xymon] Global setting for http proxy

On 10/4/2016 4:00 PM, John Thurston wrote:
On 10/4/2016 5:55 AM, Ribeiro, Glauber wrote:
Sorry if this is a silly question. Is there a way to set proxy
parameters (URL, user, password) for xymon globally, instead of
having to do it on each http URL?
I spent some time a couple of years ago digging into http proxy
support in xymonnet. I am not aware of any way to do what you want.
I agree this would be a useful feature, defined at either the global or
host/defaulthost level.

It's not something available as-is, but I think there may be a way to
patch that in in the future.


Regards,

-jc
list Glauber Ribeiro · Fri, 7 Oct 2016 13:03:09 +0000 ·
And the supported syntax for adding proxy information to the URL is unfortunate, in that it is hard to read, hard to maintain, and exposes login secrets in multiple places.
quoted from Glauber Ribeiro

-----Original Message-----
From: Xymon [mailto:xymon-bounces at xymon.com] On Behalf Of Ribeiro, Glauber
Sent: Friday, October 07, 2016 07:56
To: Galen Johnson <user-87f955643e3d@xymon.invalid>; Xymon Mailing List <xymon at xymon.com>
Subject: Re: [Xymon] Global setting for http proxy

Yes, because among other things, we're living in a time when "getting an exception" is becoming exponentially harder. 

-----Original Message-----
From: Galen Johnson [mailto:user-87f955643e3d@xymon.invalid] 
Sent: Thursday, October 06, 2016 19:51
To: Ribeiro, Glauber <user-59d088777028@xymon.invalid>; Xymon Mailing List <xymon at xymon.com>
Subject: Re: [Xymon] Global setting for http proxy

This isn't the first time this has come up.  I recently wrestled with this.  Rather than have to manage several hundred entries to include the proxy info, I had to ask that my monitoring server be allowed an exemption.  It would be REALLY helpful if xymon would either pick up an environment variable (like use the system http_proxy setting) or allow users to set a default proxy to use.

=G=

From: Xymon <xymon-bounces at xymon.com> on behalf of Ribeiro, Glauber <user-59d088777028@xymon.invalid>
Sent: Thursday, October 6, 2016 4:16 PM
To: Xymon Mailing List
Subject: Re: [Xymon] Global setting for http proxy

Adding support for proxy configuration in environment variables in a future version, may be nice. Probably not a high priority.

g

-----Original Message-----
From: Xymon [mailto:xymon-bounces at xymon.com] On Behalf Of Japheth Cleaver
Sent: Wednesday, October 05, 2016 11:49
To: Xymon Mailing List <xymon at xymon.com>
Subject: Re: [Xymon] Global setting for http proxy

On 10/4/2016 4:00 PM, John Thurston wrote:
On 10/4/2016 5:55 AM, Ribeiro, Glauber wrote:
Sorry if this is a silly question. Is there a way to set proxy
parameters (URL, user, password) for xymon globally, instead of
having to do it on each http URL?
I spent some time a couple of years ago digging into http proxy
support in xymonnet. I am not aware of any way to do what you want.
I agree this would be a useful feature, defined at either the global or
host/defaulthost level.

It's not something available as-is, but I think there may be a way to
patch that in in the future.


Regards,

-jc