# compound - combine monitors

Combine (logical-and) multiple monitors. By default, if any monitor in the list is OK, this monitor is OK. If they all fail, this monitor fails. To change this limit use the `min_fail` setting.

Warning

Do not specify the other monitors in this monitor’s `depends` setting. The dependency handling for compound monitors is a special case and done for you.

monitors
  Type:

    comma-separated list of string

  Required:

    true

  the monitors to combine

min_fail
  Type:

    integer

  Required:

    false

  Default:

    the number of monitors in the list

  the number of monitors from the list which should be failed for this monitor to fail. The default is that all the monitors must fail.