Skip to main content
Run the alert.

Usage

Options

  • alerts_directory:
    • Type: STRING
    • Default: none
    • Usage: --alerts-directory --alerts-file -af
    The path to the alert yaml/alerts directory
  • alert_url:
    • Type: STRING
    • Default: none
    • Usage: --alert-url -au
    A url that can be used to download an alert yaml NOTE: This argument is mutually exclusive with alerts_directory
  • interval:
    • Type: INT
    • Default: 0
    • Usage: --interval -i
    When interval is set, Keep will run the alert every INTERVAL seconds
  • providers_file:
    • Type: STRING
    • Default: providers.yaml
    • Usage: --providers-file -p
    The path to the providers yaml
  • tenant_id:
    • Type: STRING
    • Default: singletenant
    • Usage: --tenant-id -t
    The tenant id
  • api_key:
    • Type: STRING
    • Default: none
    • Usage: --api-key
    The API key for keep’s API
  • api_url:
    • Type: STRING
    • Default: https://s.keephq.dev
    • Usage: --api-url
    The URL for keep’s API
  • help:
    • Type: BOOL
    • Default: false
    • Usage: --help
    Show this message and exit.

CLI Help