ZendutyAlert ZendutyAlert
ZendutyAlert Certified

yaml
type: "io.kestra.plugin.zenduty.ZendutyAlert"
yaml
id: unreliable_flow
namespace: company.team

tasks:
  - id: fail
    type: io.kestra.plugin.scripts.shell.Commands
    commands:
      - exit 1

errors:
  - id: alert_on_failure
    type: io.kestra.plugin.zenduty.ZendutyAlert
    url: "https://www.zenduty.com/api/events/{{ secret('ZENDUTY_INTEGRATION_KEY') }}/"
    payload: |
      {
        "alert_type": "info",
        "message": "This is info alert",
        "summary": "This is the incident summary",
        "suppressed": false,
        "entity_id": 12345,
        "payload": {
            "status": "ACME Payments are failing",
            "severity": "1",
            "project": "kubeprod"
          },
        "urls": [
          {
            "link_url": "https://www.example.com/alerts/12345/",
            "link_text": "Alert URL"
          }
        ]
      }
Properties
Min length1
Definitions
connectTimeoutstring
connectionPoolIdleTimeoutstring
DefaultPT0S
defaultCharsetstring
DefaultUTF-8
headersobject
SubTypestring
maxContentLengthintegerstring
Default10485760
readIdleTimeoutstring
DefaultPT5M
readTimeoutstring
DefaultPT10S

Create automations with Zenduty ZendutyAlert