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

Bonsai filter for CentOS prevents usage with CentOS #123

Closed cabrel closed 4 years ago

cabrel commented 5 years ago

In .bonsai.yml the entity.system.platform is set to rhel for the CentOS filter. On CentOS, that property is 'centos' and in order for the asset to be applied properly it should be set to centos or (the more preferred option) the filter changed to entity.system.platform_family.

Offending line: https://github.com/sensu-plugins/sensu-plugins-disk-checks/blob/master/.bonsai.yml#L19

sensuctl entity state for a CentOS 7 box: 2019-05-22_12-57-43

nixwiz commented 4 years ago

Fixed in #141