2021-12-10 10:36:03 +01:00
|
|
|
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
|
|
|
|
labels:
|
2021-12-16 08:24:00 +01:00
|
|
|
Type: Server
|
2021-12-10 10:36:03 +01:00
|
|
|
permit_user_env: true
|
2021-12-16 08:24:00 +01:00
|
|
|
commands:
|
|
|
|
- name: IP
|
|
|
|
command: ["/bin/curl", "ifconfig.me"]
|
2021-12-10 10:36:03 +01:00
|
|
|
period: 1h0m0s
|
|
|
|
- name: UP
|
2021-12-16 08:24:00 +01:00
|
|
|
command: ["/bin/sh", "-c", "uptime -p | cut -c4- | cut -d',' -f1"]
|
2021-12-10 10:36:03 +01:00
|
|
|
period: 1h0m0s
|
2021-12-16 08:24:00 +01:00
|
|
|
- name: Docker
|
|
|
|
command: ["/bin/sh", "-c", "docker system info | grep Running | cut -d' ' -f4"]
|
|
|
|
period: 0h30m0s
|
2021-12-10 10:36:03 +01:00
|
|
|
proxy_service:
|
|
|
|
enabled: no
|
2021-12-16 08:24:00 +01:00
|
|
|
app_service:
|
|
|
|
enabled: yes
|
|
|
|
apps:
|
|
|
|
- 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
|