Initial commit
This commit is contained in:
39
config/monitoring/glance/pages/gaming.yml
Normal file
39
config/monitoring/glance/pages/gaming.yml
Normal file
@@ -0,0 +1,39 @@
|
||||
- name: Gaming
|
||||
columns:
|
||||
- size: small
|
||||
widgets:
|
||||
- type: twitch-top-games
|
||||
limit: 20
|
||||
collapse-after: 13
|
||||
exclude:
|
||||
- just-chatting
|
||||
- pools-hot-tubs-and-beaches
|
||||
- music
|
||||
- art
|
||||
- asmr
|
||||
|
||||
- size: full
|
||||
widgets:
|
||||
- type: group
|
||||
widgets:
|
||||
- type: reddit
|
||||
show-thumbnails: true
|
||||
subreddit: pcgaming
|
||||
- type: reddit
|
||||
subreddit: games
|
||||
|
||||
- type: videos
|
||||
style: grid-cards
|
||||
collapse-after-rows: 3
|
||||
channels:
|
||||
- UCNvzD7Z-g64bPXxGzaQaa4g # gameranx
|
||||
- UCZ7AeeVbyslLM_8-nVy2B8Q # Skill Up
|
||||
- UCHDxYLv8iovIbhrfl16CNyg # GameLinked
|
||||
- UC9PBzalIcEQCsiIkq36PyUA # Digital Foundry
|
||||
|
||||
- size: small
|
||||
widgets:
|
||||
- type: reddit
|
||||
subreddit: gamingnews
|
||||
limit: 7
|
||||
style: vertical-cards
|
||||
16
config/monitoring/glance/pages/home.yml
Normal file
16
config/monitoring/glance/pages/home.yml
Normal file
@@ -0,0 +1,16 @@
|
||||
# Home: clock, calendar, quick links to all services
|
||||
name: Home
|
||||
columns:
|
||||
- size: small
|
||||
widgets:
|
||||
- type: clock
|
||||
- type: calendar
|
||||
first-day-of-week: monday
|
||||
- $include: ../widgets/bookmarks-services.yml
|
||||
- size: full
|
||||
widgets:
|
||||
- type: releases
|
||||
cache: 1d
|
||||
repositories:
|
||||
- glanceapp/glance
|
||||
- immich-app/immich
|
||||
15
config/monitoring/glance/pages/media.yml
Normal file
15
config/monitoring/glance/pages/media.yml
Normal file
@@ -0,0 +1,15 @@
|
||||
# Media: Jellyfin (next up + latest), *arr wanted, status
|
||||
name: Media
|
||||
columns:
|
||||
- size: full
|
||||
widgets:
|
||||
- type: group
|
||||
widgets:
|
||||
- $include: ../widgets/arr-radarr-upcoming.yml
|
||||
- $include: ../widgets/arr-radarr-recent.yml
|
||||
- $include: ../widgets/arr-radarr-missing.yml
|
||||
- $include: ../widgets/arr-sonarr-upcoming.yml
|
||||
- $include: ../widgets/arr-sonarr-recent.yml
|
||||
- $include: ../widgets/arr-sonarr-missing.yml
|
||||
- $include: ../widgets/jellyfin.yml
|
||||
- $include: ../widgets/monitor-media.yml
|
||||
83
config/monitoring/glance/pages/services.yml
Normal file
83
config/monitoring/glance/pages/services.yml
Normal file
@@ -0,0 +1,83 @@
|
||||
# Services: status monitor, Docker containers, Portainer
|
||||
- name: Services
|
||||
columns:
|
||||
- size: full
|
||||
widgets:
|
||||
- type: server-stats
|
||||
title: Server
|
||||
servers:
|
||||
- type: local
|
||||
name: Services
|
||||
mountpoints:
|
||||
"/":
|
||||
name: Root
|
||||
"/srv/media":
|
||||
name: Media
|
||||
"/backup":
|
||||
name: Backup
|
||||
- type: monitor
|
||||
title: Service status
|
||||
sites:
|
||||
- title: Jellyfin
|
||||
url: https://jellyfin.home
|
||||
icon: mdi:television-play
|
||||
- title: Seer
|
||||
url: https://jellyseerr.home
|
||||
icon: mdi:movie-search
|
||||
- title: Radarr
|
||||
url: https://radarr.home
|
||||
icon: mdi:film
|
||||
- title: Sonarr
|
||||
url: https://sonarr.home
|
||||
icon: mdi:television
|
||||
- title: Lidarr
|
||||
url: https://lidarr.home
|
||||
icon: mdi:music
|
||||
- title: Prowlarr
|
||||
url: https://prowlarr.home
|
||||
icon: mdi:radar
|
||||
- title: qBittorrent
|
||||
url: https://qbit.home
|
||||
icon: mdi:download
|
||||
- title: Portainer
|
||||
url: https://portainer.home
|
||||
icon: mdi:docker
|
||||
- title: Immich
|
||||
url: https://photo.home
|
||||
icon: mdi:image-multiple
|
||||
- title: Navidrome
|
||||
url: https://music.home
|
||||
icon: mdi:music-box-multiple
|
||||
- title: CopyParty
|
||||
url: https://copyparty.home
|
||||
icon: mdi:folder-multiple
|
||||
- title: Gitea
|
||||
url: https://git.home
|
||||
icon: mdi:git
|
||||
- title: Grafana
|
||||
url: https://grafana.home
|
||||
icon: mdi:chart-line
|
||||
- type: docker-containers
|
||||
title: Docker
|
||||
show-stats: true
|
||||
- type: custom-api
|
||||
title: Portainer
|
||||
title-url: https://portainer.home
|
||||
cache: 1h
|
||||
url: ${PORTAINER_URL}/api/endpoints/${PORTAINER_ENDPOINT_ID}
|
||||
headers:
|
||||
X-API-Key: ${PORTAINER_API_KEY}
|
||||
template: |
|
||||
<style>.list-horizontal-text.no-bullets > *:not(:last-child)::after { content: none !important; } .list-horizontal-text.no-bullets > *:not(:last-child) { margin-right: 1em; }</style>
|
||||
<div class="list list-horizontal-text no-bullets">
|
||||
<span><strong>{{ .JSON.String "Name" }}</strong></span>
|
||||
<span>Containers: {{ .JSON.Int "Snapshots.0.ContainerCount" }}</span>
|
||||
<span>Volumes: {{ .JSON.Int "Snapshots.0.VolumeCount" }}</span>
|
||||
<span>Networks: {{ .JSON.Int "Snapshots.0.DockerSnapshotRaw.Networks.#" }}</span>
|
||||
</div>
|
||||
<ul class="list list-gap-4 margin-top-10">
|
||||
<li>Running <strong>{{ .JSON.Int "Snapshots.0.RunningContainerCount" }}</strong></li>
|
||||
<li>Healthy <strong>{{ .JSON.Int "Snapshots.0.HealthyContainerCount" }}</strong></li>
|
||||
<li>Stopped <strong>{{ .JSON.Int "Snapshots.0.StoppedContainerCount" }}</strong></li>
|
||||
<li>Unhealthy <strong>{{ .JSON.Int "Snapshots.0.DockerSnapshotRaw.Containers.#(Health=\"unhealthy\").#" }}</strong></li>
|
||||
</ul>
|
||||
Reference in New Issue
Block a user