mirror of https://github.com/Icinga/icinga2.git
Add the Option to disable RetryWrites to CheckCommand of mongodb (#9539)
* Add the Option to disable RetryWrites to CheckCommand for newer check_mongodb.py * Add documentation foor the Option to disable RetryWrites in the MongoDB-Check
This commit is contained in:
parent
2d860a0f5e
commit
0bdcd08e02
|
@ -2566,6 +2566,7 @@ mongodb_replcheck | **Optional.** If set to true, will enable the
|
||||||
mongodb_querytype | **Optional.** The query type to check [query\|insert\|update\|delete\|getmore\|command] from queries_per_second.
|
mongodb_querytype | **Optional.** The query type to check [query\|insert\|update\|delete\|getmore\|command] from queries_per_second.
|
||||||
mongodb_collection | **Optional.** Specify the collection to check.
|
mongodb_collection | **Optional.** Specify the collection to check.
|
||||||
mongodb_sampletime | **Optional.** Time used to sample number of pages faults.
|
mongodb_sampletime | **Optional.** Time used to sample number of pages faults.
|
||||||
|
mongodb_disableretrywrites | **Optional.** If set to true, will disable Retry Writes, to allow counting the QPS.
|
||||||
|
|
||||||
#### elasticsearch <a id="plugin-contrib-command-elasticsearch"></a>
|
#### elasticsearch <a id="plugin-contrib-command-elasticsearch"></a>
|
||||||
|
|
||||||
|
|
|
@ -700,6 +700,10 @@ object CheckCommand "mongodb" {
|
||||||
value = "$mongodb_warning$"
|
value = "$mongodb_warning$"
|
||||||
description = "The warning threshold we want to set"
|
description = "The warning threshold we want to set"
|
||||||
}
|
}
|
||||||
|
"--disable_retry_writes" = {
|
||||||
|
set_if = "$mongodb_disableretrywrites$"
|
||||||
|
description = "Disable Retry Writes"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
vars.mongodb_host = {{
|
vars.mongodb_host = {{
|
||||||
|
|
Loading…
Reference in New Issue