Browse Source

monitoring: increased max proc for lxc host

python3
Zolfa 4 years ago
parent
commit
6ddf490a00
Signed by: zolfa GPG Key ID: E1A43B038C4D6616
1 changed files with 13 additions and 0 deletions
  1. +13
    -0
      prepare_host.yaml

+ 13
- 0
prepare_host.yaml View File

@ -70,6 +70,19 @@
regexp: '^\s*.+wipe_signatures_when_zeroing_new_lvs = '
notify: 'restart lvm'
- name: 'set monitoring max procs'
set_fact:
monitoring_facts: >
{{ hostvars[monitoring_host]['monitoring_facts']
| default({})
| combine({host_fqdn: { "vars": { "procs_warning": 2500,
"procs_critical": 4000 } }
}, recursive=true) }}
delegate_to: '{{ monitoring_host }}'
delegate_facts: true
tags:
- 'monitoring'
~
handlers:
- name: 'restart networking'
service:


Loading…
Cancel
Save