Explorar el Código

Merge pull request #99 from erickcantwell/MMO-132

[MMO-132] Check the length of the dict, instead of if it's defined (it
fix/change_group_user_order_preven_2x_run
Filip Pytloun hace 7 años
padre
commit
2d5b9509c4
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. +1
    -1
      linux/meta/sensu.yml

+ 1
- 1
linux/meta/sensu.yml Ver fichero

@@ -18,7 +18,7 @@ check:
occurrences: 1
subscribers:
- local-linux-system
{%- if storage.swap is defined %}
{%- if storage.swap|length > 0 %}
local_linux_storage_swap_usage_{{ system.name|replace('.', '-') }}-{{ system.domain|replace('.', '-') }}:
command: "PATH=$PATH:/usr/lib64/nagios/plugins:/usr/lib/nagios/plugins check_swap -a -w {{ monitoring.swap.warn }} -c {{ monitoring.swap.crit }}"
interval: 60

Cargando…
Cancelar
Guardar