burp.conf 481 B

123456789101112131415161718192021
  1. #
  2. # Check burp backup
  3. #
  4. {%- set burp_server = salt['pillar.get']('burp:server:fqdn') %}
  5. apply Service "burp_backup" {
  6. import "generic-service"
  7. check_interval = 1h
  8. check_command = "file_age"
  9. vars.file_age_warning_time = 100800 # 28h
  10. vars.file_age_critical_time = 115200 # 32h
  11. vars.file_age_file = "/srv/burp/" + host.name + "/current"
  12. command_endpoint = "{{ burp_server }}"
  13. assign where host.address && host.vars.os == "linux" && "backup" in host.vars.tags
  14. }