Juniper/fluent-plugin-grpc-oc-keyvalue

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

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

fluent-plugin-grpc-oc-keyvalue

Overview

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

Installation

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

Configuration:
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>
rce>
@type juniper_openconfig
tag juniper.oc
server ["device-a:12345"]
sensors ["/interfaces/"]
certFile "/tmp/cert.pem"
@log_level debug
urce>
rce>
@type juniper_openconfig
tag juniper.oc
server ["device-a:12345"]
sensors ["/interfaces/", "/components/"]
certFile "/tmp/cert.pem"
@log_level debug
urce>
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>
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>
TODO

Pull requests are very welcome!!

Copyright

Copyright : Copyright (c) 2017 Juniper Networks, Inc. All rights reserved.

License : Apache License, Version 2.0


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.