"use strict";(self.webpackChunkinfluxdb_ui=self.webpackChunkinfluxdb_ui||[]).push([[150],{15964:n=>{n.exports='# Retrieves SNMP values from remote agents\n[[inputs.snmp]]\n  ## Agent addresses to retrieve values from.\n  ##   format:  agents = ["<scheme://><hostname>:<port>"]\n  ##   scheme:  optional, either udp, udp4, udp6, tcp, tcp4, tcp6.\n  ##            default is udp\n  ##   port:    optional\n  ##   example: agents = ["udp://127.0.0.1:161"]\n  ##            agents = ["tcp://127.0.0.1:161"]\n  ##            agents = ["udp4://v4only-snmp-agent"]\n  agents = ["udp://127.0.0.1:161"]\n\n  ## Timeout for each request.\n  # timeout = "5s"\n\n  ## SNMP version; can be 1, 2, or 3.\n  # version = 2\n\n  ## Unconnected UDP socket\n  ## When true, SNMP reponses are accepted from any address not just\n  ## the requested address. This can be useful when gathering from\n  ## redundant/failover systems.\n  # unconnected_udp_socket = false\n\n  ## Path to mib files\n  ## Used by the gosmi translator.\n  ## To add paths when translating with netsnmp, use the MIBDIRS environment variable\n  # path = ["/usr/share/snmp/mibs"]\n\n  ## SNMP community string.\n  # community = "public"\n\n  ## Agent host tag\n  # agent_host_tag = "agent_host"\n\n  ## Number of retries to attempt.\n  # retries = 3\n\n  ## The GETBULK max-repetitions parameter.\n  # max_repetitions = 10\n\n  ## SNMPv3 authentication and encryption options.\n  ##\n  ## Security Name.\n  # sec_name = "myuser"\n  ## Authentication protocol; one of "MD5", "SHA", "SHA224", "SHA256", "SHA384", "SHA512" or "".\n  # auth_protocol = "MD5"\n  ## Authentication password.\n  # auth_password = "pass"\n  ## Security Level; one of "noAuthNoPriv", "authNoPriv", or "authPriv".\n  # sec_level = "authNoPriv"\n  ## Context Name.\n  # context_name = ""\n  ## Privacy protocol used for encrypted messages; one of "DES", "AES", "AES192", "AES192C", "AES256", "AES256C", or "".\n  ### Protocols "AES192", "AES192", "AES256", and "AES256C" require the underlying net-snmp tools\n  ### to be compiled with --enable-blumenthal-aes (http://www.net-snmp.org/docs/INSTALL.html)\n  # priv_protocol = ""\n  ## Privacy password used for encrypted messages.\n  # priv_password = ""\n\n  ## Add fields and tables defining the variables you wish to collect.  This\n  ## example collects the system uptime and interface variables.  Reference the\n  ## full plugin documentation for configuration details.\n  [[inputs.snmp.field]]\n    oid = "RFC1213-MIB::sysUpTime.0"\n    name = "uptime"\n\n  [[inputs.snmp.field]]\n    oid = "RFC1213-MIB::sysName.0"\n    name = "source"\n    is_tag = true\n\n  [[inputs.snmp.table]]\n    oid = "IF-MIB::ifTable"\n    name = "interface"\n    inherit_tags = ["source"]\n\n    [[inputs.snmp.table.field]]\n      oid = "IF-MIB::ifDescr"\n      name = "ifDescr"\n      is_tag = true\n'}}]);