The configuration files generated by Bonsai are intended to be usable by default on target platform and architecture when using the default Sensu Go namespace, but its good practice to visually inspect the configuration file before you add it into your Sensu Go configuration.
Here are a few of things to consider adjusting:
Metadata
-
Namespace
Make sure the asset definition is updated for the namespace you intend to use it in. -
Name
You may want to change the name to better match your naming scheme.
Spec
-
Filters
You may find that the providedplatform
filter is too tight for your intended target. Try replacing it with aplatform_family
that matches the entity information.
You can use senscutl entity info --format yaml
to get detailed information about an entity including the platform_family