Adding configs for Apprise and Loggifly.
This commit is contained in:
@@ -0,0 +1,3 @@
|
|||||||
|
urls:
|
||||||
|
- gotify://gotify/{{ lookup('community.hashi_vault.vault_kv2_get', 'env', engine_mount_point='rinoa-docker', url=vault_addr, token=vault_token_cleaned)['secret']['APPRISE_GOTIFY_TOKEN'] }}
|
||||||
|
- mailtos://{{ lookup('community.hashi_vault.vault_kv2_get', 'env', engine_mount_point='rinoa-docker', url=vault_addr, token=vault_token_cleaned)['secret']['POSTAL_SMTP_AUTH_USER'] }}:{{ lookup('community.hashi_vault.vault_kv2_get', 'env', engine_mount_point='rinoa-docker', url=vault_addr, token=vault_token_cleaned)['secret']['POSTAL_SMTP_AUTH_PASSWORDz'] }}@trez.wtf25?smtp=postal-smtp&from=noreply@trez.wtf
|
||||||
@@ -0,0 +1,21 @@
|
|||||||
|
containers:
|
||||||
|
|
||||||
|
global_keywords:
|
||||||
|
keywords:
|
||||||
|
- panic
|
||||||
|
keywords_with_attachment:
|
||||||
|
- fatal
|
||||||
|
notifications:
|
||||||
|
apprise:
|
||||||
|
url: gotify://gotify/{{ lookup('community.hashi_vault.vault_kv2_get', 'env', engine_mount_point='rinoa-docker', url=vault_addr, token=vault_token_cleaned)['secret']['APPRISE_GOTIFY_TOKEN'] }} # Any Apprise-compatible URL (https://github.com/caronc/apprise/wiki)
|
||||||
|
|
||||||
|
# settings are optional because they all have default values
|
||||||
|
settings:
|
||||||
|
log_level: INFO # DEBUG, INFO, WARNING, ERROR
|
||||||
|
notification_cooldown: 5 # Seconds between alerts for same keyword (per container)
|
||||||
|
attachment_lines: 20 # Number of Lines to include in log attachments
|
||||||
|
multi_line_entries: true # Detect multi-line log entries
|
||||||
|
disable_restart: false # Disable restart when a config change is detected
|
||||||
|
disable_start_message: false # Suppress startup notification
|
||||||
|
disable_shutdown_message: false # Suppress shutdown notification
|
||||||
|
disable_restart_message: false # Suppress config reload notification
|
||||||
Reference in New Issue
Block a user