eliminato monitee e corretto servizio update agent beszel
This commit is contained in:
parent
6feca5103e
commit
dd1ad2c909
@ -4,4 +4,4 @@ Wants=beszel-agent.service
|
|||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=oneshot
|
Type=oneshot
|
||||||
ExecStart=/bin/sh -c '/opt/beszel-agent/beszel-agent update | grep -q "Successfully updated" && systemctl restart beszel-agent'
|
ExecStart=/opt/beszel-agent/beszel-agent update | grep -q "Successfully updated" && systemctl restart beszel-agent
|
@ -1,59 +0,0 @@
|
|||||||
#########################################
|
|
||||||
### sys-API user configuration ###
|
|
||||||
#########################################
|
|
||||||
metricsConfig:
|
|
||||||
monitor:
|
|
||||||
interval: 45
|
|
||||||
unit: SECONDS
|
|
||||||
history:
|
|
||||||
interval: 30
|
|
||||||
unit: MINUTES
|
|
||||||
purging:
|
|
||||||
olderThan: 14
|
|
||||||
unit: DAYS
|
|
||||||
purgeEvery: 1
|
|
||||||
purgeEveryUnit: DAYS
|
|
||||||
cache:
|
|
||||||
enabled: false
|
|
||||||
duration: 5
|
|
||||||
unit: SECONDS
|
|
||||||
user:
|
|
||||||
username: user
|
|
||||||
password: super-secret-password
|
|
||||||
windows:
|
|
||||||
enableOhmJniWrapper: true
|
|
||||||
eventLog:
|
|
||||||
enabled: true
|
|
||||||
serviceManagement:
|
|
||||||
enabled: true
|
|
||||||
linux:
|
|
||||||
journalLogs:
|
|
||||||
enabled: true
|
|
||||||
systemDaemonServiceManagement:
|
|
||||||
enabled: true
|
|
||||||
# web interface for running queries
|
|
||||||
graphQLPlayGround:
|
|
||||||
enabled: false
|
|
||||||
# docker management and metrics support
|
|
||||||
docker:
|
|
||||||
enabled: true
|
|
||||||
connectivityCheck:
|
|
||||||
enabled: true
|
|
||||||
address: https://ifconfig.me
|
|
||||||
updateCheck:
|
|
||||||
enabled: true
|
|
||||||
address: https://api.github.com
|
|
||||||
user: krillsson
|
|
||||||
repo: sys-api
|
|
||||||
# advertise service in local network for easier client setup
|
|
||||||
mDNS:
|
|
||||||
enabled: true
|
|
||||||
upnp:
|
|
||||||
enabled: true
|
|
||||||
forwardHttpToHttps: false
|
|
||||||
selfSignedCertificates:
|
|
||||||
enabled: true
|
|
||||||
## automatically put external IP in CN
|
|
||||||
populateCN: true
|
|
||||||
## automatically put internal IPs in SAN
|
|
||||||
populateSAN: true
|
|
@ -1,31 +0,0 @@
|
|||||||
# https://monitee.app/get-started/
|
|
||||||
|
|
||||||
services:
|
|
||||||
sys-api:
|
|
||||||
container_name: sys-api
|
|
||||||
image: krillsson/sys-api:latest
|
|
||||||
mem_limit: 1g
|
|
||||||
cpus: 0.3 # al max 40% cpu
|
|
||||||
ports:
|
|
||||||
- 127.0.0.1:9999:8080
|
|
||||||
pid: "host"
|
|
||||||
volumes:
|
|
||||||
# change "/path/to/*" point to a directory on your machine
|
|
||||||
- ./data:/data
|
|
||||||
- ./config:/config
|
|
||||||
# socket for docker management API.
|
|
||||||
- /var/run/docker.sock:/var/run/docker.sock
|
|
||||||
# to read device names from disks
|
|
||||||
- /run/udev:/run/udev:ro
|
|
||||||
# to control systemd
|
|
||||||
- /run/systemd:/run/systemd
|
|
||||||
# to read journal logs
|
|
||||||
- /etc/machine-id:/etc/machine-id:ro
|
|
||||||
- /run/systemd/journal/socket:/run/systemd/journal/socket:ro
|
|
||||||
- /run/log/journal:/run/log/journal:ro
|
|
||||||
# to allow sys-API access to read hdd's
|
|
||||||
# alternatively mount in each device you'd like to monitor
|
|
||||||
- /dev:/dev:ro
|
|
||||||
# same as above
|
|
||||||
- /srv:/srv:ro
|
|
||||||
restart: unless-stopped
|
|
Loading…
x
Reference in New Issue
Block a user