default.j2 804 B

123456789101112131415161718192021222324252627282930
  1. {% if ansible_prolog -%}
  2. {% from 'templates/ansible/prolog.j2' import prolog with context %}
  3. {{ prolog() }}
  4. {% endif -%}
  5. # Defaults for mon initscript
  6. # Created by Dario Minnucci <midget@debian.org>
  7. # Master system-wide mon switch.
  8. # The initscript will not run if ENABLED is set·
  9. # to values other than: "yes", "true" or "1".
  10. ENABLED="yes"
  11. # Configuration file
  12. CONFIGFILE="/etc/mon/mon.cf"
  13. # Auth file
  14. #AUTHFILE="/etc/mon/auth.cf"
  15. # Base configuration directory
  16. CFBASEDIR="/etc/mon"
  17. # Alerts directory
  18. ALERTSDIR="/usr/lib/mon/alert.d"
  19. # Monitors directory
  20. MONITORSDIR="/etc/mon/mon.d"
  21. # State directory
  22. STATEDIR="/var/lib/mon"
  23. # Logging directory
  24. LOGDIR="/var/log/mon"
  25. # Deamon options
  26. DAEMON_OPTS="-B ${CFBASEDIR} -a ${ALERTSDIR} -s ${MONITORSDIR} -D ${STATEDIR} -L ${LOGDIR} -f -c ${CONFIGFILE}"