sensu-plugins / sensu-plugins-aws

This plugin provides native AWS instrumentation for monitoring and metrics collection, including: health and metrics for various AWS services, such as EC2, RDS, ELB, and more, as well as handlers for EC2, SES, and SNS.
http://sensu-plugins.io
MIT License
81 stars 143 forks source link

Add --ok-no-file to check-s3-object #399

Open jaszka opened 1 year ago

jaszka commented 1 year ago

Pull Request Checklist

Is this in reference to an existing issue?

General

New Plugins

Purpose

Add an option to pass check when file is not found. In our case we search group of files by some prefix and they are moved between "directories", so it's fine if they don't exist, the only problem is when they are too old.

Known Compatibility Issues