diff --git a/monitoring/altinea_monitoring_request.sh b/monitoring/altinea_monitoring_request.sh index 1e09b06..07ff8fc 100644 --- a/monitoring/altinea_monitoring_request.sh +++ b/monitoring/altinea_monitoring_request.sh @@ -7,6 +7,12 @@ DEBUG() { # Define VPN interface name VPNIF="vpnaltinea" +if ! [ -x "$(command -v sendEmail)" ]; then + echo "sendEmail could not be found, please install it with :" + echo "apt install sendEmail" + exit 99; +fi + if ! [ -x "$(command -v jq)" ]; then echo "jq could not be found, please install it with :" echo "apt install jq"