From the documentation it sounds like the check extensions gives the ability for the check script to see the check object, correct? I see a lot of potential in not having to specify everything on the commandline but rather in the object (i.e. different thresholds for different time periods, logic comparing multiple metrics, etc).
How are check extensions configured? Looking at lib/sensu/client.rb it appears the check can’t define a ‘command’ option, but when excluding it the
validate_check() in settings.rb gives an error that it's missing. Is there an example of how to use this feature?