For defining a check, as per documentation we have to use “type: CheckConfig”. But while converting checks from sensu-core using conversion tool files are getting created with “type:Check”. Does both work fine?
Regards
For defining a check, as per documentation we have to use “type: CheckConfig”. But while converting checks from sensu-core using conversion tool files are getting created with “type:Check”. Does both work fine?
Regards
I believe this is currently a backwards compatible type definition that sensuctl understands so this shouldn’t be a problem.
I just tested this locally using sensuctl 6.3.0 following this procedure:
sensuctl check info
command using the --format wrapped-json
optionsensuctl check delete
"type": "Check"
sensuctl create -f
Check was re-created without error, type was converted to CheckConfig.
Thanks for confirming …