mirror of https://github.com/Icinga/icinga2.git
Merge pull request #5954 from Icinga/feature/itl-mongodb-authdb
ITL: Add mongodb --authdb parameter support
This commit is contained in:
commit
08e664f971
|
@ -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.
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue