Hello, 

I am having issues installing and starting alert manager and I am new on 
it, Can anyone guide me steps by steps with alertmanager.yml configuration 
too send email alert for server down and instance down. 


./alertmanager --config.file=alertmanager.yml
level=info ts=2022-02-09T21:11:51.369Z caller=main.go:221 msg="Starting 
Alertmanager" version="(version=0.22.2, branch=HEAD, 
revision=44f8adc06af5101ad64bd8b9c8b18273f2922051)"
level=info ts=2022-02-09T21:11:51.369Z caller=main.go:222 
build_context="(go=go1.16.4, user=root@b595c7f32520, 
date=20210602-07:50:37)"
level=warn ts=2022-02-09T21:11:51.373Z caller=cluster.go:177 
component=cluster err="couldn't deduce an advertise address: no private IP 
found, explicit advertise addr not provided"
level=error ts=2022-02-09T21:11:51.377Z caller=main.go:246 msg="unable to 
initialize gossip mesh" err="create memberlist: Failed to get final 
advertise address: No private IP address found, and explicit IP not 
provided"


sudo systemctl status alertmanager.service
● alertmanager.service - Prometheus Alertmanager
   Loaded: loaded (/etc/systemd/system/alertmanager.service; enabled; 
vendor preset: disabled)
   Active: failed (Result: exit-code) since Wed 2022-02-09 15:12:58 CST; 
14s ago
  Process: 1840 ExecStart=/usr/local/bin/alertmanager --config.file 
/etc/alertmanager/alertmanager.yml --storage.path /var/lib/alertmanager/ 
--web.external-url http://localhost:9093 (code=exited, status=1/FAILURE)
 Main PID: 1840 (code=exited, status=1/FAILURE)

Feb 09 15:12:58 vmi553216.contaboserver.net systemd[1]: Started Prometheus 
Alertmanager.
Feb 09 15:12:58 vmi553216.contaboserver.net alertmanager[1840]: level=info 
ts=2022-02-09T21:12:58.405Z caller=main.go:221 msg="Starting ...051)"
Feb 09 15:12:58 vmi553216.contaboserver.net alertmanager[1840]: level=info 
ts=2022-02-09T21:12:58.405Z caller=main.go:222 build_context=...:37)"
Feb 09 15:12:58 vmi553216.contaboserver.net alertmanager[1840]: level=warn 
ts=2022-02-09T21:12:58.406Z caller=cluster.go:177 component=c...ided"
Feb 09 15:12:58 vmi553216.contaboserver.net systemd[1]: 
alertmanager.service: main process exited, code=exited, status=1/FAILURE
Feb 09 15:12:58 vmi553216.contaboserver.net systemd[1]: Unit 
alertmanager.service entered failed state.
Feb 09 15:12:58 vmi553216.contaboserver.net systemd[1]: 
alertmanager.service failed.
Hint: Some lines were ellipsized, use -l to show in full.

 uname -r 
3.10.0-1160.el7.x86_64

i am using centOS 7 

Regards
Faraz 

-- 
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/75b8c864-e17f-44db-bf2d-d035991f036cn%40googlegroups.com.

Reply via email to