Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-15968

action object api documentation does not explain when pause_suppressed is valid

XMLWordPrintable

    • Icon: Documentation task Documentation task
    • Resolution: Fixed
    • Icon: Trivial Trivial
    • 5.2 (plan)
    • 4.0.6
    • Documentation (D)
    • None
    • Sprint 66 (Jul 2020)

      See https://www.zabbix.com/documentation/4.0/manual/api/reference/action/object .
      It does not mention that pause_suppressed is only valid for trigger actions. Attempting to pass it for a discovery action results in:

      Cannot set "pause_suppressed" for action

      Other fields like esc_period, esc_step_from and esc_step_from might also be only supported for some action types (not supported for discovery actions, for example), although they do not seem to fail the validation currently. Nevertheless, it might be a good idea to document valid scope for all parameters.

            martins-v Martins Valkovskis
            richlv richlv
            Team D
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: