Skip to main content

Sensu Node Steps (Enterprise)


Sensu Node Steps (Enterprise)

Available in PagerDuty Process Automation Commercial products.

Authentication

To authenticate Process Automation with Sensu, follow instructions outlined in this documentation.

Configuration

Sensu - Dispatch to Nodes
Sensu - Dispatch to Nodes

Sensu / Get Check Info

Sensu - Get Check
Sensu - Get Check
  • Check Name : This is the name of the check to gather information about. Set the API URL and API key in the project/framework settings prior to creating the job, there will be a list of checks that are currently in Sensu to choose from.

  • API URL : This is the endpoint that needs to be hit in order to get the checks for a specific account. For example, http://sensu:8080/api/core/v2/namespaces/default

  • API Key : This is the API key for the account with the check to get information about.

Sensu / Create / Silence Entry

Sensu - Create Silenced Entry
Sensu - Create Silenced Entry
  • Check Name : This is the check to delete a silence entry from. If the API URL and API key are set in the project/framework settings prior to creating the job, there will be a list of checks that are currently in Sensu to choose from.

  • Silence Reason : This is the reason that the node is being silenced.

  • Expired

  • This is when the silence entry on the node will expire. The value should be entered in number of seconds. (i.e. 60 for one minute)

  • Begin : This is when the silenced entry begins. Can specify seconds, minutes, hours. (I.e. 2s, 3m, 4h)

  • Expire on Resolve : If this is checked, then if the check finished successfully then the silenced entry will be deleted.

  • API URL : This is the endpoint that needs to be hit in order to create a silence entry for a specific account. (For example: http://sensu:8080/api/core/v2/namespaces/default)

  • API Key : This is the API key for the account to create a silenced entry in.

Sensu / Delete / Silence Entry

Sensu - Delete Silenced Entry
Sensu - Delete Silenced Entry
  • Check Name : This is the check to delete a silence entry from. If the API URL and API key are set in the project/framework settings prior to creating the job, there will be a list of checks that are currently in Sensu to choose from.

  • API URL : This is the endpoint that needs to be hit in order to silence an entry. For example, http://sensu:8080/api/core/v2/namespaces/default

  • API Key : This is the API key for the account with the silence entry to delete.

Sensu / Event / Create

Sensu - Create Event
Sensu - Create Event
  • Check Name : This is the check to set on the new event. If the API URL and API key are set in the project/framework settings prior to creating the job, there will be a list of check options that are currently in Sensu to choose from.

  • Output : This is the check output that to be applied to the new event.

  • State : This is the state of the new event that is being created. If the API URL and API key are set in the project/framework settings prior to creating the job, there will be a list of state options that are currently in Sensu to choose from.

  • Status : This is the status of the new event that is being created. If the API URL and API key are set in the project/framework settings prior to creating the job, there will be a list of status options that are currently in Sensu to choose from.

  • Check Handlers : If one of the check handlers is selected, it will apply those handlers to the new event. I.e. if "Slack Handler" is selected, a notification will be sent to slack.

  • Check Interval : This is the interval period to check for new checks.

  • API URL : This is the endpoint that needs to be hit in order to create an event for that account. For example, http://sensu:8080/api/core/v2/namespaces/default

  • API Key : This is the API key for the account to create the event in.

Sensu / Run ad hoc Check

Sensu - Run ad hoc Check
Sensu - Run ad hoc Check
  • Check Name : This is the check to run. If the API URL and API key are set in the project/framework settings prior to creating the job, there will be a list of check options that are currently in Sensu to choose from.

  • Print Output : If this box is checked, it will only print the output of the check and not the full API call's response.

  • Wait for the event : If this box is checked, it will wait for the event to finish before running the check.

  • API URL : This is the endpoint that needs to be hit in order to run an ad hoc check for an account. For example, http://sensu:8080/api/core/v2/namespaces/default

  • API Key : This is the API key for the account with the check to run.