Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Creating trigger via API

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
Highlighted

Re: Creating trigger via API

Cloudera Employee

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