New Contributor
Posts: 1
Registered: ‎06-04-2019

Creating trigger via API

[ Edited ]

Hi, Is there a way to create a trigger using Cloudera Manager API, as opposed to Web UI?

Cloudera Employee
Posts: 11
Registered: ‎10-01-2018

Re: Creating trigger via API

Hi ,

As per our documentation creating trigger will only be possible like below

Triggers can be created for services, roles, role configuration groups, or hosts. Create a trigger by doing one of the following:
  • Directly editing the configuration for the service, role (or role configuration group), or host configuration.

  • Clicking Create Trigger on the drop-down menu for most charts. Note that the Create Trigger command is not available on the drop-down menu for charts where no context (role, service, and so on) is defined, such as on the Home > Status tab.
  • Use the Create Trigger expression builder. See documentation link below