Skip to content

Commit 768cff8

Browse files
committed
chore(infomaniak-swiss-backup-devices): regenerate Icinga Director basket
1 parent f31c814 commit 768cff8

File tree

1 file changed

+88
-4
lines changed

1 file changed

+88
-4
lines changed

check-plugins/infomaniak-swiss-backup-devices/icingaweb2-module-director/infomaniak-swiss-backup-devices.json

Lines changed: 88 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,22 @@
1717
"--no-proxy": {
1818
"set_if": "$infomaniak_swiss_backup_devices_no_proxy$"
1919
},
20+
"--ignore-customer": {
21+
"value": "$infomaniak_swiss_backup_devices_ignore_customer$",
22+
"repeat_key": true
23+
},
24+
"--ignore-name": {
25+
"value": "$infomaniak_swiss_backup_devices_ignore_name$",
26+
"repeat_key": true
27+
},
28+
"--ignore-tag": {
29+
"value": "$infomaniak_swiss_backup_devices_ignore_tag$",
30+
"repeat_key": true
31+
},
32+
"--ignore-user": {
33+
"value": "$infomaniak_swiss_backup_devices_ignore_user$",
34+
"repeat_key": true
35+
},
2036
"--severity": {
2137
"value": "$infomaniak_swiss_backup_devices_severity$"
2238
},
@@ -70,13 +86,33 @@
7086
},
7187
{
7288
"datafield_id": 8,
73-
"is_required": "y",
89+
"is_required": "n",
7490
"var_filter": null
7591
},
7692
{
7793
"datafield_id": 9,
7894
"is_required": "n",
7995
"var_filter": null
96+
},
97+
{
98+
"datafield_id": 10,
99+
"is_required": "n",
100+
"var_filter": null
101+
},
102+
{
103+
"datafield_id": 11,
104+
"is_required": "n",
105+
"var_filter": null
106+
},
107+
{
108+
"datafield_id": 12,
109+
"is_required": "y",
110+
"var_filter": null
111+
},
112+
{
113+
"datafield_id": 13,
114+
"is_required": "n",
115+
"var_filter": null
80116
}
81117
],
82118
"imports": [],
@@ -135,6 +171,10 @@
135171
"infomaniak_swiss_backup_devices_critical": 95,
136172
"infomaniak_swiss_backup_devices_insecure": false,
137173
"infomaniak_swiss_backup_devices_no_proxy": false,
174+
"infomaniak_swiss_backup_devices_ignore_customer": [],
175+
"infomaniak_swiss_backup_devices_ignore_name": [],
176+
"infomaniak_swiss_backup_devices_ignore_tag": [],
177+
"infomaniak_swiss_backup_devices_ignore_user": [],
138178
"infomaniak_swiss_backup_devices_severity": "warn",
139179
"infomaniak_swiss_backup_devices_timeout": 8,
140180
"infomaniak_swiss_backup_devices_warning": 90
@@ -216,6 +256,50 @@
216256
"uuid": "ab403a98-e0cb-43c8-b795-9fb05f2d72d8"
217257
},
218258
"6": {
259+
"varname": "infomaniak_swiss_backup_devices_ignore_customer",
260+
"caption": "Infomaniak Swiss Backup Devices: Ignore Customer",
261+
"description": "Any device whose product customer name matches this python regex will be ignored (repeating). Example: '(?i)test' for a case-insensitive search for \"test\".",
262+
"datatype": "Icinga\\Module\\Director\\DataType\\DataTypeArray",
263+
"format": null,
264+
"settings": {
265+
"visibility": "visible"
266+
},
267+
"uuid": "50154815-1fa4-4ea1-86c3-999cac7a5e39"
268+
},
269+
"7": {
270+
"varname": "infomaniak_swiss_backup_devices_ignore_name",
271+
"caption": "Infomaniak Swiss Backup Devices: Ignore Name",
272+
"description": "Any device whose name matches this python regex will be ignored (repeating). Example: '(?i)old-backup' for a case-insensitive search for \"old-backup\".",
273+
"datatype": "Icinga\\Module\\Director\\DataType\\DataTypeArray",
274+
"format": null,
275+
"settings": {
276+
"visibility": "visible"
277+
},
278+
"uuid": "7e1fae29-3051-4206-a1d6-166e95376c29"
279+
},
280+
"8": {
281+
"varname": "infomaniak_swiss_backup_devices_ignore_tag",
282+
"caption": "Infomaniak Swiss Backup Devices: Ignore Tag",
283+
"description": "Any device whose product tag matches this python regex will be ignored (repeating). Example: '(?i)deprecated' for a case-insensitive search for \"deprecated\".",
284+
"datatype": "Icinga\\Module\\Director\\DataType\\DataTypeArray",
285+
"format": null,
286+
"settings": {
287+
"visibility": "visible"
288+
},
289+
"uuid": "3b64edb5-919a-4e77-982f-651891ec40bc"
290+
},
291+
"9": {
292+
"varname": "infomaniak_swiss_backup_devices_ignore_user",
293+
"caption": "Infomaniak Swiss Backup Devices: Ignore User",
294+
"description": "Any device whose username matches this python regex will be ignored (repeating). Example: '(?i)testuser' for a case-insensitive search for \"testuser\".",
295+
"datatype": "Icinga\\Module\\Director\\DataType\\DataTypeArray",
296+
"format": null,
297+
"settings": {
298+
"visibility": "visible"
299+
},
300+
"uuid": "384b8141-124c-438e-9aad-c4df2b4b615a"
301+
},
302+
"10": {
219303
"varname": "infomaniak_swiss_backup_devices_severity",
220304
"caption": "Infomaniak Swiss Backup Devices: Severity",
221305
"description": "Severity for alerting other values.",
@@ -228,7 +312,7 @@
228312
},
229313
"uuid": "530ab425-b4f7-4168-9ae0-ed6d49f9762a"
230314
},
231-
"7": {
315+
"11": {
232316
"varname": "infomaniak_swiss_backup_devices_timeout",
233317
"caption": "Infomaniak Swiss Backup Devices: Timeout",
234318
"description": "Network timeout in seconds.",
@@ -239,7 +323,7 @@
239323
},
240324
"uuid": "e42f3e1f-e915-4f96-956e-768745629b32"
241325
},
242-
"8": {
326+
"12": {
243327
"varname": "infomaniak_swiss_backup_devices_token",
244328
"caption": "Infomaniak Swiss Backup Devices: Token",
245329
"description": "Infomaniak API token",
@@ -250,7 +334,7 @@
250334
},
251335
"uuid": "af1fbc6f-68ec-4c76-856e-fdf7853208af"
252336
},
253-
"9": {
337+
"13": {
254338
"varname": "infomaniak_swiss_backup_devices_warning",
255339
"caption": "Infomaniak Swiss Backup Devices: Warning",
256340
"description": "Set the WARN threshold as a percentage.",

0 commit comments

Comments
 (0)