diff --git a/doc/10-icinga-template-library.md b/doc/10-icinga-template-library.md index dc3ff5df7..847d58b27 100644 --- a/doc/10-icinga-template-library.md +++ b/doc/10-icinga-template-library.md @@ -2559,6 +2559,7 @@ mongodb_perfdata | **Optional.** Enable output of Nagios perform mongodb_database | **Optional.** Specify the database to check. mongodb_alldatabases | **Optional.** Check all databases (action database_size). mongodb_ssl | **Optional.** Connect using SSL. +mongodb_ssl_ca_cert_file | **Optional.** Path to certificate authority file for SSL. mongodb_replicaset | **Optional.** Connect to replicaset. mongodb_replcheck | **Optional.** If set to true, will enable the mongodb_replicaset value needed for "replica_primary" check. mongodb_querytype | **Optional.** The query type to check [query\|insert\|update\|delete\|getmore\|command] from queries_per_second. diff --git a/itl/plugins-contrib.d/databases.conf b/itl/plugins-contrib.d/databases.conf index 550e7ae88..7d3a1cbe4 100644 --- a/itl/plugins-contrib.d/databases.conf +++ b/itl/plugins-contrib.d/databases.conf @@ -679,6 +679,10 @@ object CheckCommand "mongodb" { set_if = "$mongodb_ssl$" description = "Connect using SSL" } + "--ssl-ca-cert-file" = { + value = "$mongodb_ssl_ca_cert_file$" + description = "Path to certificate authority file for SSL" + } "--replicaset" = { value = "$mongodb_replicaset$" set_if = "$mongodb_replcheck$"