add new monit ip address
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
---
|
||||
nrpe_allowed_hosts: '127.0.0.1,51.158.69.165'
|
||||
nrpe_allowed_hosts: '127.0.0.1,51.158.69.165,49.12.224.53'
|
||||
|
||||
nrpe_load_warning: "{{ ansible_processor_cores|int }}"
|
||||
nrpe_load_critical: "{{ (ansible_processor_cores * 2)|int }}"
|
||||
|
||||
@@ -77,3 +77,8 @@ command[check_proc_{{ process }}]=/usr/lib/nagios/plugins/check_systemd_service
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
|
||||
{% if nrpe_kubernetes is defined %}
|
||||
command[check_proc_kubelet]=/usr/lib/nagios/plugins/check_systemd_service kubelet
|
||||
command[check_proc_etcd]=/usr/lib/nagios/plugins/check_systemd_service etcd
|
||||
command[check_proc_containerd]=/usr/lib/nagios/plugins/check_systemd_service containerd
|
||||
{% endif %}
|
||||
|
||||
Reference in New Issue
Block a user