ITL: Add mongodb --authdb parameter support

fixes #5260
This commit is contained in:
Michael Friedrich 2018-01-08 14:14:04 +01:00
parent 256ea74b58
commit 2035506956
2 changed files with 5 additions and 0 deletions

View File

@ -2358,6 +2358,7 @@ mongodb_host | **Required.** Specifies the hostname or addre
mongodb_port | **Required.** The port mongodb is running on.
mongodb_user | **Optional.** The username you want to login as.
mongodb_passwd | **Optional.** The password you want to use for that user.
mongodb_authdb | **Optional.** The database you want to authenticate against.
mongodb_warning | **Optional.** The warning threshold we want to set.
mongodb_critical | **Optional.** The critical threshold we want to set.
mongodb_action | **Required.** The action you want to take.

View File

@ -633,6 +633,10 @@ object CheckCommand "mongodb" {
value = "$mongodb_passwd$"
description = "The password you want to use for that user"
}
"-a" = {
value = "$mongodb_authdb$"
description = "The database you want to authenticate against"
}
"-A" = {
value = "$mongodb_action$"
description = "The action you want to take"