github.com/netdata/go.d.plugin@v0.58.1/modules/snmp/config_schema.json (about)

     1  {
     2    "$schema": "http://json-schema.org/draft-07/schema#",
     3    "type": "object",
     4    "properties": {
     5      "name": {
     6        "type": "string"
     7      },
     8      "update_every": {
     9        "type": "integer"
    10      },
    11      "hostname": {
    12        "type": "string"
    13      },
    14      "community": {
    15        "type": "string"
    16      },
    17      "user": {
    18        "type": "object",
    19        "properties": {
    20          "name": {
    21            "type": "string"
    22          },
    23          "level": {
    24            "type": "string",
    25            "enum": [
    26              "none",
    27              "authNoPriv",
    28              "authPriv"
    29            ]
    30          },
    31          "auth_proto": {
    32            "type": "string",
    33            "enum": [
    34              "none",
    35              "md5",
    36              "sha",
    37              "sha224",
    38              "sha256",
    39              "sha384",
    40              "sha512"
    41            ]
    42          },
    43          "auth_key": {
    44            "type": "string"
    45          },
    46          "priv_proto": {
    47            "type": "string",
    48            "enum": [
    49              "none",
    50              "des",
    51              "aes",
    52              "aes192",
    53              "aes256",
    54              "aes192c"
    55            ]
    56          },
    57          "priv_key": {
    58            "type": "string"
    59          }
    60        },
    61        "required": [
    62          "name",
    63          "level",
    64          "auth_proto",
    65          "auth_key",
    66          "priv_proto",
    67          "priv_key"
    68        ]
    69      },
    70      "options": {
    71        "type": "object",
    72        "properties": {
    73          "port": {
    74            "type": "integer"
    75          },
    76          "retries": {
    77            "type": "integer"
    78          },
    79          "timeout": {
    80            "type": "integer"
    81          },
    82          "version": {
    83            "type": "string",
    84            "enum": [
    85              "1",
    86              "2",
    87              "3"
    88            ]
    89          },
    90          "max_request_size": {
    91            "type": "integer"
    92          }
    93        },
    94        "required": [
    95          "port",
    96          "retries",
    97          "timeout",
    98          "version",
    99          "max_request_size"
   100        ]
   101      },
   102      "charts": {
   103        "type": "array",
   104        "items": {
   105          "type": "object",
   106          "properties": {
   107            "id": {
   108              "type": "string"
   109            },
   110            "title": {
   111              "type": "string"
   112            },
   113            "units": {
   114              "type": "string"
   115            },
   116            "family": {
   117              "type": "string"
   118            },
   119            "type": {
   120              "type": "string"
   121            },
   122            "priority": {
   123              "type": "integer"
   124            },
   125            "multiply_range": {
   126              "type": "array",
   127              "items": {
   128                "type": "integer"
   129              }
   130            },
   131            "dimensions": {
   132              "type": "array",
   133              "items": {
   134                "type": "object",
   135                "properties": {
   136                  "oid": {
   137                    "type": "string"
   138                  },
   139                  "name": {
   140                    "type": "string"
   141                  },
   142                  "algorithm": {
   143                    "type": "string",
   144                    "enum": [
   145                      "absolute",
   146                      "incremental"
   147                    ]
   148                  },
   149                  "multiplier": {
   150                    "type": "integer"
   151                  },
   152                  "divisor": {
   153                    "type": "integer"
   154                  }
   155                },
   156                "required": [
   157                  "oid",
   158                  "name",
   159                  "algorithm",
   160                  "multiplier",
   161                  "divisor"
   162                ]
   163              }
   164            }
   165          },
   166          "required": [
   167            "id",
   168            "title",
   169            "units",
   170            "family",
   171            "type",
   172            "priority",
   173            "multiply_range",
   174            "dimensions"
   175          ]
   176        }
   177      }
   178    },
   179    "required": [
   180      "name",
   181      "update_every",
   182      "hostname",
   183      "community",
   184      "user",
   185      "options",
   186      "charts"
   187    ]
   188  }