You've already forked nrpe
add check_pbs_backup
This commit is contained in:
@@ -162,3 +162,10 @@ command[check_ceph_mon]=/usr/lib/nagios/plugins/check_ceph mon
|
||||
command[check_ceph_cap]=/usr/lib/nagios/plugins/check_ceph cap
|
||||
command[check_ceph_pg]=/usr/lib/nagios/plugins/check_ceph pg
|
||||
{% endif %}
|
||||
|
||||
{% if nrpe_pbs is defined %}
|
||||
# pbs backups
|
||||
{% for backup_id in nrpe_pbs.backups %}
|
||||
command[check_pbs_backup_{{ backup_id }}]=/usr/lib/nagios/plugins/check_pbs_backup -H {{ nrpe_pbs.host }} -T {{ nrpe_pbs.token }} -s {{ nrpe_pbs.store }} -n {{ backup_id }}{{ ' -t ' + nrpe_pbs.type if nrpe_pbs.type is defined else '' }}{{ ' -P ' + nrpe_pbs.port|string if nrpe_pbs.port is defined else '' }}{{ ' -N ' + nrpe_pbs.namespace if nrpe_pbs.namespace is defined else '' }}{{ ' -k' if nrpe_pbs.ssl_insecure | default(false) else '' }}
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
Reference in New Issue
Block a user