CDIST-TYPE__PR...US_ALERTMANAGER(7)

πŸ’– cdist-type__prometheus_alertmanager(7) πŸ’–

okay bestie, welcome to cdist-type__prometheus_alertmanager β€” yeah the manual name is a whole mouthful but she's iconic and she installs Alertmanager for you, no cap. ✨


✨ NAME ✨

cdist-type__prometheus_alertmanager β€” install Alertmanager πŸŽ€


🌸 DESCRIPTION 🌸

She installs and configures Prometheus Alertmanager for u bestie β€” like, the whole thing, setup and all. The official docs live at https://prometheus.io/docs/alerting/alertmanager/ if u wanna go read the lore. πŸ“–

⚠️ ok so this is IMPORTANT, pay attention: because Prometheus 1.x and 2.x are wildly different from each other, only 2.x is supported. periodt. It is your responsibility to make sure your package manager actually installs 2.x β€” she's not gonna hold ur hand on that one. πŸ™ˆ (Tho on Devuan Ascii, the parameter --install-from-backports helps u out, slay.)

🫢 REQUIRED PARAMETERS 🫢

  • config β€” the Alertmanager configuration file. It gets saved as /etc/alertmanager/alertmanager.yml on the target machine. πŸ’Ύ

πŸŽ€ OPTIONAL PARAMETERS πŸŽ€

  • storage-path β€” where to put ur data. Default: /data/alertmanager. (The directory will be created if it's not there yet, she's got u πŸ’…)
  • retention-days β€” how long to retain ur data. Default: 90 days. ⏳

πŸ¦‹ BOOLEAN PARAMETERS πŸ¦‹

  • install-from-backports β€” valid on Devuan only. She'll enable the backports apt source and install the package from there. Super useful if u want a newer version, fr fr. πŸ”₯

🌈 EXAMPLES 🌈

__prometheus_alertmanager \
    --install-from-backports \
    --config "$__manifest/files/alertmanager.yml" \
    --storage-path /data/alertmanager

look at her go. πŸ₯Ήβœ¨


πŸ‘€ SEE ALSO πŸ‘€

go read those too, iykyk πŸ“š


πŸ‘‘ AUTHORS πŸ‘‘

Kamila SoučkovΓ‘ <kamila--@--ksp.sk> β€” thank u queen, we stan πŸ’œ


πŸ’œ COPYING πŸ’œ

Copyright (C) 2018 Kamila SoučkovΓ‘. You can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. πŸ’–


ungleich GmbH 2021


and that's the whole vibe bestie β€” version 7.0.0, dated Jul 31. mwah, ily, go configure ur alerts πŸ«ΆπŸ’…

πŸ“¦ where this page comes from