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 : systemd[1]: Started Alertmanager. alertmanager[10888]: level=info ts=2020-10-01T08:01:39.035Z caller=main.go:197 msg="Starting Alertmanager" version="(version=0.18.0, branch=HEAD, revision=1ace0f76b7101cc alertmanager[10888]: level=info ts=2020-10-01T08:01:39.035Z caller=main.go:198 build_context="(go=go1.12.6, user=root@868685ed3ed0, date=20190708-14:31:49)" alertmanager[10888]: level=info ts=2020-10-01T08:01:39.041Z caller=cluster.go:623 component=cluster msg="Waiting for gossip to settle..." interval=2s alertmanager[10888]: level=info ts=2020-10-01T08:01:39.070Z caller=coordinator.go:119 component=configuration msg="Loading configuration file" file=/etc/alertmanager/aler alertmanager[10888]: level=info ts=2020-10-01T08:01:39.070Z caller=coordinator.go:131 component=configuration msg="Completed loading of configuration file" file=/etc/aler alertmanager[10888]: level=info ts=2020-10-01T08:01:39.074Z caller=main.go:429 msg=Listening address=:9093 alertmanager[10888]: level=info ts=2020-10-01T08:01:41.041Z caller=cluster.go:648 component=cluster msg="gossip not settled" polls=0 before=0 now=1 elapsed=2.000123808s alertmanager[10888]: level=info ts=2020-10-01T08:01:49.042Z caller=cluster.go:640 component=cluster msg="gossip settled; proceeding" elapsed=10.001040498s systemd[1]: Stopping Alertmanager... alertmanager[10888]: level=info ts=2020-10-01T10:29:39.684Z caller=main.go:468 msg="Received SIGTERM, exiting gracefully..." Stopped Alertmanager. systemd[1]: Started Alertmanager. alertmanager[7983]: level=info ts=2020-10-01T10:29:39.750Z caller=main.go:197 msg="Starting Alertmanager" version="(version=0.18.0, branch=HEAD, revision=1ace0f76b7101ccc alertmanager[7983]: level=info ts=2020-10-01T10:29:39.750Z caller=main.go:198 build_context="(go=go1.12.6, user=root@868685ed3ed0, date=20190708-14:31:49)" alertmanager[7983]: level=info ts=2020-10-01T10:29:39.752Z caller=cluster.go:623 component=cluster msg="Waiting for gossip to settle..." interval=2s alertmanager[7983]: level=info ts=2020-10-01T10:29:39.779Z caller=coordinator.go:119 component=configuration msg="Loading configuration file" file=/etc/alertmanager/alert alertmanager[7983]: level=info ts=2020-10-01T10:29:39.779Z caller=coordinator.go:131 component=configuration msg="Completed loading of configuration file" file=/etc/alert alertmanager[7983]: level=info ts=2020-10-01T10:29:39.782Z caller=main.go:429 msg=Listening address=:9093 alertmanager[7983]: level=info ts=2020-10-01T10:29:41.752Z caller=cluster.go:648 component=cluster msg="gossip not settled" polls=0 before=0 now=1 elapsed=2.000137598s alertmanager[7983]: level=info ts=2020-10-01T10:29:49.763Z caller=cluster.go:640 component=cluster msg="gossip settled; proceeding" elapsed=10.01103275s
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/7e96dfed-b922-452a-8d91-1aca7a34b8f3o%40googlegroups.com.

