You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
lab@mx204> show network-agent statistics gnmi
Subscription Details :
Subscription ID : 19
Type : gnmi
Client IP : ipv6:::ffff:192.168.22.134:432
GNMI mode : STREAM
Sensor Statistics :
Sensor Path : /junos/system/linecard/firewall/
Reporting Interval : 2
Component(s) : PFE
Component ID : 0
Sub Component ID : 0
GNMI Sub Mode : SAMPLE
According to the information above. I expected the router would send the data every 2 seconds, and gnmi-gateway would periodically send the data to kafka(or stdout).
However I saw the update data only send when the value changed.
Is this behavior same as expected or I need to modify some parameter to match the expected behavior?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I tried to subscribe some path from router with STREAM/SAMPLE mode and use Kafka as exporter.
My target file is below.
I used the command below to run gnmi-gateway process with parameters.
And I also show the subscribe info in the router.
According to the information above.
I expected the router would send the data every 2 seconds, and gnmi-gateway would periodically send the data to kafka(or stdout).
However I saw the update data only send when the value changed.
Is this behavior same as expected or I need to modify some parameter to match the expected behavior?
Beta Was this translation helpful? Give feedback.
All reactions