add some app_service and more commands
This commit is contained in:
parent
be09138712
commit
03bfa09337
1 changed files with 20 additions and 6 deletions
|
@ -13,15 +13,29 @@ auth_service:
|
||||||
ssh_service:
|
ssh_service:
|
||||||
enabled: yes
|
enabled: yes
|
||||||
labels:
|
labels:
|
||||||
VM: example
|
Type: Server
|
||||||
IP: 78.47.145.201
|
|
||||||
permit_user_env: true
|
permit_user_env: true
|
||||||
commands:
|
commands:
|
||||||
- name: OS
|
- name: IP
|
||||||
command: [/bin/uname, -o]
|
command: ["/bin/curl", "ifconfig.me"]
|
||||||
period: 1h0m0s
|
period: 1h0m0s
|
||||||
- name: UP
|
- name: UP
|
||||||
command: ["/bin/sh", "-c", "uptime -p | cut -c4-"]
|
command: ["/bin/sh", "-c", "uptime -p | cut -c4- | cut -d',' -f1"]
|
||||||
period: 1h0m0s
|
period: 1h0m0s
|
||||||
|
- name: Docker
|
||||||
|
command: ["/bin/sh", "-c", "docker system info | grep Running | cut -d' ' -f4"]
|
||||||
|
period: 0h30m0s
|
||||||
proxy_service:
|
proxy_service:
|
||||||
enabled: no
|
enabled: no
|
||||||
|
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
|
||||||
|
|
Loading…
Reference in a new issue