????

Your IP : 216.73.217.84


Current Path : /proc/self/root/lib/check_mk_agent/local/
Upload File :
Current File : //proc/self/root/lib/check_mk_agent/local/Status_Imunify360

#!/bin/bash
# CheckMK Local Check - Status_Imunify360

SERVICE="imunify360"

# Check if service exists
if ! systemctl list-unit-files | grep -q "$SERVICE"; then
    echo "3 Status_Imunify360 - UNKNOWN - Service $SERVICE not installed"
    exit 0
fi

# Check status
if systemctl is-active --quiet "$SERVICE"; then
    echo "0 Status_Imunify360 - OK - Imunify360 is RUNNING"
else
    echo "2 Status_Imunify360 - CRITICAL - Imunify360 is DOWN"
fi