
­­­­­­­­­­­­­­­­­­
<!DOCTYPE html>
<html>
#!/bin/bash

SERVICE="salt-minion"

if systemctl is-active --quiet "$SERVICE"; then
    echo "OK - $SERVICE is running"
    exit 0
else
    echo "CRITICAL - $SERVICE is not running"
    exit 2
fi
