65 lines
1.7 KiB
YAML
65 lines
1.7 KiB
YAML
teleport:
|
|
nodename: example
|
|
data_dir: /var/lib/teleport
|
|
auth_token: example
|
|
auth_servers:
|
|
- 10.0.0.4:3025
|
|
log:
|
|
output: /var/lib/teleport/teleport.log
|
|
severity: ERROR
|
|
ca_pin: example
|
|
auth_service:
|
|
enabled: no
|
|
ssh_service:
|
|
enabled: "yes"
|
|
permit_user_env: true
|
|
disable_create_host_user: true
|
|
labels:
|
|
_IaaS: Provider
|
|
_Type: Machine
|
|
commands:
|
|
- name: _IP
|
|
command: ["/bin/sh", "-c", "nslookup example.de | awk -F': ' 'NR==6 {print $2}'"]
|
|
period: "12h"
|
|
- name: 1-Teleport
|
|
command: ["/bin/sh", "-c", "teleport version | cut -d' ' -f2"]
|
|
period: "12h"
|
|
- name: 2-Docker
|
|
command: ["/bin/sh", "-c", "docker version --format '{{.Server.Version}}'"]
|
|
period: "12h"
|
|
- name: 3-Compose
|
|
command: ["/bin/sh", "-c", "docker compose version --short"]
|
|
period: "12h"
|
|
- name: 4-Restic
|
|
command: ["/bin/sh", "-c", "restic version | cut -d ' ' -f2"]
|
|
period: "12h"
|
|
- name: 5-Rclone
|
|
command: ["/bin/sh", "-c", "rclone version | head -1 | cut -d ' ' -f2"]
|
|
period: "12h"
|
|
- name: 6-Services
|
|
command: ["/bin/sh", "-c", "docker system info | grep Running | cut -d' ' -f4"]
|
|
period: "30m"
|
|
- name: 7-Kernel
|
|
command: ["/bin/uname", "-r"]
|
|
period: "12h"
|
|
proxy_service:
|
|
enabled: no
|
|
app_service:
|
|
enabled: yes
|
|
apps:
|
|
- name: "dns"
|
|
description: "PiHole"
|
|
uri: "http://localhost/admin/"
|
|
rewrite:
|
|
redirect:
|
|
- "localhost"
|
|
- "dns.tp.unjx.de"
|
|
- name: "scrutiny"
|
|
uri: "http://localhost:8080"
|
|
public_addr: "scrutiny.tp.fhoss.de"
|
|
labels:
|
|
Type: "S.M.A.R.T"
|
|
commands:
|
|
- name: "Server"
|
|
command: ['/bin/sh', '-c', 'hostname | cut -d"." -f1 | sed -e "s/\(.\)/\U\1/"']
|
|
period: 24h0m0s
|