sysinfo/spec/services.yaml

100 řádky
2.4 KiB
YAML

services:
- name: Gitea
host: git.gwei.cz
repo: go-gitea/gitea
monitor: 6
version_conf:
from:
url: https://git.gwei.cz/api/v1/version
query: version
to:
strategy: github
- name: Mastodon
host: social.gwei.cz
repo: mastodon/mastodon
monitor: 3
version_conf:
from:
url: https://social.gwei.cz/nodeinfo/2.0
query: software.version
to:
strategy: github
- name: Synapse (Matrix)
repo: matrix-org/synapse
monitor: 1
version_conf:
from:
url: https://gwei.cz/_synapse/admin/v1/server_version
query: server_version
to:
strategy: github
- name: Cinny
repo: cinnyapp/cinny
monitor: 8
version_conf:
from:
url: https://cinny.gwei.cz/version.json
query: $match(version,/^v(.+)/)[0].groups[0]
to:
strategy: github
- name: Tor Relay (#1) (Exit)
monitor: 34
version_conf:
from:
url: https://onionoo.torproject.org/details?lookup=F36E7C8746649077DA254397F721851ABBD4B528
query: relays[0].version
to:
strategy: html
url: https://www.torproject.org/download/tor/
query: "<td>(\\d+\\.\\d+\\.\\d+\\.\\d+)<\/td>"
- name: Tor Relay (#2)
monitor: 33
version_conf:
from:
url: https://onionoo.torproject.org/details?lookup=6DD7CFE5DAE710940E8DF978A5495085FEBB1703
query: relays[0].version
to:
strategy: html
url: https://www.torproject.org/download/tor/
query: "<td>(\\d+\\.\\d+\\.\\d+\\.\\d+)<\/td>"
- name: Discourse (Gwei.cz)
host: forum.gwei.cz
repo: discourse/discourse
monitor: 2
version_conf:
from:
strategy: html
url: https://forum.gwei.cz
query: 'content="Discourse ([^\s]+) -'
to:
strategy: github
- name: Discourse (dCZK)
host: forum.dczk.cz
repo: discourse/discourse
monitor: 2
version_conf:
from:
strategy: html
url: https://forum.dczk.cz
query: 'content="Discourse ([^\s]+) -'
to:
strategy: github
- name: SFTPGo
host: sftpgo.gwei.cz
repo: drakkan/sftpgo
monitor: 37
version_conf:
from:
strategy: html
url: https://sftpgo.gwei.cz/web/admin/login
query: 'WebAdmin - ([^<]+)<\/h1>'
to:
strategy: github