You've already forked nrpe
update default var & templates for the previous checks
This commit is contained in:
@@ -2,6 +2,8 @@ nagios ALL=(ALL) NOPASSWD: /usr/lib/nagios/plugins/check_postfix_mailqueue -w {{
|
||||
nagios ALL=(ALL) NOPASSWD: /usr/lib/nagios/plugins/check_exim_mailqueue -w {{ nrpe_mailq_warning }} -c {{ nrpe_mailq_critical }}
|
||||
nagios ALL=(ALL) NOPASSWD: /usr/lib/nagios/plugins/check_raid
|
||||
nagios ALL=(ALL) NOPASSWD: /usr/sbin/needrestart -b -l
|
||||
|
||||
{% if nrpe_kubernetes_controlplane is defined %}
|
||||
nagios ALL=(ALL) NOPASSWD: /usr/lib/nagios/plugins/check_cilium_health
|
||||
nagios ALL=(ALL) NOPASSWD: /usr/lib/nagios/plugins/check_coredns_health
|
||||
nagios ALL=(ALL) NOPASSWD: /usr/lib/nagios/plugins/check_etcd_health
|
||||
@@ -12,4 +14,25 @@ nagios ALL=(ALL) NOPASSWD: /usr/lib/nagios/plugins/check_k8s_pki_certs
|
||||
nagios ALL=(ALL) NOPASSWD: /usr/lib/nagios/plugins/check_k8s_pv_pvc
|
||||
nagios ALL=(ALL) NOPASSWD: /usr/lib/nagios/plugins/check_k8s_replicasets
|
||||
nagios ALL=(ALL) NOPASSWD: /usr/lib/nagios/plugins/check_k8s_pod_restarts
|
||||
nagios ALL=(ALL) NOPASSWD: /usr/lib/nagios/plugins/check_redis_health
|
||||
{% endif %}
|
||||
|
||||
{% if nrpe_redis_memory_warning is defined or nrpe_redis_memory_critical is defined or nrpe_redis_persistence is defined %}
|
||||
nagios ALL=(ALL) NOPASSWD: /usr/lib/nagios/plugins/check_redis_health
|
||||
{% endif %}
|
||||
|
||||
{% if nrpe_zpool_name is defined %}
|
||||
nagios ALL=(ALL) NOPASSWD: /usr/lib/nagios/plugins/check_zpool_health {{ nrpe_zpool_name }}
|
||||
{% endif %}
|
||||
|
||||
{% if nrpe_pve_quorum is defined %}
|
||||
nagios ALL=(ALL) NOPASSWD: /usr/lib/nagios/plugins/check_pve_quorum
|
||||
{% endif %}
|
||||
|
||||
{% if nrpe_pvesr is defined %}
|
||||
nagios ALL=(ALL) NOPASSWD: /usr/lib/nagios/plugins/check_pvesr
|
||||
{% endif %}
|
||||
|
||||
{% if nrpe_nvme_device is defined %}
|
||||
nagios ALL=(ALL) NOPASSWD: /usr/lib/nagios/plugins/check_nvme_smart -d {{ nrpe_nvme_device }} -w {{ nrpe_nvme_smart_warning }} -c {{ nrpe_nvme_smart_critical }}
|
||||
nagios ALL=(ALL) NOPASSWD: /usr/lib/nagios/plugins/check_nvme_temperature -d {{ nrpe_nvme_device }} -w {{ nrpe_nvme_temperature_warning }} -c {{ nrpe_nvme_temperature_critical }}
|
||||
{% endif %}
|
||||
Reference in New Issue
Block a user