# This file was generated by Ansible. # Any changes made to this file will be lost. check system {{ monit_system.hostname }} {% for w in monit_system.when %} {% if w.alert == true %} if {{ w.type }} {{ w.usage }} for {{ w.cycles }} cycles then alert {% elif w.exec != '' %} if {{ w.type }} {{ w.usage }} for {{ w.cycles }} cycles then exec {{ w.exec }} else if succeeded then exec {{ w.exec }} {% else %} if {{ w.type }} {{ w.usage }} for {{ w.cycles }} cycles {% endif %} {% endfor %}