Monitoring devices with Telegraf: net_response

Hello.

I´m trying to monitor devices with the net_response plugin. I can do it with tcp, but I don´t know how to make it work with UDP:

[[inputs.net_response]]
protocol = “udp”
address = “A.B.C.D:161”
timeout = “3s”
send = ???
expect = ???

I keep getting "“read_failed” when running the plugin:

net_response,host=grafana,port=161,protocol=udp,result=read_failed,server=A.B.C.D result_code=3i,result_type=“read_failed”,string_found=false 1606440988000000000

Hello @dllivipuma,
Is this helpful?

## The following options are required for UDP checks. For TCP, they are
## optional. The plugin will send the given string to the server and then
## expect to receive the given 'expect' string back.
## string sent to the server
# send = "ssh"
## expected string in answer
# expect = "ssh"