docs(inputs.gnmi): Add troubleshooting section for Juniper devices (#13582)

This commit is contained in:
Sven Rebhan 2023-07-10 16:33:52 +02:00 committed by GitHub
parent d2ebc8ecc0
commit 2e3adbd520
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 2689 additions and 0 deletions

View File

@ -11,6 +11,9 @@ It has been optimized to support gNMI telemetry as produced by Cisco IOS XR
[1]: https://github.com/openconfig/reference/blob/master/rpc/gnmi/gnmi-specification.md
Please check the [troubleshooting section](#troubleshooting) in case of
problems, e.g. when getting an *empty metric-name warning*!
## Service Input <!-- @/docs/includes/service_input.md -->
This plugin is a service input. Normal plugins gather metrics determined by the
@ -153,3 +156,33 @@ measurement. GNMI PathElement keys for leaves will attach tags to the field(s).
ifcounters,path=openconfig-interfaces:/interfaces/interface/state/counters,host=linux,name=MgmtEth0/RP0/CPU0/0,source=10.49.234.115,descr/description=Foo in-multicast-pkts=0i,out-multicast-pkts=0i,out-errors=0i,out-discards=0i,in-broadcast-pkts=0i,out-broadcast-pkts=0i,in-discards=0i,in-unknown-protos=0i,in-errors=0i,out-unicast-pkts=0i,in-octets=0i,out-octets=0i,last-clear="2019-05-22T16:53:21Z",in-unicast-pkts=0i 1559145777425000000
ifcounters,path=openconfig-interfaces:/interfaces/interface/state/counters,host=linux,name=GigabitEthernet0/0/0/0,source=10.49.234.115,descr/description=Bar out-multicast-pkts=0i,out-broadcast-pkts=0i,in-errors=0i,out-errors=0i,in-discards=0i,out-octets=0i,in-unknown-protos=0i,in-unicast-pkts=0i,in-octets=0i,in-multicast-pkts=0i,in-broadcast-pkts=0i,last-clear="2019-05-22T16:54:50Z",out-unicast-pkts=0i,out-discards=0i 1559145777425000000
```
## Troubleshooting
Some devices (e.g. Juniper) report spurious data with response paths not
corresponding to any subscription. In those cases, Telegraf will not be able
to determine the metric name for the response and you get an
*empty metric-name warning*
For examplem if you subscribe to `/junos/system/linecard/cpu/memory` but the
corresponding response arrives with path
`/components/component/properties/property/...` To avoid those issues, you can
manually map the response to a metric name using the `aliases` option like
```toml
[[inputs.gnmi]]
addresses = ["..."]
[inputs.gnmi.aliases]
memory = "/components"
[[inputs.gnmi.subscription]]
name = "memory"
origin = "openconfig"
path = "/junos/system/linecard/cpu/memory"
subscription_mode = "sample"
sample_interval = "60s"
```
If this does *not* solve the issue, please follow the warning instructions and
open an issue with the response, your configuration and the metric you expect.

View File

@ -0,0 +1,119 @@
components,/components/component/properties/property/name=mem-util-kernel-size,name=FPC0:CPU0,path=/components/component/properties,source=127.0.0.1 component/properties/property/state/value=671088216u 1688641479762000000
components,/components/component/properties/property/name=mem-util-kernel-bytes-allocated,name=FPC0:CPU0,path=/components/component/properties,source=127.0.0.1 component/properties/property/state/value=187929304u 1688641479762000000
components,/components/component/properties/property/name=mem-util-kernel-utilization,name=FPC0:CPU0,path=/components/component/properties,source=127.0.0.1 component/properties/property/state/value=28i 1688641479762000000
components,/components/component/properties/property/name=mem-util-kernel-ifd-bytes-allocated,name=FPC0:CPU0,path=/components/component/properties,source=127.0.0.1 component/properties/property/state/value=97240u 1688641479762000000
components,/components/component/properties/property/name=mem-util-kernel-ifd-allocations,name=FPC0:CPU0,path=/components/component/properties,source=127.0.0.1 component/properties/property/state/value=442u 1688641479762000000
components,/components/component/properties/property/name=mem-util-kernel-ifd-frees,name=FPC0:CPU0,path=/components/component/properties,source=127.0.0.1 component/properties/property/state/value=0u 1688641479762000000
components,/components/component/properties/property/name=mem-util-kernel-ifd-allocations-failed,name=FPC0:CPU0,path=/components/component/properties,source=127.0.0.1 component/properties/property/state/value=0u 1688641479762000000
components,/components/component/properties/property/name=mem-util-kernel-ifl-bytes-allocated,name=FPC0:CPU0,path=/components/component/properties,source=127.0.0.1 component/properties/property/state/value=95272u 1688641479762000000
components,/components/component/properties/property/name=mem-util-kernel-ifl-allocations,name=FPC0:CPU0,path=/components/component/properties,source=127.0.0.1 component/properties/property/state/value=132u 1688641479762000000
components,/components/component/properties/property/name=mem-util-kernel-ifl-frees,name=FPC0:CPU0,path=/components/component/properties,source=127.0.0.1 component/properties/property/state/value=0u 1688641479762000000
components,/components/component/properties/property/name=mem-util-kernel-ifl-allocations-failed,name=FPC0:CPU0,path=/components/component/properties,source=127.0.0.1 component/properties/property/state/value=0u 1688641479762000000
components,/components/component/properties/property/name=mem-util-kernel-iff-bytes-allocated,name=FPC0:CPU0,path=/components/component/properties,source=127.0.0.1 component/properties/property/state/value=38640u 1688641479762000000
components,/components/component/properties/property/name=mem-util-kernel-iff-allocations,name=FPC0:CPU0,path=/components/component/properties,source=127.0.0.1 component/properties/property/state/value=178u 1688641479762000000
components,/components/component/properties/property/name=mem-util-kernel-iff-frees,name=FPC0:CPU0,path=/components/component/properties,source=127.0.0.1 component/properties/property/state/value=0u 1688641479762000000
components,/components/component/properties/property/name=mem-util-kernel-iff-allocations-failed,name=FPC0:CPU0,path=/components/component/properties,source=127.0.0.1 component/properties/property/state/value=0u 1688641479762000000
components,/components/component/properties/property/name=mem-util-kernel-rt-bytes-allocated,name=FPC0:CPU0,path=/components/component/properties,source=127.0.0.1 component/properties/property/state/value=82592u 1688641479762000000
components,/components/component/properties/property/name=mem-util-kernel-rt-allocations,name=FPC0:CPU0,path=/components/component/properties,source=127.0.0.1 component/properties/property/state/value=914609u 1688641479762000000
components,/components/component/properties/property/name=mem-util-kernel-rt-frees,name=FPC0:CPU0,path=/components/component/properties,source=127.0.0.1 component/properties/property/state/value=914255u 1688641479762000000
components,/components/component/properties/property/name=mem-util-kernel-rt-allocations-failed,name=FPC0:CPU0,path=/components/component/properties,source=127.0.0.1 component/properties/property/state/value=0u 1688641479762000000
components,/components/component/properties/property/name=mem-util-kernel-rtt-bytes-allocated,name=FPC0:CPU0,path=/components/component/properties,source=127.0.0.1 component/properties/property/state/value=7212u 1688641479762000000
components,/components/component/properties/property/name=mem-util-kernel-rtt-allocations,name=FPC0:CPU0,path=/components/component/properties,source=127.0.0.1 component/properties/property/state/value=25u 1688641479762000000
components,/components/component/properties/property/name=mem-util-kernel-rtt-frees,name=FPC0:CPU0,path=/components/component/properties,source=127.0.0.1 component/properties/property/state/value=0u 1688641479762000000
components,/components/component/properties/property/name=mem-util-kernel-rtt-allocations-failed,name=FPC0:CPU0,path=/components/component/properties,source=127.0.0.1 component/properties/property/state/value=0u 1688641479762000000
components,/components/component/properties/property/name=mem-util-kernel-nh-bytes-allocated,name=FPC0:CPU0,path=/components/component/properties,source=127.0.0.1 component/properties/property/state/value=180544u 1688641479762000000
components,/components/component/properties/property/name=mem-util-kernel-nh-allocations,name=FPC0:CPU0,path=/components/component/properties,source=127.0.0.1 component/properties/property/state/value=519u 1688641479762000000
components,/components/component/properties/property/name=mem-util-kernel-nh-frees,name=FPC0:CPU0,path=/components/component/properties,source=127.0.0.1 component/properties/property/state/value=21u 1688641479762000000
components,/components/component/properties/property/name=mem-util-kernel-nh-allocations-failed,name=FPC0:CPU0,path=/components/component/properties,source=127.0.0.1 component/properties/property/state/value=0u 1688641479762000000
components,/components/component/properties/property/name=mem-util-kernel-filter-bytes-allocated,name=FPC0:CPU0,path=/components/component/properties,source=127.0.0.1 component/properties/property/state/value=144380u 1688641479762000000
components,/components/component/properties/property/name=mem-util-kernel-filter-allocations,name=FPC0:CPU0,path=/components/component/properties,source=127.0.0.1 component/properties/property/state/value=2674u 1688641479762000000
components,/components/component/properties/property/name=mem-util-kernel-filter-frees,name=FPC0:CPU0,path=/components/component/properties,source=127.0.0.1 component/properties/property/state/value=739u 1688641479762000000
components,/components/component/properties/property/name=mem-util-kernel-filter-allocations-failed,name=FPC0:CPU0,path=/components/component/properties,source=127.0.0.1 component/properties/property/state/value=0u 1688641479762000000
components,/components/component/properties/property/name=mem-util-kernel-cos-bytes-allocated,name=FPC0:CPU0,path=/components/component/properties,source=127.0.0.1 component/properties/property/state/value=41488u 1688641479762000000
components,/components/component/properties/property/name=mem-util-kernel-cos-allocations,name=FPC0:CPU0,path=/components/component/properties,source=127.0.0.1 component/properties/property/state/value=383u 1688641479762000000
components,/components/component/properties/property/name=mem-util-kernel-cos-frees,name=FPC0:CPU0,path=/components/component/properties,source=127.0.0.1 component/properties/property/state/value=53u 1688641479762000000
components,/components/component/properties/property/name=mem-util-kernel-cos-allocations-failed,name=FPC0:CPU0,path=/components/component/properties,source=127.0.0.1 component/properties/property/state/value=0u 1688641479762000000
components,/components/component/properties/property/name=mem-util-kernel-cos-halp-bytes-allocated,name=FPC0:CPU0,path=/components/component/properties,source=127.0.0.1 component/properties/property/state/value=482008u 1688641479762000000
components,/components/component/properties/property/name=mem-util-kernel-cos-halp-allocations,name=FPC0:CPU0,path=/components/component/properties,source=127.0.0.1 component/properties/property/state/value=102u 1688641479762000000
components,/components/component/properties/property/name=mem-util-kernel-cos-halp-frees,name=FPC0:CPU0,path=/components/component/properties,source=127.0.0.1 component/properties/property/state/value=0u 1688641479762000000
components,/components/component/properties/property/name=mem-util-kernel-cos-halp-allocations-failed,name=FPC0:CPU0,path=/components/component/properties,source=127.0.0.1 component/properties/property/state/value=0u 1688641479762000000
components,/components/component/properties/property/name=mem-util-kernel-rt-mac-bytes-allocated,name=FPC0:CPU0,path=/components/component/properties,source=127.0.0.1 component/properties/property/state/value=20u 1688641479762000000
components,/components/component/properties/property/name=mem-util-kernel-rt-mac-allocations,name=FPC0:CPU0,path=/components/component/properties,source=127.0.0.1 component/properties/property/state/value=1u 1688641479762000000
components,/components/component/properties/property/name=mem-util-kernel-rt-mac-frees,name=FPC0:CPU0,path=/components/component/properties,source=127.0.0.1 component/properties/property/state/value=0u 1688641479762000000
components,/components/component/properties/property/name=mem-util-kernel-rt-mac-allocations-failed,name=FPC0:CPU0,path=/components/component/properties,source=127.0.0.1 component/properties/property/state/value=0u 1688641479762000000
components,/components/component/properties/property/name=mem-util-kernel-fpdl-bytes-allocated,name=FPC0:CPU0,path=/components/component/properties,source=127.0.0.1 component/properties/property/state/value=364u 1688641479762000000
components,/components/component/properties/property/name=mem-util-kernel-fpdl-allocations,name=FPC0:CPU0,path=/components/component/properties,source=127.0.0.1 component/properties/property/state/value=16u 1688641479762000000
components,/components/component/properties/property/name=mem-util-kernel-fpdl-frees,name=FPC0:CPU0,path=/components/component/properties,source=127.0.0.1 component/properties/property/state/value=9u 1688641479762000000
components,/components/component/properties/property/name=mem-util-kernel-fpdl-allocations-failed,name=FPC0:CPU0,path=/components/component/properties,source=127.0.0.1 component/properties/property/state/value=0u 1688641479762000000
components,/components/component/properties/property/name=mem-util-kernel-fpb-bytes-allocated,name=FPC0:CPU0,path=/components/component/properties,source=127.0.0.1 component/properties/property/state/value=56u 1688641479762000000
components,/components/component/properties/property/name=mem-util-kernel-fpb-allocations,name=FPC0:CPU0,path=/components/component/properties,source=127.0.0.1 component/properties/property/state/value=4u 1688641479762000000
components,/components/component/properties/property/name=mem-util-kernel-fpb-frees,name=FPC0:CPU0,path=/components/component/properties,source=127.0.0.1 component/properties/property/state/value=2u 1688641479762000000
components,/components/component/properties/property/name=mem-util-kernel-fpb-allocations-failed,name=FPC0:CPU0,path=/components/component/properties,source=127.0.0.1 component/properties/property/state/value=0u 1688641479762000000
components,/components/component/properties/property/name=mem-util-kernel-fpb-syms-bytes-allocated,name=FPC0:CPU0,path=/components/component/properties,source=127.0.0.1 component/properties/property/state/value=104u 1688641479762000000
components,/components/component/properties/property/name=mem-util-kernel-fpb-syms-allocations,name=FPC0:CPU0,path=/components/component/properties,source=127.0.0.1 component/properties/property/state/value=4u 1688641479762000000
components,/components/component/properties/property/name=mem-util-kernel-fpb-syms-frees,name=FPC0:CPU0,path=/components/component/properties,source=127.0.0.1 component/properties/property/state/value=2u 1688641479762000000
components,/components/component/properties/property/name=mem-util-kernel-fpb-syms-allocations-failed,name=FPC0:CPU0,path=/components/component/properties,source=127.0.0.1 component/properties/property/state/value=0u 1688641479762000000
components,/components/component/properties/property/name=mem-util-kernel-agent-bytes-allocated,name=FPC0:CPU0,path=/components/component/properties,source=127.0.0.1 component/properties/property/state/value=19548u 1688641479762000000
components,/components/component/properties/property/name=mem-util-kernel-agent-allocations,name=FPC0:CPU0,path=/components/component/properties,source=127.0.0.1 component/properties/property/state/value=1679742u 1688641479762000000
components,/components/component/properties/property/name=mem-util-kernel-agent-frees,name=FPC0:CPU0,path=/components/component/properties,source=127.0.0.1 component/properties/property/state/value=1679691u 1688641479762000000
components,/components/component/properties/property/name=mem-util-kernel-agent-allocations-failed,name=FPC0:CPU0,path=/components/component/properties,source=127.0.0.1 component/properties/property/state/value=0u 1688641479762000000
components,/components/component/properties/property/name=mem-util-kernel-an-stats-bytes-allocated,name=FPC0:CPU0,path=/components/component/properties,source=127.0.0.1 component/properties/property/state/value=5503680u 1688641479762000000
components,/components/component/properties/property/name=mem-util-kernel-an-stats-allocations,name=FPC0:CPU0,path=/components/component/properties,source=127.0.0.1 component/properties/property/state/value=10192u 1688641479762000000
components,/components/component/properties/property/name=mem-util-kernel-an-stats-frees,name=FPC0:CPU0,path=/components/component/properties,source=127.0.0.1 component/properties/property/state/value=0u 1688641479762000000
components,/components/component/properties/property/name=mem-util-kernel-an-stats-allocations-failed,name=FPC0:CPU0,path=/components/component/properties,source=127.0.0.1 component/properties/property/state/value=0u 1688641479762000000
components,/components/component/properties/property/name=mem-util-kernel-dfw-resolve-bind-point-bytes-allocated,name=FPC0:CPU0,path=/components/component/properties,source=127.0.0.1 component/properties/property/state/value=72u 1688641479762000000
components,/components/component/properties/property/name=mem-util-kernel-dfw-resolve-bind-point-allocations,name=FPC0:CPU0,path=/components/component/properties,source=127.0.0.1 component/properties/property/state/value=12u 1688641479762000000
components,/components/component/properties/property/name=mem-util-kernel-dfw-resolve-bind-point-frees,name=FPC0:CPU0,path=/components/component/properties,source=127.0.0.1 component/properties/property/state/value=6u 1688641479762000000
components,/components/component/properties/property/name=mem-util-kernel-dfw-resolve-bind-point-allocations-failed,name=FPC0:CPU0,path=/components/component/properties,source=127.0.0.1 component/properties/property/state/value=0u 1688641479762000000
components,/components/component/properties/property/name=mem-util-kernel-dfw-entry-bytes-allocated,name=FPC0:CPU0,path=/components/component/properties,source=127.0.0.1 component/properties/property/state/value=95436u 1688641479762000000
components,/components/component/properties/property/name=mem-util-kernel-dfw-entry-allocations,name=FPC0:CPU0,path=/components/component/properties,source=127.0.0.1 component/properties/property/state/value=2812u 1688641479762000000
components,/components/component/properties/property/name=mem-util-kernel-dfw-entry-frees,name=FPC0:CPU0,path=/components/component/properties,source=127.0.0.1 component/properties/property/state/value=1435u 1688641479762000000
components,/components/component/properties/property/name=mem-util-kernel-dfw-entry-allocations-failed,name=FPC0:CPU0,path=/components/component/properties,source=127.0.0.1 component/properties/property/state/value=0u 1688641479762000000
components,/components/component/properties/property/name=mem-util-kernel-dfw-tcam-entry-bytes-allocated,name=FPC0:CPU0,path=/components/component/properties,source=127.0.0.1 component/properties/property/state/value=33920u 1688641479762000000
components,/components/component/properties/property/name=mem-util-kernel-dfw-tcam-entry-allocations,name=FPC0:CPU0,path=/components/component/properties,source=127.0.0.1 component/properties/property/state/value=546u 1688641479762000000
components,/components/component/properties/property/name=mem-util-kernel-dfw-tcam-entry-frees,name=FPC0:CPU0,path=/components/component/properties,source=127.0.0.1 component/properties/property/state/value=0u 1688641479762000000
components,/components/component/properties/property/name=mem-util-kernel-dfw-tcam-entry-allocations-failed,name=FPC0:CPU0,path=/components/component/properties,source=127.0.0.1 component/properties/property/state/value=0u 1688641479762000000
components,/components/component/properties/property/name=mem-util-kernel-dfw-id-entry-bytes-allocated,name=FPC0:CPU0,path=/components/component/properties,source=127.0.0.1 component/properties/property/state/value=448u 1688641479762000000
components,/components/component/properties/property/name=mem-util-kernel-dfw-id-entry-allocations,name=FPC0:CPU0,path=/components/component/properties,source=127.0.0.1 component/properties/property/state/value=40u 1688641479762000000
components,/components/component/properties/property/name=mem-util-kernel-dfw-id-entry-frees,name=FPC0:CPU0,path=/components/component/properties,source=127.0.0.1 component/properties/property/state/value=24u 1688641479762000000
components,/components/component/properties/property/name=mem-util-kernel-dfw-id-entry-allocations-failed,name=FPC0:CPU0,path=/components/component/properties,source=127.0.0.1 component/properties/property/state/value=0u 1688641479762000000
components,/components/component/properties/property/name=mem-util-kernel-dfw-bmap-bytes-allocated,name=FPC0:CPU0,path=/components/component/properties,source=127.0.0.1 component/properties/property/state/value=9216u 1688641479762000000
components,/components/component/properties/property/name=mem-util-kernel-dfw-bmap-allocations,name=FPC0:CPU0,path=/components/component/properties,source=127.0.0.1 component/properties/property/state/value=62u 1688641479762000000
components,/components/component/properties/property/name=mem-util-kernel-dfw-bmap-frees,name=FPC0:CPU0,path=/components/component/properties,source=127.0.0.1 component/properties/property/state/value=24u 1688641479762000000
components,/components/component/properties/property/name=mem-util-kernel-dfw-bmap-allocations-failed,name=FPC0:CPU0,path=/components/component/properties,source=127.0.0.1 component/properties/property/state/value=0u 1688641479762000000
components,/components/component/properties/property/name=mem-util-kernel-dfw-hw-hdl-rule-bytes-allocated,name=FPC0:CPU0,path=/components/component/properties,source=127.0.0.1 component/properties/property/state/value=49172u 1688641479762000000
components,/components/component/properties/property/name=mem-util-kernel-dfw-hw-hdl-rule-allocations,name=FPC0:CPU0,path=/components/component/properties,source=127.0.0.1 component/properties/property/state/value=2257u 1688641479762000000
components,/components/component/properties/property/name=mem-util-kernel-dfw-hw-hdl-rule-frees,name=FPC0:CPU0,path=/components/component/properties,source=127.0.0.1 component/properties/property/state/value=1140u 1688641479762000000
components,/components/component/properties/property/name=mem-util-kernel-dfw-hw-hdl-rule-allocations-failed,name=FPC0:CPU0,path=/components/component/properties,source=127.0.0.1 component/properties/property/state/value=0u 1688641479762000000
components,/components/component/properties/property/name=mem-util-kernel-dfw-lagmatch-bytes-allocated,name=FPC0:CPU0,path=/components/component/properties,source=127.0.0.1 component/properties/property/state/value=72u 1688641479762000000
components,/components/component/properties/property/name=mem-util-kernel-dfw-lagmatch-allocations,name=FPC0:CPU0,path=/components/component/properties,source=127.0.0.1 component/properties/property/state/value=2u 1688641479762000000
components,/components/component/properties/property/name=mem-util-kernel-dfw-lagmatch-frees,name=FPC0:CPU0,path=/components/component/properties,source=127.0.0.1 component/properties/property/state/value=0u 1688641479762000000
components,/components/component/properties/property/name=mem-util-kernel-dfw-lagmatch-allocations-failed,name=FPC0:CPU0,path=/components/component/properties,source=127.0.0.1 component/properties/property/state/value=0u 1688641479762000000
components,/components/component/properties/property/name=mem-util-kernel-dfw-cntr-bytes-allocated,name=FPC0:CPU0,path=/components/component/properties,source=127.0.0.1 component/properties/property/state/value=372008u 1688641479762000000
components,/components/component/properties/property/name=mem-util-kernel-dfw-cntr-allocations,name=FPC0:CPU0,path=/components/component/properties,source=127.0.0.1 component/properties/property/state/value=4444u 1688641479762000000
components,/components/component/properties/property/name=mem-util-kernel-dfw-cntr-frees,name=FPC0:CPU0,path=/components/component/properties,source=127.0.0.1 component/properties/property/state/value=1628u 1688641479762000000
components,/components/component/properties/property/name=mem-util-kernel-dfw-cntr-allocations-failed,name=FPC0:CPU0,path=/components/component/properties,source=127.0.0.1 component/properties/property/state/value=0u 1688641479762000000
components,/components/component/properties/property/name=mem-util-kernel-dfw-policer-bytes-allocated,name=FPC0:CPU0,path=/components/component/properties,source=127.0.0.1 component/properties/property/state/value=192544u 1688641479762000000
components,/components/component/properties/property/name=mem-util-kernel-dfw-policer-allocations,name=FPC0:CPU0,path=/components/component/properties,source=127.0.0.1 component/properties/property/state/value=600u 1688641479762000000
components,/components/component/properties/property/name=mem-util-kernel-dfw-policer-frees,name=FPC0:CPU0,path=/components/component/properties,source=127.0.0.1 component/properties/property/state/value=240u 1688641479762000000
components,/components/component/properties/property/name=mem-util-kernel-dfw-policer-allocations-failed,name=FPC0:CPU0,path=/components/component/properties,source=127.0.0.1 component/properties/property/state/value=0u 1688641479762000000
components,/components/component/properties/property/name=mem-util-kernel-dfw-misc-bytes-allocated,name=FPC0:CPU0,path=/components/component/properties,source=127.0.0.1 component/properties/property/state/value=984u 1688641479762000000
components,/components/component/properties/property/name=mem-util-kernel-dfw-misc-allocations,name=FPC0:CPU0,path=/components/component/properties,source=127.0.0.1 component/properties/property/state/value=83u 1688641479762000000
components,/components/component/properties/property/name=mem-util-kernel-dfw-misc-frees,name=FPC0:CPU0,path=/components/component/properties,source=127.0.0.1 component/properties/property/state/value=1u 1688641479762000000
components,/components/component/properties/property/name=mem-util-kernel-dfw-misc-allocations-failed,name=FPC0:CPU0,path=/components/component/properties,source=127.0.0.1 component/properties/property/state/value=0u 1688641479762000000
components,/components/component/properties/property/name=mem-util-kernel-halp-unknown-bytes-allocated,name=FPC0:CPU0,path=/components/component/properties,source=127.0.0.1 component/properties/property/state/value=92u 1688641479762000000
components,/components/component/properties/property/name=mem-util-kernel-halp-unknown-allocations,name=FPC0:CPU0,path=/components/component/properties,source=127.0.0.1 component/properties/property/state/value=3u 1688641479762000000
components,/components/component/properties/property/name=mem-util-kernel-halp-unknown-frees,name=FPC0:CPU0,path=/components/component/properties,source=127.0.0.1 component/properties/property/state/value=2u 1688641479762000000
components,/components/component/properties/property/name=mem-util-kernel-halp-unknown-allocations-failed,name=FPC0:CPU0,path=/components/component/properties,source=127.0.0.1 component/properties/property/state/value=0u 1688641479762000000
components,/components/component/properties/property/name=mem-util-dma-size,name=FPC0:CPU0,path=/components/component/properties,source=127.0.0.1 component/properties/property/state/value=67108864u 1688641479762000000
components,/components/component/properties/property/name=mem-util-dma-bytes-allocated,name=FPC0:CPU0,path=/components/component/properties,source=127.0.0.1 component/properties/property/state/value=4655312u 1688641479762000000
components,/components/component/properties/property/name=mem-util-dma-utilization,name=FPC0:CPU0,path=/components/component/properties,source=127.0.0.1 component/properties/property/state/value=6i 1688641479762000000
components,/components/component/properties/property/name=mem-util-pkt-dma-desc-size,name=FPC0:CPU0,path=/components/component/properties,source=127.0.0.1 component/properties/property/state/value=12582912u 1688641479762000000
components,/components/component/properties/property/name=mem-util-pkt-dma-desc-bytes-allocated,name=FPC0:CPU0,path=/components/component/properties,source=127.0.0.1 component/properties/property/state/value=10257712u 1688641479762000000
components,/components/component/properties/property/name=mem-util-pkt-dma-desc-utilization,name=FPC0:CPU0,path=/components/component/properties,source=127.0.0.1 component/properties/property/state/value=81i 1688641479762000000
components,/components/component/properties/property/name=mem-util-bcm-sdk-size,name=FPC0:CPU0,path=/components/component/properties,source=127.0.0.1 component/properties/property/state/value=268435456u 1688641479762000000
components,/components/component/properties/property/name=mem-util-bcm-sdk-bytes-allocated,name=FPC0:CPU0,path=/components/component/properties,source=127.0.0.1 component/properties/property/state/value=157163104u 1688641479762000000
components,/components/component/properties/property/name=mem-util-bcm-sdk-utilization,name=FPC0:CPU0,path=/components/component/properties,source=127.0.0.1 component/properties/property/state/value=58i 1688641479762000000
components,/components/component/properties/property/name=mem-util-packet-dma-size,name=FPC0:CPU0,path=/components/component/properties,source=127.0.0.1 component/properties/property/state/value=113246208u 1688641479762000000
components,/components/component/properties/property/name=mem-util-packet-dma-bytes-allocated,name=FPC0:CPU0,path=/components/component/properties,source=127.0.0.1 component/properties/property/state/value=56030424u 1688641479762000000
components,/components/component/properties/property/name=mem-util-packet-dma-utilization,name=FPC0:CPU0,path=/components/component/properties,source=127.0.0.1 component/properties/property/state/value=49i 1688641479762000000

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,13 @@
[[inputs.gnmi]]
addresses = ["dummy"]
redial = "10s"
[inputs.gnmi.aliases]
components = "/components"
[[inputs.gnmi.subscription]]
name = "memory"
origin = "openconfig"
path = "/junos/system/linecard/cpu/memory"
subscription_mode = "sample"
sample_interval = "60s"