You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sensu Puppet types & providers need the ability to specify both client side check configuration as well as the ability to send data to the handler when events are produced.
Check configuration
This allows the Type to specify information which can be used in command token substitution for checks. Reasoning being that the check can be generic and reusable across all hosts. The variables in the check are configured on a client-by-client basis.
Additional Check Metadata
All JSON values configured in the check is sent to the Sensu server / handler when an event is triggered. Using this feature clients can configure overrides as well as send additional metadata to with event for use in handlers. In this example, I override the email address to send the alert to in the 'sendgrid' handler instead of the default email address. The event also contains a URL to the wiki on how to fix the issue. The puppet module should allow me to specify 'check level' additional JSON values to send to the handler so I can use it in my custom handler code..
Example - Additional check metadata sent to Sensu handlers
Sensu Puppet types & providers need the ability to specify both client side check configuration as well as the ability to send data to the handler when events are produced.
Check configuration
This allows the Type to specify information which can be used in command token substitution for checks. Reasoning being that the check can be generic and reusable across all hosts. The variables in the check are configured on a client-by-client basis.
Example - Client Check Configuration
Additional Check Metadata
All JSON values configured in the check is sent to the Sensu server / handler when an event is triggered. Using this feature clients can configure overrides as well as send additional metadata to with event for use in handlers. In this example, I override the email address to send the alert to in the 'sendgrid' handler instead of the default email address. The event also contains a URL to the wiki on how to fix the issue. The puppet module should allow me to specify 'check level' additional JSON values to send to the handler so I can use it in my custom handler code..
Example - Additional check metadata sent to Sensu handlers
The text was updated successfully, but these errors were encountered: