Skip to content

Commit

Permalink
Check info endpoint of jellyfin with gatus
Browse files Browse the repository at this point in the history
  • Loading branch information
claha committed Jan 16, 2024
1 parent ff34ea2 commit 81a7141
Show file tree
Hide file tree
Showing 3 changed files with 528 additions and 514 deletions.
1 change: 1 addition & 0 deletions .github/actions/setup-ansible/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ runs:
healthchecks_backup_zigbee2mqtt_ping_url: ci
healthchecks_secret_key: ci
homeassistant_static_template_sensors: []
jellyfin_api_token: ci
letsencrypt_email: ci
letsencrypt_provider: ci
mqtt_server: ci
Expand Down
10 changes: 10 additions & 0 deletions roles/gatus/templates/config.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -94,3 +94,13 @@ endpoints:
- "[STATUS] == 200"
alerts:
- type: telegram
- name: Jellyfin
group: Services
url: "http://{{ nixos_ip_tailscale }}:8096/System/Info"
headers:
X-MediaBrowser-Token: {{ jellyfin_api_token }}
interval: 15m
conditions:
- "[STATUS] == 200"
alerts:
- type: telegram
Loading

0 comments on commit 81a7141

Please sign in to comment.