Hello Victor,
the oldes monit version I find is 5.19.0 and this version works well.

>>> check program ntp-status with path /opt/vsd/sysmon/ntpStatus.sh
>>> > >>     if status != 0 then exec /usr/local/monit/scripts/snowfail
>>> > >>         else if succeeded then exec /usr/local/monit/
>>> > >> scripts/snowsuccess
>>> > >>     group check
>>
>
> Based on monit version 5.21.0 and 5.25.2 your sample should work.

I't seems to me, you should use a newer monit version to fix your
problem. From my point of view, monit 5.19.0 works well on (my) old
systems (Mac OS X, Linux).
With new systems I use monit 5.21.0 and in some weeks, I switch to monit
5.25.2, but the old systems are freezed to 5.19.0.

With regards,
Lutz


-- 
To unsubscribe:
https://lists.nongnu.org/mailman/listinfo/monit-general

Reply via email to