title: SMS Alert Message on Mobile Phone through Prometheus Alertmanager
body: <p>We have Setup Prometheus in our environment with Node_exporter. We use AlertManager to send an email message to our team. We are able to receive the email.</p>
  <p>We also try to configure the SMS in AlertManager so that we got an alert on our mobile phone if any services are down and resolved.</p>
  <p>Could someone suggest how to do the configuration in Alertmanager for SMS API? We have an our Internal SMS API, and we need to integrate with the AlertManager to get the alerts on our mobile phone number.</p>
  <p>AlertManager Configuration File</p>
  <pre><code>global:
    resolve_timeout: 1m
    slack_api_url: 'https://hooks.slack.com/services/T01xxxxxxGD/B018ZXXXXXXXXF/Pwxe0xxxxxxxxxxxhiq'
    pagerduty_url: 'https://events.pagerduty.com/v2/enqueue'
  route:
    receiver: 'smtp-local'
    routes:
      - match:
          severity: critical,warning
        receiver: 'slack-notifications'
        continue: true
      - match:
          severity: critical,warning
        receiver: 'web.hook'
        continue: true
      - match:
          severity: critical,warning
        receiver: 'pagerduty-notifications'
        continue: true
      - match:
          severity: critical,warning
        receiver: 'smtp-local'
        continue: true      
  receivers:
    - name: 'smtp-local'
      email_configs:
      - to: 'xxx@xxx.com'
        from: 'xxx@xxx.com'
        smarthost: localhost:25
        require_tls: false
        send_resolved: true
    - name: 'slack-notifications'
      slack_configs:
      - channel: '#monitoring'
        send_resolved: true
        icon_url: https://avatars3.githubusercontent.com/u/3380462
        title: |-
          [{{ .Status | toUpper }}{{ if eq .Status &quot;firing&quot; }}:{{ .Alerts.Firing | len }}{{ end }}] {{ .CommonLabels.alertname }} for {{ .CommonLabels.job }}
          {{- if gt (len .CommonLabels) (len .GroupLabels) -}}
            {{&quot; &quot;}}(
            {{- with .CommonLabels.Remove .GroupLabels.Names }}
              {{- range $index, $label := .SortedPairs -}}
                {{ if $index }}, {{ end }}
                {{- $label.Name }}=&quot;{{ $label.Value -}}&quot;
              {{- end }}
            {{- end -}}
            )
          {{- end }}
        text: &gt;-
          {{ range .Alerts -}}
          *Alert:* {{ .Annotations.title }}{{ if .Labels.severity }} - `{{ .Labels.severity }}`{{ end }}
        
          *Description:* {{ .Annotations.description }}
        
          *Details:*
            {{ range .Labels.SortedPairs }} • *{{ .Name }}:* `{{ .Value }}`
            {{ end }}
          {{ end }}
    - name: 'web.hook'
      webhook_configs:
      - url: 'http://xxxxxxx:xxxx/xxxx?msisdn=xxxx&amp;text=xxxxx.'
    - name: 'pagerduty-notifications'
      pagerduty_configs:
      - service_key: 3a560cxxxxxxxxxxxxxxxx7c198
        send_resolved: true
  </code></pre>