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:
|
||||
enabled: no
|
||||
ssh_service:
|
||||
enabled: yes
|
||||
labels:
|
||||
Type: Server
|
||||
enabled: "yes"
|
||||
permit_user_env: true
|
||||
disable_create_host_user: true
|
||||
labels:
|
||||
_IaaS: Provider
|
||||
_Type: Machine
|
||||
commands:
|
||||
- name: Compose
|
||||
command: ["/bin/sh", "-c", "docker compose version --short"]
|
||||
period: "168h"
|
||||
- name: Docker
|
||||
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
|
||||
- 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: "168h"
|
||||
- name: Temp
|
||||
command: ["/bin/sh", "-c", "sensors | grep temp1 | cut -d' ' -f9"]
|
||||
period: "1m"
|
||||
- name: restic
|
||||
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: rclone
|
||||
- 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:
|
||||
|
|
Loading…
Reference in a new issue