[prometheus-users] Re: Need help to append the json payload to my webhook

2022-06-28 Thread surendra matta
Sorry for asking multiple times, can I have an example of how to pass the payload in the webhook for the post request or any POST-WEBHOOK JSON example On Tuesday, June 28, 2022 at 5:52:03 AM UTC-4 Brian Candler wrote: > AFAIK, alertmanager webhook JSON is fixed. If you want to send something

[prometheus-users] Need help to append the json payload to my webhook

2022-06-27 Thread surendra matta
Hi All, I need help to append my JSON to the below webhook receivers: - name: "webhook_sample" webhook_configs: - url: '' send_resolved: true http_config: basic_auth: username: password: I want to append the below JSON to the above receiver {

[prometheus-users] Re: webhook is not working

2022-06-27 Thread surendra matta
it's working I tweaked the http_config - url: '' send_resolved: true http_config: basic_auth: username: password: On Monday, June 27, 2022 at 2:25:56 PM UTC-4 surendra matta wrote: > - name: "ms_teams" >

[prometheus-users] Re: webhook is not working

2022-06-27 Thread surendra matta
- name: "ms_teams" webhook_configs: - url: basic_auth: username: password: send_resolved: true can I pass user and pwd like this? Please correct me if I am wrong. On Saturday, June 25, 2022 at 12:00:10 PM UTC-4 Brian Candler wrote: > os.uname() d

[prometheus-users] Re: webhook is not working

2022-06-25 Thread surendra matta
i tried to install the prom2teams in windows 2016 , it's throwing below error Collecting uwsgi==2.0.20 Using cached uwsgi-2.0.20.tar.gz (804 kB) Preparing metadata (setup.py) ... error error: subprocess-exited-with-error × python setup.py egg_info did not run successfully. │ exit code:

[prometheus-users] webhook is not working

2022-06-23 Thread surendra matta
Hi Team, i am sending multiple alerts one is email alert and another is to msteam channel using webhook. My configuration in alertmanger .yml route: group_by: ['alertname'] group_wait: 30s group_interval: 5m repeat_interval: 1h receiver: 'ms_teams' routes: - receiver: "ms_tea

Re: [prometheus-users] Need help on monitoring N number of websites

2022-06-23 Thread surendra matta
Finally i am able to figure it out and it's working for me - Thanks On Thursday, June 23, 2022 at 4:20:57 PM UTC-4 surendra matta wrote: > if possible can you provide me with an example for the files_sd? > > I am trying the below steps > > in Blackbox, I confi

Re: [prometheus-users] Need help on monitoring N number of websites

2022-06-23 Thread surendra matta
e 23, 2022 at 11:49:45 AM UTC-4 sup...@gmail.com wrote: > Prometheus has a "file discovery" that can accept a list of targets as > JSON or YAML. > > https://prometheus.io/docs/guides/file-sd/ > > On Thu, Jun 23, 2022 at 5:47 PM surendra matta > wrote: > >>

[prometheus-users] Need help on monitoring N number of websites

2022-06-23 Thread surendra matta
Hi Everyone, I am new to Prometheus and we doing POC in our organization using Prometheus + Blackbox + AlertManager. Our scenarios : We need to monitor more than a 50 websites 24/7 in Prod and QA, sometime w will add the new websites too. As of now , i have all my website names in a text fil