Hi Brian,
There were bunch of alerts fired on AlertManager but I didn’t see any of them 
were sent to MSTeams pod for processing. Any advice? I don’t see any log update 
for prometheus-msteams-678cf9ddc8-b79xq while the alerts were fired on 
Prometheus. Could you please advice where was wrong?
zz@ZhangsodMacBook Prometheus-MSTeams % kubectl get po
NAME                                                     READY   STATUS    
RESTARTS   AGE
alertmanager-prometheus-prometheus-oper-alertmanager-0   2/2     Running   0    
      44h
prometheus-grafana-9c786ff96-6wf6w                       2/2     Running   0    
      44h
prometheus-kube-state-metrics-58d48d86bc-tq8tk           1/1     Running   0    
      44h
prometheus-msteams-678cf9ddc8-b79xq                      1/1     Running   0    
      33h
prometheus-prometheus-node-exporter-bp6xb                1/1     Running   0    
      44h
prometheus-prometheus-oper-operator-8bd46d8cd-kxr8k      2/2     Running   0    
      44h
prometheus-prometheus-prometheus-oper-prometheus-0       3/3     Running   1    
      44h



This is the Alertmanager.yaml:
global:
  resolve_timeout: 5m
receivers:
- name: prometheus-msteams
  webhook_configs:
  - url: "http://localhost:2000/testChannel";
    send_resolved: true
route:
  receiver: prometheus-msteams 
  group_by: ['alertname’]


This is the values.yaml for deploying MSTeams by helm chart.
replicaCount: 1
image:
  repository: quay.io/prometheusmsteams/prometheus-msteams
  tag: v1.3.5

connectors:
# in alertmanager, this will be used as 
http://prometheus-msteams:2000/testChannel
- testChannel: https://outlook.office.com/webhook/xxxxxxx















> On Jun 3, 2020, at 10:05 AM, Brian Candler <[email protected]> wrote:
> 
> There's nothing you can change with that webhook configuration.
> 
> I don't understand how you ever got some JSON containing
> 
>    "groupLabels":"",
>    "commonLabels":"",
>    "commonAnnotations":"",
> 
> Are you saying this was something posted from Alertmanager to your app 
> listening on port 2000? Or from that app to MS Teams?  How did you capture it?
> 
> What versions of prometheus and alertmanager do you have installed?
> 
> -- 
> 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] 
> <mailto:[email protected]>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/prometheus-users/96dbbe86-7e28-44c0-8ad3-760b5b23c255%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/prometheus-users/96dbbe86-7e28-44c0-8ad3-760b5b23c255%40googlegroups.com?utm_medium=email&utm_source=footer>.

-- 
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/3A40AFAD-AD53-4D36-BA4F-D0FD30FDE90F%40gmail.com.

Reply via email to