|
17 | 17 | "--no-proxy": { |
18 | 18 | "set_if": "$infomaniak_swiss_backup_devices_no_proxy$" |
19 | 19 | }, |
| 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 | + }, |
20 | 36 | "--severity": { |
21 | 37 | "value": "$infomaniak_swiss_backup_devices_severity$" |
22 | 38 | }, |
|
70 | 86 | }, |
71 | 87 | { |
72 | 88 | "datafield_id": 8, |
73 | | - "is_required": "y", |
| 89 | + "is_required": "n", |
74 | 90 | "var_filter": null |
75 | 91 | }, |
76 | 92 | { |
77 | 93 | "datafield_id": 9, |
78 | 94 | "is_required": "n", |
79 | 95 | "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 |
80 | 116 | } |
81 | 117 | ], |
82 | 118 | "imports": [], |
|
135 | 171 | "infomaniak_swiss_backup_devices_critical": 95, |
136 | 172 | "infomaniak_swiss_backup_devices_insecure": false, |
137 | 173 | "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": [], |
138 | 178 | "infomaniak_swiss_backup_devices_severity": "warn", |
139 | 179 | "infomaniak_swiss_backup_devices_timeout": 8, |
140 | 180 | "infomaniak_swiss_backup_devices_warning": 90 |
|
216 | 256 | "uuid": "ab403a98-e0cb-43c8-b795-9fb05f2d72d8" |
217 | 257 | }, |
218 | 258 | "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": { |
219 | 303 | "varname": "infomaniak_swiss_backup_devices_severity", |
220 | 304 | "caption": "Infomaniak Swiss Backup Devices: Severity", |
221 | 305 | "description": "Severity for alerting other values.", |
|
228 | 312 | }, |
229 | 313 | "uuid": "530ab425-b4f7-4168-9ae0-ed6d49f9762a" |
230 | 314 | }, |
231 | | - "7": { |
| 315 | + "11": { |
232 | 316 | "varname": "infomaniak_swiss_backup_devices_timeout", |
233 | 317 | "caption": "Infomaniak Swiss Backup Devices: Timeout", |
234 | 318 | "description": "Network timeout in seconds.", |
|
239 | 323 | }, |
240 | 324 | "uuid": "e42f3e1f-e915-4f96-956e-768745629b32" |
241 | 325 | }, |
242 | | - "8": { |
| 326 | + "12": { |
243 | 327 | "varname": "infomaniak_swiss_backup_devices_token", |
244 | 328 | "caption": "Infomaniak Swiss Backup Devices: Token", |
245 | 329 | "description": "Infomaniak API token", |
|
250 | 334 | }, |
251 | 335 | "uuid": "af1fbc6f-68ec-4c76-856e-fdf7853208af" |
252 | 336 | }, |
253 | | - "9": { |
| 337 | + "13": { |
254 | 338 | "varname": "infomaniak_swiss_backup_devices_warning", |
255 | 339 | "caption": "Infomaniak Swiss Backup Devices: Warning", |
256 | 340 | "description": "Set the WARN threshold as a percentage.", |
|
0 commit comments