Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gNMI dialin: Requested encoding "PROTO" not supported #57

Open
regalleuchte opened this issue Apr 1, 2020 · 1 comment
Open

gNMI dialin: Requested encoding "PROTO" not supported #57

regalleuchte opened this issue Apr 1, 2020 · 1 comment
Labels
bug Something isn't working feature wontfix This will not be worked on

Comments

@regalleuchte
Copy link

Hi,

I'm trying to get wireless telemetry data from a C9800 (Cisco IOS XE 17.1.1s) into splunk via pipeline-gnmi (recent git clone) and kafka. GRPC Dial-Out is working fine. But I'm unable to get gNMI dialin to work.

Error message in pipeline.log:

time="2020-04-01 15:41:57.742095" level=info msg="gnmi: Connected" name=mygnmirouter server="10.15.20.1:50052" tag=pipeline type=gnmi username=splunk
time="2020-04-01 15:41:57.762555" level=info msg="gnmi: SubscribeClient running" name=mygnmirouter server="10.15.20.1:50052" tag=pipeline type=gnmi username=splunk
time="2020-04-01 15:41:57.764296" level=error msg="gnmi: server terminated sub" error="rpc error: code = Unimplemented desc = Requested encoding \"PROTO\" not supported" name=mygnmirouter server="10.15.20.1:50052" tag=pipeline type=gnmi username=splunk

config:

[mygnmirouter]
tls=false
username=splunk
password=[snipped]
stage=xport_input
type=gnmi
server=10.15.20.1:50052
path1=/interfaces-ios-xe-oper:interfaces@10 

Am I doing this wrong? I will be grateful for any help you can provide.

@remingtonc
Copy link
Contributor

Hi @regalleuchte this was largely built around IOS XR and IOS XE currently only supports the JSON encoding as opposed to PROTO. I'd recommend switching to Telegraf if possible for future gNMI related use cases as it has more recent work in this area.
https://github.com/influxdata/telegraf/tree/master/plugins/inputs/cisco_telemetry_gnmi

@remingtonc remingtonc added bug Something isn't working feature wontfix This will not be worked on labels Apr 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working feature wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants