Julien,
 
It is very headache for me to set up proxy for each receiver.  
said I have 20 receivers, 19 need internet access, but only one should not 
have. so I have to set up 19 same proxy settings in the configuration file.


在 2020年4月29日星期三 UTC+8下午4:54:08,Julien Pivotto写道:
>
> Hi, 
>
> If you are in such a particular setup, you can't use global proxy, you 
> will need to set it on every receiver but the ones requiring direct 
> internet access. 
>
> Regards 
>
> On 29 Apr 01:43, 林浩 wrote: 
> > Hello, 
> > 
> > 
> > I have global proxy_url setting which was required to send multiple 
> pager & 
> > slack channel receivers (10 +) 
> > 
> >     global: 
> >       smtp_smarthost: 'xxx.xxx.com:25' 
> >       smtp_from: 'alertmanager@xxxorg' 
> >       http_config: 
> >         proxy_url: http://httpproxy.vip.xxx.com 
> > 
> > I also want to setup a generic web hook, this webhook need  to by pass 
> > (ignore)  global proxy_url setting, it means no proxy should be there 
> for 
> > webhook. 
> >  is there any way to override a global setting?   
> > 
> >     receivers: 
> >     - name: 'webhook' 
> >       webhook_configs: 
> >       - send_resolved: true 
> >         url: 'http://10.10.10.10:5000/alert_webhook' 
> > 
> > I have tried to add below setting to webhook receivers, but it seems to 
> > doesn't work. 
> > 
> >       http_config: 
> >         proxy_url: "" 
> > 
> > 
> > Thanks for the help~ 
> > 
> > -- 
> > You received this message because you are subscribed to the Google 
> Groups "Prometheus Users" group. 
> > To unsubscribe from this group and stop receiving emails from it, send 
> an email to [email protected] <javascript:>. 
> > To view this discussion on the web visit 
> https://groups.google.com/d/msgid/prometheus-users/afce54af-64f5-484a-9338-57a15f0eb690%40googlegroups.com.
>  
>
>
>
> -- 
>  (o-    Julien Pivotto 
>  //\    Open-Source Consultant 
>  V_/_   Inuits - https://www.inuits.eu 
>

-- 
You received this message because you are subscribed to the Google Groups 
"Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/f57ba91b-4205-412b-b4be-1fde821f8ce7%40googlegroups.com.

Reply via email to