s3_storage_availability.rb 405 B

12345678910111213141516
  1. # Copyright (C) 2012-2024 Zammad Foundation, https://zammad-foundation.org/
  2. module MonitoringHelper
  3. class HealthChecker
  4. class S3StorageAvailability < Backend
  5. def run_health_check
  6. return if Setting.get('storage_provider') != 'S3'
  7. return if Store::Provider::S3.ping?
  8. response.issues.push __('The Simple Storage Service is not available.')
  9. end
  10. end
  11. end
  12. end