ITL: Add tempdir attribute to postgres CheckCommand

fixes #13449
This commit is contained in:
Michael Friedrich 2016-12-07 16:56:12 +01:00
parent 1dc2fe7ebb
commit 5db468b3ca
2 changed files with 5 additions and 0 deletions

View File

@ -2109,6 +2109,7 @@ postgres_unixsocket | **Optional.** If "postgres_unixsocket" is set to true, th
postgres_query | **Optional.** Query for "custom_query" action.
postgres_valtype | **Optional.** Value type of query result for "custom_query".
postgres_reverse | **Optional.** If "postgres_reverse" is set, warning and critical values are reversed for "custom_query" action.
postgres_tempdir | **Optional.** Specify directory for temporary files. The default directory is dependent on the OS. More details [here](http://perldoc.perl.org/File/Spec.html).
#### <a id="plugin-contrib-command-mongodb"></a> mongodb

View File

@ -495,6 +495,10 @@ object CheckCommand "postgres" {
set_if = "$postgres_reverse$"
description = "reverses warning and critical for custom_query action"
}
"--tempdir" = {
value = "$postgres_tempdir$"
description = "specify directory for temporary files. default depends on the OS"
}
}
vars.postgres_host = "$check_address$"