I solved the permission problem ! *now when i run :* [root@grafana ~]# alertmanager --log.level=debug level=info ts=2020-10-01T11:10:14.872Z caller=main.go:197 msg="Starting Alertmanager" version="(version=0.18.0, branch=HEAD, revision=1ace0f76b7101cccc149d7298022df36039858ca)" level=info ts=2020-10-01T11:10:14.872Z caller=main.go:198 build_context="(go=go1.12.6, user=root@868685ed3ed0, date=20190708-14:31:49)" level=debug ts=2020-10-01T11:10:14.872Z caller=cluster.go:149 component=cluster msg="resolved peers to following addresses" peers= level=warn ts=2020-10-01T11:10:14.873Z caller=cluster.go:154 component=cluster err="couldn't deduce an advertise address: no private IP found, explicit advertise addr not provided" level=debug ts=2020-10-01T11:10:14.873Z caller=cluster.go:306 component=cluster memberlist="2020/10/01 12:10:14 [DEBUG] memberlist: Got bind error: Failed to start TCP listener on \"0.0.0.0\" port 9094: listen tcp 0.0.0.0:9094: bind: address already in use\n" level=error ts=2020-10-01T11:10:14.873Z caller=main.go:222 msg="unable to initialize gossip mesh" err="create memberlist: Could not set up network transport: failed to obtain an address: Failed to start TCP listener on \"0.0.0.0\" port 9094: listen tcp 0.0.0.0:9094: bind: address already in use" and journalctl -eu alertmanager : doesn't shows any error but i still have the same alert duplicated problem
Le mercredi 30 septembre 2020 20:43:31 UTC+1, Brian Candler a écrit : > > You will need to sort out the permissions problem yourself. I don't have > visibility of your system for file ownership and permissions, SELinux > settings etc. If necessary, ask a local system administrator for help. > > I don't get those errors: > > Sep 30 14:46:15 prometheus alertmanager[409]: level=debug > ts=2020-09-30T14:46:15.718Z caller=nflog.go:336 component=nflog > msg="Running maintenance" > Sep 30 14:46:15 prometheus alertmanager[409]: level=debug > ts=2020-09-30T14:46:15.750Z caller=nflog.go:338 component=nflog > msg="Maintenance done" duration=31.326992ms size=413 > > As for getting additional logs when delivering alerts, I expect you need > to run alertmanager with flag "--log.level=debug". I am running with that > flag, and I get messages like > > Sep 30 14:22:00 prometheus alertmanager[409]: level=debug > ts=2020-09-30T14:22:00.559Z caller=dispatch.go:135 component=dispatcher > msg="Received alert" alert=PPPoE[6cf3489][active] > Sep 30 14:22:30 prometheus alertmanager[409]: level=debug > ts=2020-09-30T14:22:30.558Z caller=dispatch.go:135 component=dispatcher > msg="Received alert" alert=PPPoE[6cf3489][resolved] > -- 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/523f8666-dd53-4a85-81ff-f0da2330a2b7o%40googlegroups.com.

