Hello @Vindsap
The error suggests that the origin value openconfig-interfaces is not recognized. This could be due to a typo, incorrect value, or the target device not supporting the specified origin. Double-check the value and compare it against the documentation or capabilities of the target device to ensure it is correct. You can send a Capabilities request to the gNMI target to get a list of supported models and origins. This will let you verify whether the openconfig-interfaces origin is supported. If it’s not listed, you’ll need to adjust your subscription request to match the supported origins and models.
Maybe also look into gRPC version compatibility between what is running in Telegraf and what is running on the network device?
Capabilities are supported. someone I am unable to pull the gRPC version on the device & on telegraf instance. I am using a Arista EOS device. Telegraf version is 1.25
@Anaisdg This issue is resolved after changing path “openconfig-interfaces” to “openconfig”. However I have new issue now writing the output to influx DB from Telegraf. Timestamp is always constant doesn’t change in sample method, also influxDB not recognizing old timestamp and write is failing to influx DB.
How do we fix the timestamp issue ?, gNMI streams having the constant old timestamp i.e event timestamp on the device. is there any alternative to fix this ?
This is the output
openconfig-status,device_role=Leaf-Switch,host=netengtgrafa01,name=Management1,source=172.20.201.110 oper_status=“DOWN” 1709809366256477190
.
Thank you,