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

check-smart-status: Add --json to specify smart.json #27

Closed maoe closed 8 years ago

maoe commented 8 years ago

The path to smart.json is hard-coded but the file itself isn't included in the gem. This is inconvenient because we need to put a smart.json file where check-smart-status.rb file is installed.

As a fix to the issue, I've added --json option to specify the path.

analytically commented 8 years ago

Mind merging this PR with current HEAD?

maoe commented 8 years ago

Rebased on top of current master.

maoe commented 8 years ago

@analytically Would you mind releasing this as well?

eheydrick commented 8 years ago

Released in 1.1.3.

maoe commented 8 years ago

Thank you!