Update 'Teleport/etc/teleport-node.yaml'
This commit is contained in:
parent
e446bffddf
commit
0f044954a7
1 changed files with 24 additions and 22 deletions
|
@ -11,35 +11,37 @@ teleport:
|
||||||
auth_service:
|
auth_service:
|
||||||
enabled: no
|
enabled: no
|
||||||
ssh_service:
|
ssh_service:
|
||||||
enabled: yes
|
enabled: "yes"
|
||||||
labels:
|
|
||||||
Type: Server
|
|
||||||
permit_user_env: true
|
permit_user_env: true
|
||||||
|
disable_create_host_user: true
|
||||||
|
labels:
|
||||||
|
_IaaS: Provider
|
||||||
|
_Type: Machine
|
||||||
commands:
|
commands:
|
||||||
- name: Compose
|
- name: _IP
|
||||||
command: ["/bin/sh", "-c", "docker compose version --short"]
|
command: ["/bin/sh", "-c", "nslookup example.de | awk -F': ' 'NR==6 {print $2}'"]
|
||||||
period: "168h"
|
period: "12h"
|
||||||
- name: Docker
|
- name: 1-Teleport
|
||||||
command: ["/bin/sh", "-c", "docker system info | grep Running | cut -d' ' -f4"]
|
|
||||||
period: "30m"
|
|
||||||
- name: Engine
|
|
||||||
command: ["/bin/sh", "-c", "docker version --format '{{.Server.Version}}'"]
|
|
||||||
period: "168h"
|
|
||||||
- name: Kernel
|
|
||||||
command: ["/bin/uname", "-r"]
|
|
||||||
period: "168h"
|
|
||||||
- name: Teleport
|
|
||||||
command: ["/bin/sh", "-c", "teleport version | cut -d' ' -f2"]
|
command: ["/bin/sh", "-c", "teleport version | cut -d' ' -f2"]
|
||||||
period: "168h"
|
period: "12h"
|
||||||
- name: Temp
|
- name: 2-Docker
|
||||||
command: ["/bin/sh", "-c", "sensors | grep temp1 | cut -d' ' -f9"]
|
command: ["/bin/sh", "-c", "docker version --format '{{.Server.Version}}'"]
|
||||||
period: "1m"
|
period: "12h"
|
||||||
- name: restic
|
- 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"]
|
command: ["/bin/sh", "-c", "restic version | cut -d ' ' -f2"]
|
||||||
period: "12h"
|
period: "12h"
|
||||||
- name: rclone
|
- name: 5-Rclone
|
||||||
command: ["/bin/sh", "-c", "rclone version | head -1 | cut -d ' ' -f2"]
|
command: ["/bin/sh", "-c", "rclone version | head -1 | cut -d ' ' -f2"]
|
||||||
period: "12h"
|
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:
|
proxy_service:
|
||||||
enabled: no
|
enabled: no
|
||||||
app_service:
|
app_service:
|
||||||
|
|
Loading…
Reference in a new issue