"use strict";(self.webpackChunkinfluxdb_ui=self.webpackChunkinfluxdb_ui||[]).push([[387],{86724:e=>{e.exports='# gNMI telemetry input plugin\n[[inputs.gnmi]]\n  ## Address and port of the gNMI GRPC server\n  addresses = ["10.49.234.114:57777"]\n\n  ## define credentials\n  username = "cisco"\n  password = "cisco"\n\n  ## gNMI encoding requested (one of: "proto", "json", "json_ietf", "bytes")\n  # encoding = "proto"\n\n  ## redial in case of failures after\n  redial = "10s"\n\n  ## enable client-side TLS and define CA to authenticate the device\n  # enable_tls = true\n  # tls_ca = "/etc/telegraf/ca.pem"\n  # insecure_skip_verify = true\n\n  ## define client-side TLS certificate & key to authenticate to the device\n  # tls_cert = "/etc/telegraf/cert.pem"\n  # tls_key = "/etc/telegraf/key.pem"\n\n  ## gNMI subscription prefix (optional, can usually be left empty)\n  ## See: https://github.com/openconfig/reference/blob/master/rpc/gnmi/gnmi-specification.md#222-paths\n  # origin = ""\n  # prefix = ""\n  # target = ""\n\n  ## Define additional aliases to map telemetry encoding paths to simple measurement names\n  # [inputs.gnmi.aliases]\n  #   ifcounters = "openconfig:/interfaces/interface/state/counters"\n\n  [[inputs.gnmi.subscription]]\n    ## Name of the measurement that will be emitted\n    name = "ifcounters"\n\n    ## Origin and path of the subscription\n    ## See: https://github.com/openconfig/reference/blob/master/rpc/gnmi/gnmi-specification.md#222-paths\n    ##\n    ## origin usually refers to a (YANG) data model implemented by the device\n    ## and path to a specific substructure inside it that should be subscribed to (similar to an XPath)\n    ## YANG models can be found e.g. here: https://github.com/YangModels/yang/tree/master/vendor/cisco/xr\n    origin = "openconfig-interfaces"\n    path = "/interfaces/interface/state/counters"\n\n    # Subscription mode (one of: "target_defined", "sample", "on_change") and interval\n    subscription_mode = "sample"\n    sample_interval = "10s"\n\n    ## Suppress redundant transmissions when measured values are unchanged\n    # suppress_redundant = false\n\n    ## If suppression is enabled, send updates at least every X seconds anyway\n    # heartbeat_interval = "60s"\n\n  #[[inputs.gnmi.subscription]]\n    # name = "descr"\n    # origin = "openconfig-interfaces"\n    # path = "/interfaces/interface/state/description"\n    # subscription_mode = "on_change"\n\n    ## If tag_only is set, the subscription in question will be utilized to maintain a map of\n    ## tags to apply to other measurements emitted by the plugin, by matching path keys\n    ## All fields from the tag-only subscription will be applied as tags to other readings,\n    ## in the format <name>_<fieldBase>.\n    # tag_only = true\n'}}]);