update
This commit is contained in:
+28
-16
@@ -1929,25 +1929,37 @@ MONITORING_MENU() {
|
||||
TAPM_PULSE_RESOURCE_INSTALLED "$cluster_resources"
|
||||
pulse_status=$?
|
||||
fi
|
||||
(( pulse_status == 0 )) &&
|
||||
labels=("Pulse monitoring (installed)") ||
|
||||
labels=("Install Pulse monitoring")
|
||||
if (( pulse_status == 0 )); then
|
||||
labels=("Pulse monitoring (installed)")
|
||||
else
|
||||
labels=("${idsCL[Cyan]}Install Pulse monitoring${idsCL[Default]}")
|
||||
fi
|
||||
|
||||
systemctl is-active --quiet ITSPlatform &&
|
||||
labels+=("ConnectWise RMM agent (installed)") ||
|
||||
labels+=("Install ConnectWise RMM agent")
|
||||
if systemctl is-active --quiet ITSPlatform; then
|
||||
labels+=("ConnectWise RMM agent (installed)")
|
||||
else
|
||||
labels+=("${idsCL[Cyan]}Install ConnectWise RMM agent${idsCL[Default]}")
|
||||
fi
|
||||
|
||||
dpkg-query -W -f='${Status}' cyberprotect 2>/dev/null | grep -q "install ok installed" &&
|
||||
labels+=("Acronis backup agent (installed)") ||
|
||||
labels+=("Install Acronis backup agent")
|
||||
if dpkg-query -W -f='${Status}' cyberprotect 2>/dev/null |
|
||||
grep -q "install ok installed"; then
|
||||
labels+=("Acronis backup agent (installed)")
|
||||
else
|
||||
labels+=("${idsCL[Cyan]}Install Acronis backup agent${idsCL[Default]}")
|
||||
fi
|
||||
|
||||
dpkg-query -W -f='${Status}' sentinelagent 2>/dev/null | grep -q "install ok installed" &&
|
||||
labels+=("SentinelOne agent (installed)") ||
|
||||
labels+=("Install SentinelOne agent")
|
||||
if dpkg-query -W -f='${Status}' sentinelagent 2>/dev/null |
|
||||
grep -q "install ok installed"; then
|
||||
labels+=("SentinelOne agent (installed)")
|
||||
else
|
||||
labels+=("${idsCL[Cyan]}Install SentinelOne agent${idsCL[Default]}")
|
||||
fi
|
||||
|
||||
systemctl is-active --quiet 'connectwise*' &&
|
||||
labels+=("ScreenConnect agent (installed)") ||
|
||||
labels+=("Install ScreenConnect agent")
|
||||
if systemctl is-active --quiet 'connectwise*'; then
|
||||
labels+=("ScreenConnect agent (installed)")
|
||||
else
|
||||
labels+=("${idsCL[Cyan]}Install ScreenConnect agent${idsCL[Default]}")
|
||||
fi
|
||||
|
||||
SELECT_MENU "Monitoring & Agents" labels values
|
||||
case "$MENU_SELECTION" in
|
||||
@@ -2212,7 +2224,7 @@ UTILITIES_MENU() {
|
||||
esac
|
||||
last_checked="$(UPDATE_LAST_CHECKED_DISPLAY)"
|
||||
labels+=(
|
||||
"Check again now (last checked: ${last_checked})"
|
||||
"Check again now "$'\e[2m'"(last checked: ${last_checked})"$'\e[22m'
|
||||
"Git branch management"
|
||||
"Version and installation information"
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user