You've already forked nrpe
ssl - add default var & declaration
This commit is contained in:
@@ -59,3 +59,7 @@ nrpe_proc_age_critical: 600
|
||||
|
||||
nrpe_uptime_warning: 1440
|
||||
nrpe_uptime_critical: 30
|
||||
|
||||
nrpe_ssl_path: '/etc/haproxy/ssl'
|
||||
nrpe_ssl_warning: 21
|
||||
nrpe_ssl_critical: 14
|
||||
|
||||
@@ -35,6 +35,11 @@ command[check_rw_root]=/usr/lib/nagios/plugins/check_rofs /
|
||||
# uptime
|
||||
command[check_uptime]=/usr/lib/nagios/plugins/check_uptime -w {{ nrpe_uptime_warning }} -c {{ nrpe_uptime_critical }}
|
||||
|
||||
{% if nrpe_ssl is defined %}
|
||||
# ssl
|
||||
command[check_ssl_cert]=/usr/lib/nagios/plugins/check_ssl_cert -p {{ nrpe_ssl_path }} -w {{ nrpe_ssl_warning }} -c {{ nrpe_ssl_critical }}
|
||||
{% endif %}
|
||||
|
||||
{% if nrpe_mysql is defined %}
|
||||
# mysql
|
||||
command[check_mysql]=/usr/lib/nagios/plugins/check_mysql -u {{ nrpe_mysql_user }} -p{{ nrpe_mysql_password }} -H {{ nrpe_mysql_host }} -d mysql
|
||||
|
||||
Reference in New Issue
Block a user