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
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$"