Name | Description
----------------|--------------
nscp_path | **Optional.** Can be used to override the NSClient++ on a per-command basis. Defaults to NscpPath.
+nscp_log_level | **Optional.** The log level. Defaults to "critical".
+nscp_load_all | **Optional.** Whether to load all modules. Defaults to true.
nscp_boot | **Optional.** Whether to use the --boot option. Defaults to true.
nscp_query | **Required.** The NSClient++ query. Try `nscp client -q x` for a list.
nscp_arguments | **Optional.** An array of query arguments.
command = [ NscpPath, "client" ]
arguments = {
+ "--log" = "$nscp_log_level$"
+ "--load-all" = { set_if ="$nscp_load_all$" }
"-q" = {
value = "$nscp_query$"
required = true
}
vars.nscp_path = {{ NscpPath }}
+ vars.nscp_log_level = "critical"
+ vars.nscp_load_all = true
vars.nscp_boot = true
}