cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
329
Views
0
Helpful
1
Replies

NX-OS : TELEMETRY - sensor with data-source NX-API does not work

megaboubou
Level 1
Level 1

Hi there,

We have two n9k, one with 9.3.1 version and another one witch 9.3.8.

When we setup the telemetry config on both n9k with sensor group using NX-API as data-source.

The one with 9.3.1 work and the other witch 9.3.9 version doesn't.

This is my telemetry config :

version 9.3(8) Bios:version
feature telemetry

logging level telemetry 7
telemetry
destination-group 100
ip address 192.168.1.11 port 50004 protocol gRPC encoding GPB
use-vrf management
sensor-group 10
data-source NX-API
path "show version" depth 0
subscription 1
dst-grp 100
snsr-grp 10 sample-interval 15000

the result  :

switch-938(config-telemetry)# sh telemetry data collector details

--------------------------------------------------------------------------------
Row ID Successful Failed Skipped Sensor Path(GroupId)
--------------------------------------------------------------------------------
1 0 4 0 show version(10)

when i run the command show system internal telemetry trace tm-errors , i have the following error :

[3919571776][tm_data_collector_nxapi.c:34] TM_DC: Unable to retrieve data for the dn: show version rc: 22, reason: Invalid argument

What did i miss ?

 

 

1 Reply 1

megaboubou
Level 1
Level 1

I tried with another show command : show version module 1

this time the show system internal telemetry trace tm-errors command displays :

 [3919571776][tm_nxapi_wrapper.cc:269] TM_DC: Invalid JSON begin character {"TABLE_version": {"ROW_version": {
"slot": "1", "type": "SLC", "sw": "9.3(8)", "interim": "9.3(8)", "bios": null}}}
 [3919571776][tm_nxapi_wrapper.cc:643] TM_DC: Invalid JSON {"TABLE_version": {"ROW_version": {"slot": "1", "ty
pe": "SLC", "sw": "9.3(8)", "interim": "9.3(8)", "bios": null}}}
 [3919571776][tm_data_collector_nxapi.c:34] TM_DC: Unable to retrieve data for the dn: show version module 1 rc: 2
2, reason: Invalid argument

 

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: