mirror of
https://github.com/serghey-rodin/vesta.git
synced 2025-08-20 21:34:11 -07:00
Release 0.9.8-16
This commit is contained in:
parent
e49317b9d0
commit
c59b6230a2
161 changed files with 521 additions and 159 deletions
|
@ -170,8 +170,8 @@ service=$DNS_SYSTEM
|
|||
if [ ! -z "$service" ] && [ "$service" != 'remote' ]; then
|
||||
proc_name='named'
|
||||
get_srv_state $service $proc_name
|
||||
str="$str\nNAME='$service' SYSTEM='dns server' STATE='$state' CPU='$cpu'"
|
||||
str="$str MEM='$mem' RTIME='$rtime'"
|
||||
data="$data\nNAME='$service' SYSTEM='dns server' STATE='$state'"
|
||||
data="$data CPU='$cpu' MEM='$mem' RTIME='$rtime'"
|
||||
fi
|
||||
|
||||
# Checking MAIL system
|
||||
|
@ -265,8 +265,8 @@ if [ ! -z "$FIREWALL_SYSTEM" ] && [ "$FIREWALL_SYSTEM" != 'remote' ]; then
|
|||
if [ "$?" -eq 0 ]; then
|
||||
state="running"
|
||||
fi
|
||||
str="$str\nNAME='$FIREWALL_SYSTEM' SYSTEM='firewall'"
|
||||
str="$str STATE='$state' CPU='0' MEM='0' RTIME='0'"
|
||||
data="$data\nNAME='$FIREWALL_SYSTEM' SYSTEM='firewall'"
|
||||
data="$data STATE='$state' CPU='0' MEM='0' RTIME='0'"
|
||||
fi
|
||||
|
||||
# Checking FIREWALL Fail2ban extention
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue