mirror of
https://github.com/stefanpejcic/openpanel
synced 2025-06-26 18:28:26 +00:00
Auto-commit on 2024-12-03 10:35:31 by pcx3
This commit is contained in:
73
configuration/services/sentinel/messages.yaml
Normal file
73
configuration/services/sentinel/messages.yaml
Normal file
@@ -0,0 +1,73 @@
|
||||
DAILY_REPORT:
|
||||
title: "Daily Usage Report"
|
||||
message: "Daily usage report."
|
||||
|
||||
REBOOT:
|
||||
title: "🚨 URGENT - SYSTEM REBOOT"
|
||||
message: "System was rebooted. Uptime: "
|
||||
|
||||
SWAP_USAGE:
|
||||
title: "⚠️ SWAP usage alert!"
|
||||
message: ""
|
||||
|
||||
RAM_USAGE:
|
||||
title: "🚨 High Memory Usage!"
|
||||
message: ""
|
||||
|
||||
LOAD_USAGE:
|
||||
title: "🚨 High System Load!"
|
||||
message: ""
|
||||
|
||||
CPU_USAGE:
|
||||
title: "🚨 High CPU Usage!"
|
||||
message: ""
|
||||
|
||||
DISK_USAGE:
|
||||
title: "⚠️ Running out of Disk Space!"
|
||||
message: ""
|
||||
|
||||
SSH_LOGIN:
|
||||
title: "Suspicious SSH login detected"
|
||||
message: "SSH users currently logged-in that have not accessed OpenAdmin interface. IP addresses: "
|
||||
|
||||
ADMIN_LOGIN:
|
||||
title: "Admin account accessed from new IP address"
|
||||
message: "Admin account was accessed from a new IP address: "
|
||||
|
||||
MYSQL_DOWN:
|
||||
title: "⚠️ WARNING - MySQL service is not active. Users are unable to log into OpenPanel!"
|
||||
message: ""
|
||||
|
||||
NGINX_DOWN:
|
||||
title: "Nginx service is not active. Users' websites are not working!"
|
||||
message: ""
|
||||
|
||||
CSF_DOWN:
|
||||
title: "ConfigService Firewall (CSF) is not active. Server and websites are not protected!"
|
||||
message: ""
|
||||
|
||||
UFW_DOWN:
|
||||
title: "Uncomplicated Firewall (UFW) is not active. Server and websites are not protected!"
|
||||
message: ""
|
||||
|
||||
ADMIN_DOWN:
|
||||
title: "Admin service is not active. OpenAdmin service is not accessible!"
|
||||
message: ""
|
||||
|
||||
DOCKER_DOWN:
|
||||
title: "Docker service is not active. User websites are down!"
|
||||
message: ""
|
||||
|
||||
PANEL_DOWN:
|
||||
title: "OpenPanel docker container is not running. Users are unable to access the OpenPanel interface!"
|
||||
message: ""
|
||||
|
||||
CERTBOT_DOWN:
|
||||
title: "Certbot service is not running. SSL certificates will not renew automatically!"
|
||||
message: ""
|
||||
|
||||
BIND_DOWN:
|
||||
title: "Named (BIND9) service is not active. DNS resolving of domains is not working!"
|
||||
message: ""
|
||||
|
||||
|
||||
31
configuration/services/varnish.service
Normal file
31
configuration/services/varnish.service
Normal file
@@ -0,0 +1,31 @@
|
||||
[Unit]
|
||||
Description=Varnish Cache, a high-performance HTTP accelerator
|
||||
Documentation=https://www.varnish-cache.org/docs/ man:varnishd
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
|
||||
# Maximum number of open files (for ulimit -n)
|
||||
LimitNOFILE=131072
|
||||
|
||||
# Locked shared memory - should suffice to lock the shared memory log
|
||||
# (varnishd -l argument)
|
||||
# Default log size is 80MB vsl + 1M vsm + header -> 82MB
|
||||
# unit is bytes
|
||||
LimitMEMLOCK=85983232
|
||||
ExecStart=/usr/sbin/varnishd \
|
||||
-j unix,user=vcache \
|
||||
-F \
|
||||
-a :80 \
|
||||
-T localhost:6082 \
|
||||
-f /etc/varnish/default.vcl \
|
||||
-S /etc/varnish/secret \
|
||||
-s malloc,256m
|
||||
ExecReload=/usr/share/varnish/varnishreload
|
||||
ProtectSystem=full
|
||||
ProtectHome=true
|
||||
PrivateTmp=true
|
||||
PrivateDevices=true
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in New Issue
Block a user