diff --git a/roles/db/files/nrpe/95-mariadb.cfg b/roles/db/files/nrpe/95-mariadb.cfg index 79e9e36..5e28bf2 100644 --- a/roles/db/files/nrpe/95-mariadb.cfg +++ b/roles/db/files/nrpe/95-mariadb.cfg @@ -2,3 +2,4 @@ command[check_disk_mysqldata]=/usr/lib/nagios/plugins/check_disk -w 10% -c 5% -p command[check_disk_mysqlbin]=/usr/lib/nagios/plugins/check_disk -w 10% -c 5% -p /mnt/mysqlbin command[check_disk_backup]=/usr/lib/nagios/plugins/check_disk -w 10% -c 5% -p /mnt/local-backup command[check_mysql_scheduler]=/etc/nagios/plugins/check_mysql_scheduler +command[check_total_procs]=/usr/lib/nagios/plugins/check_procs -w 600 -c 700 diff --git a/roles/db/templates/mariabackup/apply.config.sh b/roles/db/templates/mariabackup/apply.config.sh index a175dd8..c74176b 100755 --- a/roles/db/templates/mariabackup/apply.config.sh +++ b/roles/db/templates/mariabackup/apply.config.sh @@ -15,7 +15,7 @@ dbClusterSiblings=() # Jenkins authentication string jenkinsAuth=jenkins:{{ lookup(passbolt, 'jenkinsAuth', folder_parent_id=passbolt_folder).password }} -{% if db.jenkinsUrl is defined %} +{% if db.jenkinsJob is defined %} # Jenkins job URL -jenkinsUrl={{ db.jenkinsUrl }} +jenkinsUrl={{ jenkinsUrl }}{{ db.jenkinsJob }} {% endif %}