Support Questions
Find answers, ask questions, and share your expertise

Creating trigger via API

New Contributor

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

1 REPLY 1

Re: Creating trigger via API

Contributor

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