sensu-plugins / sensu-plugins-disk-checks

This plugin provides native disk instrumentation for monitoring and metrics collection, including: health, usage, and various metrics.
http://sensu-plugins.io
MIT License
27 stars 63 forks source link

AMZ2? #165

Open caspergasper opened 3 years ago

caspergasper commented 3 years ago

Is there a version of this for Amazon Linux 2? Just wondering if I'm missing something.

thanks,

WladyX commented 3 years ago

What I did as a quick & ditry workaround was:

type: Asset
api_version: core/v2
metadata:
  annotations:
    io.sensu.bonsai.api_url: https://bonsai.sensu.io/api/v1/assets/sensu-plugins/sensu-plugins-disk-checks
    io.sensu.bonsai.name: sensu-plugins-disk-checks
    io.sensu.bonsai.namespace: sensu-plugins
    io.sensu.bonsai.tags: ruby-runtime-2.4.4
    io.sensu.bonsai.tier: Community
    io.sensu.bonsai.url: https://bonsai.sensu.io/assets/sensu-plugins/sensu-plugins-disk-checks
    io.sensu.bonsai.version: 5.1.4
  created_by: p5admin
  name: sensu-plugins/sensu-plugins-disk-checks
  namespace: default
spec:
  builds:
  - filters:
    - entity.system.os == 'linux'
    - entity.system.arch == 'amd64'
    headers: null
    sha512: ac0c130d923888fad40a9faeebdbee4033a78f3970d3fa8b68897f861425855c000b8c4d72ccd42aaf1ae72141974e7d1646cf54fd12fd3532ae97d2dfa01d71
    url: https://assets.bonsai.sensu.io/9fb504d0f58ed6c388ea5e390b163bb62bd7b23b/sensu-plugins-disk-checks_5.1.4_centos8_linux_amd64.tar.gz
  filters: null
  headers: null
caspergasper commented 3 years ago

Thanks, I did realize after posting that I could just directly pull in the rhel asset, just a minor annoyance as I have AMZ2 and centos servers and would like to just declare the asset once.