You're not taking a very helpful approach to debugging. If you had shown 
the full error message, as I suggested, then your issue could probably have 
been fixed.

You didn't say what guide you're following. The official documentation is 
IMO clear and detailed:
https://prometheus.io/docs/alerting/latest/overview/
https://github.com/prometheus/alertmanager

As for installation, it's just a binary that you download and run, but the 
above documents don't tell you how to configure systemd to run it 
(ultimately it's assumed that you know how to administer a Linux system).

You can find some step-by-step instructions here, which may or may not help:
https://nsrc.org/workshops/2022/rwnog/nmm/netmgmt/en/prometheus/ex-alertmanager.html

On Friday 30 August 2024 at 10:19:04 UTC+1 chinelo Ufondu wrote:

> I just had to uninstall alert manager, its stressing me out
> Please i need a good guide on installing alertmanager, i want to start 
> afresh
> The guide i have seen so far is just complicating
>
> On Wednesday 28 August 2024 at 19:30:23 UTC+1 Brian Candler wrote:
>
>> The important error message has been truncated ("Unable to create..."). 
>> You can use left/right arrows to scroll sideways, but it would be better to 
>> use these commands:
>>
>> systemctl status alertmanager -l --no-pager
>> journalctl -u alertmanager -n100 --no-pager
>>
>> On Wednesday 28 August 2024 at 18:28:15 UTC+1 chinelo Ufondu wrote:
>>
>>> × alertmanager.service - AlertManager
>>>      Loaded: loaded (/lib/systemd/system/alertmanager.service; enabled; 
>>> vendor preset: enabled)
>>>      Active: failed (Result: exit-code) since Wed 2024-08-28 15:43:10 
>>> UTC; 2s ago
>>>     Process: 1691244 ExecStart=/usr/bin/alertmanager --config.file 
>>> /etc/alertmanager/alertmanager.yml (code=exited, status=1/FAIL>
>>>    Main PID: 1691244 (code=exited, status=1/FAILURE)
>>>         CPU: 29ms
>>>
>>> Aug 28 15:43:10 localhost systemd[1]: Started AlertManager.
>>> Aug 28 15:43:10 localhost alertmanager[1691244]: 
>>> ts=2024-08-28T15:43:10.392Z caller=main.go:181 level=info msg="Starting 
>>> Alertman>
>>> Aug 28 15:43:10 localhost alertmanager[1691244]: 
>>> ts=2024-08-28T15:43:10.392Z caller=main.go:182 level=info 
>>> build_context="(go=go1>
>>> Aug 28 15:43:10 localhost alertmanager[1691244]: 
>>> ts=2024-08-28T15:43:10.392Z caller=main.go:193 level=error msg="Unable to 
>>> create>
>>> Aug 28 15:43:10 localhost systemd[1]: alertmanager.service: Main process 
>>> exited, code=exited, status=1/FAILURE
>>> Aug 28 15:43:10 localhost systemd[1]: alertmanager.service: Failed with 
>>> result 'exit-code'.
>>> ~
>>> ~
>>>
>>

-- 
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/ca6da2eb-7ca9-4c35-8c22-81865d1d039bn%40googlegroups.com.

Reply via email to