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:
|
||||
enabled: yes
|
||||
labels:
|
||||
VM: example
|
||||
IP: 78.47.145.201
|
||||
Type: Server
|
||||
permit_user_env: true
|
||||
commands:
|
||||
- name: OS
|
||||
command: [/bin/uname, -o]
|
||||
- name: IP
|
||||
command: ["/bin/curl", "ifconfig.me"]
|
||||
period: 1h0m0s
|
||||
- name: UP
|
||||
command: ["/bin/sh", "-c", "uptime -p | cut -c4-"]
|
||||
command: ["/bin/sh", "-c", "uptime -p | cut -c4- | cut -d',' -f1"]
|
||||
period: 1h0m0s
|
||||
- name: Docker
|
||||
command: ["/bin/sh", "-c", "docker system info | grep Running | cut -d' ' -f4"]
|
||||
period: 0h30m0s
|
||||
proxy_service:
|
||||
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