mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-22 13:14:32 +02:00
ITL: mongodb: support --ssl-ca-cert-file
This commit is contained in:
parent
f59f361f09
commit
324b002c33
@ -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.
|
||||
|
@ -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$"
|
||||
|
Loading…
x
Reference in New Issue
Block a user