|
11 | 11 | "--hide-ok": { |
12 | 12 | "set_if": "$snmp_hide_ok$" |
13 | 13 | }, |
| 14 | + "--hide-table": { |
| 15 | + "set_if": "$snmp_hide_table$" |
| 16 | + }, |
14 | 17 | "--hostname": { |
15 | 18 | "value": "$snmp_hostname$" |
16 | 19 | }, |
|
77 | 80 | }, |
78 | 81 | { |
79 | 82 | "datafield_id": 4, |
80 | | - "is_required": "y", |
| 83 | + "is_required": "n", |
81 | 84 | "var_filter": null |
82 | 85 | }, |
83 | 86 | { |
84 | 87 | "datafield_id": 5, |
85 | | - "is_required": "n", |
| 88 | + "is_required": "y", |
86 | 89 | "var_filter": null |
87 | 90 | }, |
88 | 91 | { |
|
149 | 152 | "datafield_id": 18, |
150 | 153 | "is_required": "n", |
151 | 154 | "var_filter": null |
| 155 | + }, |
| 156 | + { |
| 157 | + "datafield_id": 19, |
| 158 | + "is_required": "n", |
| 159 | + "var_filter": null |
152 | 160 | } |
153 | 161 | ], |
154 | 162 | "imports": [], |
|
206 | 214 | "snmp_community": "public", |
207 | 215 | "snmp_device": "any-any-any.csv", |
208 | 216 | "snmp_hide_ok": false, |
| 217 | + "snmp_hide_table": false, |
209 | 218 | "snmp_mib_dir": "$$HOME/.snmp/mibs:/usr/share/snmp/mibs", |
210 | 219 | "snmp_snmp_version": "2c", |
211 | 220 | "snmp_timeout": 7 |
|
356 | 365 | "2": { |
357 | 366 | "varname": "snmp_device", |
358 | 367 | "caption": "SNMP: Device", |
359 | | - "description": "The name of a device file containing the SNMP-OIDs, located under `./device-oids`, for example `switch-fs-s3900.csv` or `printer-brother-mfcj5720dw.csv`. `any-any-any.csv` is a good starting point showing some features.Default: %(default)s.", |
| 368 | + "description": "The name of a device file containing the SNMP-OIDs, located under `./device-oids`, for example `switch-fs-s3900.csv` or `printer-brother-mfcj5720dw.csv`. `any-any-any.csv` is a good starting point showing some features. The file name is irrelevant. We recommend the three-part structure, where the first \"any\" refers to the device class, the second \"any\" refers to the vendor, and the third refers to the model.", |
360 | 369 | "datatype": "Icinga\\Module\\Director\\DataType\\DataTypeString", |
361 | 370 | "format": null, |
362 | 371 | "settings": { |
|
374 | 383 | "uuid": "6547a9dc-cd34-417f-9a95-2284883b8569" |
375 | 384 | }, |
376 | 385 | "4": { |
| 386 | + "varname": "snmp_hide_table", |
| 387 | + "caption": "SNMP: Hide Table?", |
| 388 | + "description": "Suppress the output of the table.", |
| 389 | + "datatype": "Icinga\\Module\\Director\\DataType\\DataTypeBoolean", |
| 390 | + "format": null, |
| 391 | + "settings": {}, |
| 392 | + "uuid": "7cd6f2fc-dcc1-4cc2-bf18-7117f38f8e59" |
| 393 | + }, |
| 394 | + "5": { |
377 | 395 | "varname": "snmp_hostname", |
378 | 396 | "caption": "SNMP: Hostname", |
379 | 397 | "description": "SNMP Appliance address.", |
|
384 | 402 | }, |
385 | 403 | "uuid": "6b9bd0e5-d731-4f49-8038-6a902b5e9218" |
386 | 404 | }, |
387 | | - "5": { |
| 405 | + "6": { |
388 | 406 | "varname": "snmp_mib", |
389 | 407 | "caption": "SNMP: MIB", |
390 | 408 | "description": "Load given list of MIBs, for example `+FS-MIB` or `FS-MIB:BROTHER-MIB`. Behaves like the `-m` option of `snmpget`.", |
|
395 | 413 | }, |
396 | 414 | "uuid": "44634455-a0e5-4463-81ca-7710b6c6398a" |
397 | 415 | }, |
398 | | - "6": { |
| 416 | + "7": { |
399 | 417 | "varname": "snmp_mib_dir", |
400 | 418 | "caption": "SNMP: MIB Dir", |
401 | 419 | "description": "Look in given list of directories for MIBs. Behaves like the `-M` option of `snmpget`.", |
|
406 | 424 | }, |
407 | 425 | "uuid": "ee829f8b-ac45-45ae-9718-97b08e50c582" |
408 | 426 | }, |
409 | | - "7": { |
| 427 | + "8": { |
410 | 428 | "varname": "snmp_snmp_version", |
411 | 429 | "caption": "SNMP: SNMP Version", |
412 | 430 | "description": "Specifies SNMP version to use.", |
|
419 | 437 | }, |
420 | 438 | "uuid": "e6aba866-969f-4f4a-9116-9b92e9f7b481" |
421 | 439 | }, |
422 | | - "8": { |
| 440 | + "9": { |
423 | 441 | "varname": "snmp_timeout", |
424 | 442 | "caption": "SNMP: Timeout", |
425 | 443 | "description": "Network timeout in seconds.", |
|
430 | 448 | }, |
431 | 449 | "uuid": "2a99ff07-0562-4759-8fd0-3639297b54e3" |
432 | 450 | }, |
433 | | - "9": { |
| 451 | + "10": { |
434 | 452 | "varname": "snmp_v3_auth_prot", |
435 | 453 | "caption": "SNMP: v3 Auth Prot", |
436 | 454 | "description": "SNMP Version 3 specific. Set authentication protocol.", |
|
443 | 461 | }, |
444 | 462 | "uuid": "cb551079-71f3-4012-8182-cf4c82b20f99" |
445 | 463 | }, |
446 | | - "10": { |
| 464 | + "11": { |
447 | 465 | "varname": "snmp_v3_auth_prot_password", |
448 | 466 | "caption": "SNMP: v3 Auth Prot Password", |
449 | 467 | "description": "SNMP Version 3 specific. Set authentication protocol pass phrase.", |
|
454 | 472 | }, |
455 | 473 | "uuid": "70fd4bb9-935c-4b05-97e5-f5f6d834f46b" |
456 | 474 | }, |
457 | | - "11": { |
| 475 | + "12": { |
458 | 476 | "varname": "snmp_v3_boots_time", |
459 | 477 | "caption": "SNMP: v3 Boots Time", |
460 | 478 | "description": "SNMP Version 3 specific. Set destination engine boots/time.", |
|
465 | 483 | }, |
466 | 484 | "uuid": "54d46a14-db2f-4812-9b6a-7bc06cf515d5" |
467 | 485 | }, |
468 | | - "12": { |
| 486 | + "13": { |
469 | 487 | "varname": "snmp_v3_context", |
470 | 488 | "caption": "SNMP: v3 Context", |
471 | 489 | "description": "SNMP Version 3 specific. Set context name (e.g. bridge1).", |
|
476 | 494 | }, |
477 | 495 | "uuid": "63d8670c-f0b1-41bf-8889-fbfb1ef9ddca" |
478 | 496 | }, |
479 | | - "13": { |
| 497 | + "14": { |
480 | 498 | "varname": "snmp_v3_context_engine_id", |
481 | 499 | "caption": "SNMP: v3 Context Engine ID", |
482 | 500 | "description": "SNMP Version 3 specific. Set context engine ID (e.g. 800000020109840301).", |
|
487 | 505 | }, |
488 | 506 | "uuid": "69e04d85-87d5-4954-880c-4a8de5e8c9b2" |
489 | 507 | }, |
490 | | - "14": { |
| 508 | + "15": { |
491 | 509 | "varname": "snmp_v3_level", |
492 | 510 | "caption": "SNMP: v3 Level", |
493 | 511 | "description": "SNMP Version 3 specific. Set security level.", |
|
500 | 518 | }, |
501 | 519 | "uuid": "9108eb88-11fa-4f83-ac26-3be81fb6e7e6" |
502 | 520 | }, |
503 | | - "15": { |
| 521 | + "16": { |
504 | 522 | "varname": "snmp_v3_priv_prot", |
505 | 523 | "caption": "SNMP: v3 Priv Prot", |
506 | 524 | "description": "SNMP Version 3 specific. Set privacy protocol.", |
|
513 | 531 | }, |
514 | 532 | "uuid": "ebcce2dc-3df1-47a1-ac6c-627b315789e2" |
515 | 533 | }, |
516 | | - "16": { |
| 534 | + "17": { |
517 | 535 | "varname": "snmp_v3_priv_prot_password", |
518 | 536 | "caption": "SNMP: v3 Priv Prot Password", |
519 | 537 | "description": "SNMP Version 3 specific. Set privacy protocol pass phrase.", |
|
524 | 542 | }, |
525 | 543 | "uuid": "f39688e1-6d0c-4628-b940-58ea113afa18" |
526 | 544 | }, |
527 | | - "17": { |
| 545 | + "18": { |
528 | 546 | "varname": "snmp_v3_security_engine_id", |
529 | 547 | "caption": "SNMP: v3 Security Engine ID", |
530 | 548 | "description": "SNMP Version 3 specific. Set security engine ID (e.g. 800000020109840301).", |
|
535 | 553 | }, |
536 | 554 | "uuid": "28f9fdaf-da72-4850-b3ca-edf559bf380b" |
537 | 555 | }, |
538 | | - "18": { |
| 556 | + "19": { |
539 | 557 | "varname": "snmp_v3_username", |
540 | 558 | "caption": "SNMP: v3 Username", |
541 | 559 | "description": "SNMP Version 3 specific. Set security name (e.g. bert).", |
|
0 commit comments