$ ls -l /path/to/alertmanager/
drwxr-xr-x 2 nobody nobody 6 Jul 13 2018 data
-rw-r--r-- 1 nobody nobody 637 Mar 15 12:55 nflog
-rw-r--r-- 1 nobody nobody 27831 Mar 15 12:55 silencesThe log messages tell you that the AlertManager process can't write to
the directory.
The problem is that all silences and notification logs would be lost
if you restart AlertManager. If you're running a cluster of
AlertManager, it is less of an issue as after a restart, AlertManager
would receive the missing data from its peers. But I would still
recommend that youf fix the permission issue.
On Wed, Apr 17, 2019 at 6:34 AM Sutirtha Das <sutirt...@gmail.com> wrote:
>
> Looking at the journalctl logs i see things like the following every 15mins. Alertmanager is running smooth nonetheless but was worried if this was a bigger underlying problem. How do i fix this?
>
>
> Apr 17 13:08:30 alertmanager.dev.mine.com alertmanager[8654]: level=error ts=2019-04-17T04:08:30.035693317Z caller=nflog.go:363 component=nflog msg="Running maintenance failed" err="open /path/to/alertmanager/nflog.46dfe3ee664d56ad: permission denied"
> Apr 17 13:08:30 alertmanager.dev.mine.com alertmanager[8654]: level=info "some"=2019-04-17T04:08:30.036944666Z caller=silence.go:291 component=silences msg="Running maintenance failed" err="open /path/to/alertmanager/silences.1cd6f8bf90d29f49: permission denied"
>
> --
> 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 promethe...@googlegroups.com.
$ ls -l /path/to/alertmanager/
drwxr-xr-x 2 nobody nobody 6 Jul 13 2018 data
-rw-r--r-- 1 nobody nobody 637 Mar 15 12:55 nflog
-rw-r--r-- 1 nobody nobody 27831 Mar 15 12:55 silences
$ ps aux | grep alertmanager
nobody xxxxx 0.2 0.7 122100 57708 ? Ssl Mar15 150:37 /usr/bin/alertmanager --config.file=/path/to/alertmanager/config/alertmanager.yml --storage.path=/path/to/alertmanager/storage/alertmanager --cluster.peer=alertmanager.other.peer.instance.co.jp:9094
$ ls -l /usr/bin/alertmanager
-rwxr-xr-x 1 root root 19246224 Feb 19 08:35 /usr/bin/alertmanager