Name: fluent-plugin-grpc-oc-keyvalue
Owner: Juniper Networks
Description: null
Created: 2018-03-31 04:25:02.0
Updated: 2018-04-26 06:01:35.0
Pushed: 2018-04-18 06:31:07.0
Homepage: null
Size: 23
Language: Ruby
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
This plugin is designed to parse the Juniper OC telmetry data. Juniper OC sensor data are sent as key/value paris over a gRPC session. Collector needs to establish a gRPC session to the device and subscribe to the sensors for which it is intrested in. Once the subscription is successful, device will stream the subscribed sensor data at a frequency specified in the subscription message.
Below are few points that are considered
Download the plugin from https://git.juniper.net/vijaygadde/fluent-plugin-grpc-oc-keyvalue
Change directory to <path-of-download>/fluent-plugin-grpc-oc-keyvalue
Build using gem build fluent-plugin-grpc-oc-keyvalue.gemspec
Install using gem install fluent-plugin-grpc-oc-keyvalue-0.0.1.gem
rce>
@type juniper_openconfig
tag juniper.oc
server ["device-a:12345", "device-b:23456"] #[REQUIRED] Device list with port numbers
sensors ["/components/", "4000 /interfaces/", "collection /lldp/ /mpls/", "5000 collection2 /ospf/ /isis/"] #[REQUIRED] Sensoirs as list
certFile "/tmp/cert.pem" #[OPTIONAL] Certificate file for authentication. In-secure connection is established if the certificate is not provided
username "user1" #[OPTIONAL]
password "password1" #[OPTIONAL]
@log_level debug
urce>
Configuration with one device and one sensor:
rce>
@type juniper_openconfig
tag juniper.oc
server ["device-a:12345"]
sensors ["/interfaces/"]
certFile "/tmp/cert.pem"
@log_level debug
urce>
Configuration with one device and multiple sensors:
rce>
@type juniper_openconfig
tag juniper.oc
server ["device-a:12345"]
sensors ["/interfaces/", "/components/"]
certFile "/tmp/cert.pem"
@log_level debug
urce>
Configuration with multiple devices and multiple sensros with different non default ferequency:
rce>
@type juniper_openconfig
tag juniper.oc
server ["device-a:12345, "device-b:23456"]
sensors ["6000 /interfaces/", "7000 /components/"]
certFile "/tmp/cert.pem"
@log_level debug
urce>
Configuration with multiple sensors with same frequency under same table
rce>
@type juniper_openconfig
tag juniper.oc
server ["device-a:12345, "device-b:23456"]
sensors ["6000 /interfaces/", "7000 /components/", "5000 collection /ospf/ /isis/"]
certFile "/tmp/cert.pem"
@log_level debug
urce>
Pull requests are very welcome!!
Copyright : Copyright (c) 2017 Juniper Networks, Inc. All rights reserved.
License : Apache License, Version 2.0