@@ -27,21 +27,21 @@ object CheckCommand "influxdb" {
2727 order = 1
2828 description = "Timeout for the check"
2929 }
30- "--tls " = {
30+ "--secure " = {
3131 set_if = "$influxdb_tls$"
3232 order = 1
33- description = "Use secure connection"
33+ description = "Use a HTTPS connection"
3434 }
3535 "--insecure" = {
3636 set_if = "$influxdb_insecure$"
3737 order = 1
38- description = "Allow use of self signed certificates when using SSL "
38+ description = "Skip the verification of the TLS certificate "
3939 }
4040 "--token" = {
4141 value = "$influxdb_token$"
4242 required = true
4343 order = 1
44- description = "The token which allows access to the API "
44+ description = "Token for server authentication "
4545 }
4646 "--org" = {
4747 value = "$influxdb_org$"
@@ -57,59 +57,22 @@ object CheckCommand "influxdb" {
5757 set_if = {{ macro("$influxdb_query$") == true }}
5858 description = "The bucket where time series data is stored"
5959 }
60- "--start" = {
61- value = "$influxdb_start$"
62- order = 4
63- description = "Specifies a start time range for your query"
64- }
65- "--end" = {
66- value = "$influxdb_end$"
67- order = 4
68- description = "Specifies the end of a time range for your query"
69- }
70- "--measurement" = {
71- value = "$influxdb_measurement$"
72- order = 5
73- description = "The data stored in the associated fields, e.g. 'disk'"
74- }
75- "--field" = {
76- value = "$influxdb_field$"
77- order = 6
78- description = "The key-value pair that records metadata and the actual data value"
79- }
80- "--filter" = {
81- value = "$influxdb_filter$"
82- order = 7
83- repeat_key = true
84- description = "Add a key=value filter to the query, e.g. 'hostname=example.com'"
85- }
86- "--raw-filter" = {
87- value = "$influxdb_raw_filter$"
88- order = 8
89- repeat_key = true
90- description = "A fully customizable filter which will be added to the query."
91- }
92- "--aggregation" = {
93- value = "$influxdb_aggregation$"
94- order = 9
95- description = "Function that returns an aggregated value across a set of points"
96- }
97- "--raw-query" = {
98- value = "$influxdb_raw_query$"
99- description = "An InfluxQL query which will be performed. Note: Only ONE value result will be evaluated"
100- }
101- "--value-by-key" = {
60+ "--flux-query" = {
61+ value = "$influxdb_flux_query$"
62+ description = "Flux script as string"
63+ }
64+ "--flux-file" = {
65+ value = "$influxdb_flux_string$"
66+ description = "Path to flux file"
67+ }
68+ "--perfdata-label-by-key" = {
10269 value = "$influxdb_value_by_key$"
10370 description = "Sets the label for the perfdata of the given column key for the record"
10471 }
10572 "--perfdata-label" = {
10673 value = "$influxdb_perfdata_label$"
10774 description = "Sets as custom label for the perfdata"
10875 }
109- "--verbose" = {
110- set_if = "$influxdb_verbose$"
111- description = "Display verbose output"
112- }
11376 "--critical" = {
11477 value = "$influxdb_critical$"
11578 description = "The critical threshold for a value"
0 commit comments