Status Uptime: 2020-07-29T08:07:44.259Z Cluster Status Name: 01EECSST58XVVR0QXH1QWHB1XK Status: ready Peers: - Name: 01EECSST3YVTXBDA28RCXP0G12 Address: 10.233.103.120:9094 - Name: 01EECSST58XVVR0QXH1QWHB1XK Address: 10.233.110.73:9094 - Name: 01EECSST96HD5NEYPY98GJRJFZ Address: 10.233.110.72:9094
On Wednesday, 29 July 2020 16:40:23 UTC+8, Stuart Clark wrote: > > On 2020-07-29 09:31, Nabarun Sen wrote: > > Command line parameter in alertmanager > > > > [root@ansible-node prometheus-operator-qa-lab-final]# kubectl exec -it > > alertmanager-prometheus-operator-alertmanager-0 alertmanager -n > > ns-prometheus-lab -- sh > > Defaulting container name to alertmanager. > > Use 'kubectl describe > > pod/alertmanager-prometheus-operator-alertmanager-0 -n > > ns-prometheus-lab' to see all of the containers in this pod. > > /alertmanager $ ps -eaf|grep alert > > 1 1000 1:31 /bin/alertmanager > > --config.file=/etc/alertmanager/config/alertmanager.yaml > > --cluster.listen-address=[10.233.110.73]:9094 > > --storage.path=/alertmanager --data.retention=120h > > --web.listen-address=:9093 > > --web.external-url= > http://prometheus-operator-alertmanager.ns-prometheus-lab:9093 > > --web.route-prefix=/ > > > --cluster.peer=alertmanager-prometheus-operator-alertmanager-0.alertmanager-operated.ns-prometheus-lab.svc:9094 > > > > > --cluster.peer=alertmanager-prometheus-operator-alertmanager-1.alertmanager-operated.ns-prometheus-lab.svc:9094 > > > > > --cluster.peer=alertmanager-prometheus-operator-alertmanager-2.alertmanager-operated.ns-prometheus-lab.svc:9094 > > > > /alertmanager $ exit > > [root@ansible-node prometheus-operator-qa-lab-final]# kubectl exec -it > > alertmanager-prometheus-operator-alertmanager-1 alertmanager -n > > ns-prometheus-lab -- sh > > Defaulting container name to alertmanager. > > Use 'kubectl describe > > pod/alertmanager-prometheus-operator-alertmanager-1 -n > > ns-prometheus-lab' to see all of the containers in this pod. > > /alertmanager $ ps -eaf|grep alert > > 1 1000 2:37 /bin/alertmanager > > --config.file=/etc/alertmanager/config/alertmanager.yaml > > --cluster.listen-address=[10.233.103.120]:9094 > > --storage.path=/alertmanager --data.retention=120h > > --web.listen-address=:9093 > > --web.external-url= > http://prometheus-operator-alertmanager.ns-prometheus-lab:9093 > > --web.route-prefix=/ > > > --cluster.peer=alertmanager-prometheus-operator-alertmanager-0.alertmanager-operated.ns-prometheus-lab.svc:9094 > > > > > --cluster.peer=alertmanager-prometheus-operator-alertmanager-1.alertmanager-operated.ns-prometheus-lab.svc:9094 > > > > > --cluster.peer=alertmanager-prometheus-operator-alertmanager-2.alertmanager-operated.ns-prometheus-lab.svc:9094 > > > > /alertmanager $ exit > > [root@ansible-node prometheus-operator-qa-lab-final]# kubectl exec -it > > alertmanager-prometheus-operator-alertmanager-2 alertmanager -n > > ns-prometheus-lab -- sh > > Defaulting container name to alertmanager. > > Use 'kubectl describe > > pod/alertmanager-prometheus-operator-alertmanager-2 -n > > ns-prometheus-lab' to see all of the containers in this pod. > > /alertmanager $ ps -eaf|grep alert > > 1 1000 1:45 /bin/alertmanager > > --config.file=/etc/alertmanager/config/alertmanager.yaml > > --cluster.listen-address=[10.233.110.72]:9094 > > --storage.path=/alertmanager --data.retention=120h > > --web.listen-address=:9093 > > --web.external-url= > http://prometheus-operator-alertmanager.ns-prometheus-lab:9093 > > --web.route-prefix=/ > > > --cluster.peer=alertmanager-prometheus-operator-alertmanager-0.alertmanager-operated.ns-prometheus-lab.svc:9094 > > > > > --cluster.peer=alertmanager-prometheus-operator-alertmanager-1.alertmanager-operated.ns-prometheus-lab.svc:9094 > > > > > --cluster.peer=alertmanager-prometheus-operator-alertmanager-2.alertmanager-operated.ns-prometheus-lab.svc:9094 > > > > /alertmanager $ > > > > It does seem to be picking up the peers which is good. What is shown in > the peers section under "Status" in the UI? > > -- > Stuart Clark > -- 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 prometheus-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/d6c732a9-59a7-42f4-980e-c4992f06b5e6o%40googlegroups.com.