ITL: mongodb: support --ssl-ca-cert-file

This commit is contained in:
Alexander A. Klimov 2022-12-13 17:47:30 +01:00
parent f59f361f09
commit 324b002c33
2 changed files with 5 additions and 0 deletions

View File

@ -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.

View File

@ -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$"