Alertmanager install: Difference between revisions
From wikinotes
(Created page with "<syntaxhighlight lang="bash"> pkg install alertmanager # FreeBSD pacman -S alertmanager # Archlinux </syntaxhighlight> You'll also need to enable/start the service.") |
No edit summary |
||
Line 1: | Line 1: | ||
= Install = | |||
<blockquote> | |||
<syntaxhighlight lang="bash"> | <syntaxhighlight lang="bash"> | ||
pkg install alertmanager # FreeBSD | pkg install alertmanager # FreeBSD | ||
Line 5: | Line 7: | ||
You'll also need to enable/start the service. | You'll also need to enable/start the service. | ||
</blockquote><!-- Install --> | |||
= Service = | |||
<blockquote> | |||
== FreeBSD == | |||
<blockquote> | |||
In FreeBSD-13.0, the service bundled with FreeBSD doesn't always log to it's logfile, and isn't rotated.<br> | |||
I combined prometheus's service to create a replacement (so both prometheus and alertmanager log to the syslog. | |||
<syntaxhighlight lang="bash"> | |||
</syntaxhighlight> | |||
</blockquote><!-- FreeBSD --> | |||
</blockquote><!-- Service --> |
Revision as of 19:08, 20 February 2022
Install
pkg install alertmanager # FreeBSD pacman -S alertmanager # ArchlinuxYou'll also need to enable/start the service.
Service
FreeBSD
In FreeBSD-13.0, the service bundled with FreeBSD doesn't always log to it's logfile, and isn't rotated.
I combined prometheus's service to create a replacement (so both prometheus and alertmanager log to the syslog.