Skip to content

Commit

Permalink
Update icingaweb2-module-director basket.json
Browse files Browse the repository at this point in the history
  • Loading branch information
markuslf committed Mar 15, 2024
1 parent 8a5e590 commit 2e1bdf3
Show file tree
Hide file tree
Showing 7 changed files with 131 additions and 94 deletions.
92 changes: 64 additions & 28 deletions check-plugins/csv-values/icingaweb2-module-director/csv-values.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@
"--quotechar": {
"value": "$csv_values_quotechar$"
},
"--skip-header": {
"set_if": "$csv_values_skip_header$"
},
"--timeout": {
"value": "$csv_values_timeout$"
},
Expand Down Expand Up @@ -141,6 +144,11 @@
"datafield_id": 17,
"is_required": "n",
"var_filter": null
},
{
"datafield_id": 18,
"is_required": "n",
"var_filter": null
}
],
"imports": [],
Expand Down Expand Up @@ -191,6 +199,9 @@
"--quotechar": {
"value": "$csv_values_windows_quotechar$"
},
"--skip-header": {
"set_if": "$csv_values_windows_skip_header$"
},
"--timeout": {
"value": "$csv_values_windows_timeout$"
},
Expand All @@ -210,24 +221,19 @@
"command": "C:\\ProgramData\\icinga2\\usr\\lib64\\nagios\\plugins\\csv-values.exe",
"disabled": false,
"fields": [
{
"datafield_id": 18,
"is_required": "n",
"var_filter": null
},
{
"datafield_id": 19,
"is_required": "n",
"var_filter": null
},
{
"datafield_id": 20,
"is_required": "y",
"is_required": "n",
"var_filter": null
},
{
"datafield_id": 21,
"is_required": "n",
"is_required": "y",
"var_filter": null
},
{
Expand Down Expand Up @@ -294,6 +300,16 @@
"datafield_id": 34,
"is_required": "n",
"var_filter": null
},
{
"datafield_id": 35,
"is_required": "n",
"var_filter": null
},
{
"datafield_id": 36,
"is_required": "n",
"var_filter": null
}
],
"imports": [],
Expand Down Expand Up @@ -371,6 +387,7 @@
"csv_values_insecure": false,
"csv_values_no_proxy": false,
"csv_values_quotechar": "\"",
"csv_values_skip_header": false,
"csv_values_timeout": 3
},
"volatile": null,
Expand Down Expand Up @@ -468,6 +485,7 @@
"csv_values_windows_insecure": false,
"csv_values_windows_no_proxy": false,
"csv_values_windows_quotechar": "\"",
"csv_values_windows_skip_header": false,
"csv_values_windows_timeout": 3
},
"volatile": null,
Expand Down Expand Up @@ -603,6 +621,15 @@
"uuid": "88d8a553-96c6-4587-aa59-6e4dac6b3c79"
},
"13": {
"varname": "csv_values_skip_header",
"caption": "Csv Values: Skip Header?",
"description": "Treat the first row as header names, and skip this row.",
"datatype": "Icinga\\Module\\Director\\DataType\\DataTypeBoolean",
"format": null,
"settings": {},
"uuid": "dd78017a-148f-44a4-ac04-9c8856179058"
},
"14": {
"varname": "csv_values_timeout",
"caption": "Csv Values: Timeout",
"description": "Network timeout in seconds.",
Expand All @@ -613,7 +640,7 @@
},
"uuid": "0e1e911d-985f-4501-b2ce-7dc6cc566613"
},
"14": {
"15": {
"varname": "csv_values_url",
"caption": "Csv Values: URL",
"description": "Set the url of the CSV file, either starting with \"http://\", \"https://\" or \"smb://\". This is mutually exclusive with --filename.",
Expand All @@ -624,7 +651,7 @@
},
"uuid": "5cc2007c-1147-4290-b66f-cb25013e9bee"
},
"15": {
"16": {
"varname": "csv_values_username",
"caption": "Csv Values: Username",
"description": "SMB or HTTP Basic Auth Username.",
Expand All @@ -635,7 +662,7 @@
},
"uuid": "d65dfc94-7a8f-4548-ad46-f935bd0ae567"
},
"16": {
"17": {
"varname": "csv_values_warning",
"caption": "Csv Values: Warning",
"description": "Set the WARN threshold. Supports ranges.",
Expand All @@ -646,7 +673,7 @@
},
"uuid": "2a8921d4-bd95-44f4-b351-55cc4d16ce9c"
},
"17": {
"18": {
"varname": "csv_values_warning_query",
"caption": "Csv Values: Warning Query",
"description": "`SELECT` statement. If its result contains more than one column, the number of rows is checked against `--warning`, otherwise the single value is used.",
Expand All @@ -657,7 +684,7 @@
},
"uuid": "3a64e696-07c8-410a-bb76-eeb2ebfffbad"
},
"18": {
"19": {
"varname": "csv_values_windows_always_ok",
"caption": "Csv Values: Always OK?",
"description": "Always returns OK.",
Expand All @@ -666,7 +693,7 @@
"settings": {},
"uuid": "25b77ed6-ec13-4f8d-8054-52bef7c1ad12"
},
"19": {
"20": {
"varname": "csv_values_windows_chunksize",
"caption": "Csv Values: Chunksize",
"description": "Breaks up the transfer of data from the csv to the SQLite database in chunks as to not run out of memory.",
Expand All @@ -677,7 +704,7 @@
},
"uuid": "1d240be7-12ee-4027-be4c-e9b417b3311d"
},
"20": {
"21": {
"varname": "csv_values_windows_columns_query",
"caption": "Csv Values: Columns Query",
"description": "Describe the columns and their datatypes using an sql statement. Example: `\"col1 INTEGER PRIMARY KEY, col2 TEXT NOT NULL, col3 TEXT NOT NULL UNIQUE\"`",
Expand All @@ -688,7 +715,7 @@
},
"uuid": "06950ee1-1b9f-4a99-ac21-ed58f022feca"
},
"21": {
"22": {
"varname": "csv_values_windows_critical",
"caption": "Csv Values: Critical",
"description": "Set the CRIT threshold. Supports ranges.",
Expand All @@ -699,7 +726,7 @@
},
"uuid": "971cd1ae-53d8-4943-9fce-166e62b24b0d"
},
"22": {
"23": {
"varname": "csv_values_windows_critical_query",
"caption": "Csv Values: Critical Query",
"description": "`SELECT` statement. If its result contains more than one column, the number of rows is checked against `--critical`, otherwise the single value is used.",
Expand All @@ -710,7 +737,7 @@
},
"uuid": "cbcf1cb2-687d-43c8-b4ca-e4e7c7f8297d"
},
"23": {
"24": {
"varname": "csv_values_windows_delimiter",
"caption": "Csv Values: Delimiter",
"description": "CSV delimiter.",
Expand All @@ -721,7 +748,7 @@
},
"uuid": "c272175b-0459-4f84-bd52-3fcf7191c67b"
},
"24": {
"25": {
"varname": "csv_values_windows_filename",
"caption": "Csv Values: Filename",
"description": "Path to CSV file. This is mutually exclusive with -u / --url.",
Expand All @@ -732,7 +759,7 @@
},
"uuid": "530cd993-3806-4843-aba4-97d6d9881764"
},
"25": {
"26": {
"varname": "csv_values_windows_insecure",
"caption": "Csv Values: Insecure?",
"description": "This option explicitly allows to perform \"insecure\" SSL connections.",
Expand All @@ -741,7 +768,7 @@
"settings": {},
"uuid": "02b44096-1d88-43cd-bbcc-450926383513"
},
"26": {
"27": {
"varname": "csv_values_windows_newline",
"caption": "Csv Values: Newline",
"description": "CSV newline. When reading input from the CSV, if newline is `None`, universal newlines mode is enabled. Lines in the input can end in `\" \"`, `\"\r\"`, or `\"\r \"`, and these are translated into `\" \"` before being returned to this plugin. If it is `\"\"`, universal newlines mode is enabled, but line endings are returned to this plugin untranslated. If it has any of the other legal values, input lines are only terminated by the given string, and the line ending is returned to this plugin untranslated.",
Expand All @@ -752,7 +779,7 @@
},
"uuid": "f28cbce0-f45f-42b2-a469-665006004830"
},
"27": {
"28": {
"varname": "csv_values_windows_no_proxy",
"caption": "Csv Values: No Proxy?",
"description": "Do not use a proxy.",
Expand All @@ -761,7 +788,7 @@
"settings": {},
"uuid": "afc365d8-b206-4e63-b1a5-4c195626ea3f"
},
"28": {
"29": {
"varname": "csv_values_windows_password",
"caption": "Csv Values: Password",
"description": "SMB or HTTP Basic Auth Password.",
Expand All @@ -772,7 +799,7 @@
},
"uuid": "65f1cd35-eddb-490d-9e43-93c1148299f4"
},
"29": {
"30": {
"varname": "csv_values_windows_quotechar",
"caption": "Csv Values: Quotechar",
"description": "CSV quotechar.",
Expand All @@ -783,7 +810,16 @@
},
"uuid": "6cd4bd4b-ee8f-4ed9-b546-695a91a0fd84"
},
"30": {
"31": {
"varname": "csv_values_windows_skip_header",
"caption": "Csv Values: Skip Header?",
"description": "Treat the first row as header names, and skip this row.",
"datatype": "Icinga\\Module\\Director\\DataType\\DataTypeBoolean",
"format": null,
"settings": {},
"uuid": "2c605161-2540-4248-8eb1-fc4c762b99b8"
},
"32": {
"varname": "csv_values_windows_timeout",
"caption": "Csv Values: Timeout",
"description": "Network timeout in seconds.",
Expand All @@ -794,7 +830,7 @@
},
"uuid": "fc6df61b-af1f-438b-b2f8-8f97490b8e37"
},
"31": {
"33": {
"varname": "csv_values_windows_url",
"caption": "Csv Values: URL",
"description": "Set the url of the CSV file, either starting with \"http://\", \"https://\" or \"smb://\". This is mutually exclusive with --filename.",
Expand All @@ -805,7 +841,7 @@
},
"uuid": "ae6a91d4-1972-47dd-87a3-78808facf07e"
},
"32": {
"34": {
"varname": "csv_values_windows_username",
"caption": "Csv Values: Username",
"description": "SMB or HTTP Basic Auth Username.",
Expand All @@ -816,7 +852,7 @@
},
"uuid": "e09d4dac-a778-44c7-b6f6-6e1e624f7c67"
},
"33": {
"35": {
"varname": "csv_values_windows_warning",
"caption": "Csv Values: Warning",
"description": "Set the WARN threshold. Supports ranges.",
Expand All @@ -827,7 +863,7 @@
},
"uuid": "8ac7b60d-b999-42d6-8260-95c042644882"
},
"34": {
"36": {
"varname": "csv_values_windows_warning_query",
"caption": "Csv Values: Warning Query",
"description": "`SELECT` statement. If its result contains more than one column, the number of rows is checked against `--warning`, otherwise the single value is used.",
Expand Down
13 changes: 7 additions & 6 deletions check-plugins/dmesg/icingaweb2-module-director/dmesg.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,17 +17,17 @@
"disabled": false,
"fields": [
{
"datafield_id": 598,
"datafield_id": 1,
"is_required": "n",
"var_filter": null
},
{
"datafield_id": 599,
"datafield_id": 2,
"is_required": "n",
"var_filter": null
},
{
"datafield_id": 600,
"datafield_id": 3,
"is_required": "n",
"var_filter": null
}
Expand Down Expand Up @@ -117,6 +117,7 @@
" kvm_set_msr_common: MSR_IA32_DEBUGCTLMSR ",
" mokvar: EFI MOKvar config table is not in EFI runtime memory",
" No Caching mode page found",
" SMBus base address uninitialized - upgrade BIOS or use ",
" SMBus Host Controller not enabled!",
" tsc: Fast TSC calibration failed",
" unhandled rdmsr: ",
Expand Down Expand Up @@ -197,7 +198,7 @@
}
},
"Datafield": {
"598": {
"1": {
"varname": "dmesg_always_ok",
"caption": "Dmesg: Always OK?",
"description": "Always returns OK.",
Expand All @@ -206,7 +207,7 @@
"settings": {},
"uuid": "e513f9c4-c288-4791-8384-9c2d639c2aa7"
},
"599": {
"2": {
"varname": "dmesg_ignore",
"caption": "Dmesg: Ignore",
"description": "Ignore a kernel message (case-sensitive, repeating).",
Expand All @@ -217,7 +218,7 @@
},
"uuid": "b1799285-43f4-44b5-9bb6-7f37182bddf7"
},
"600": {
"3": {
"varname": "dmesg_severity",
"caption": "Dmesg: Severity",
"description": "Severity for alerting.",
Expand Down
Loading

0 comments on commit 2e1bdf3

Please sign in to comment.