You've already forked nrpe
feat - add ceph check
This commit is contained in:
@@ -35,4 +35,12 @@ nagios ALL=(ALL) NOPASSWD: /usr/lib/nagios/plugins/check_pvesr
|
||||
{% 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 %}
|
||||
|
||||
{% if nrpe_ceph is defined %}
|
||||
nagios ALL=(ALL) NOPASSWD: /usr/bin/ceph health
|
||||
nagios ALL=(ALL) NOPASSWD: /usr/bin/ceph osd stat --format json
|
||||
nagios ALL=(ALL) NOPASSWD: /usr/bin/ceph mon stat --format json
|
||||
nagios ALL=(ALL) NOPASSWD: /usr/bin/ceph df --format json
|
||||
nagios ALL=(ALL) NOPASSWD: /usr/bin/ceph pg stat --format json
|
||||
{% endif %}
|
||||
Reference in New Issue
Block a user