config_reference.md

January 14, 2021 ยท View on GitHub

Configuration Keys


Device

keydescription
hostIP address or FQDN; it support IPv4 and IPv6.
portthe telemetry port that configured at device.
usernameusername if authentication is enabled at device.
passwordpassword if authentication is enabled at device.
timeouttimeout for dialing a gRPC connection (unit is second).
tlsConfigTLS configuration parameters.

Sensor

keydescription
servicetelemetry name based on the vendor. current supported services.
outputthe output can be a producer or a database that you already configured.
pathThe sensor path describes a YANG path or a subset of data definitions in a YANG model with a container.
modestreaming subscription mode: sample or on_change.
sampleIntervalthe data in sample mode must be sent once per sample interval in seconds.
suppressRedundantonce it enabled the unchanged data sends every heartbeatInterval in on_change mode (vendor must support).
heartbeatIntervalspecifies the maximum allowable silent period in seconds (vendor must support).
subscriptiona subscription binds one or more sensor paths (Cisco).
disableddisable the sensor.

Producer

keydescription
serviceproducer name: kafka or nsq
configdepends on the producer
Kafka
keydescription
brokerslist of brokers
topicslist of topics
batchSizesize of batch
batchTimeoutflush at least every batchTimeout
maxAttemptslimit of how many attempts will be made before delivering the error
keepAlivekeep-alive period for an active network
compressioncompression codec to compress Kafka messages (gzip, snappy, lz4)
tlsConfigTLS configuration parameters.
protobufenable protobuf serialization
NSQ
keydescription
addr
topicslist of topics
batchSizesize of batch
batchTimeoutflush at least every batchTimeout

Database

keydescription
servicedatabase name: influxdb
configdepends on the database
InfluxDB
keydescription
serverserver url
bucketname of the location where time series data is stored
orgorganization name
tokenauthentication token
batchSizesize of batch
maxRetriesmaximum count of retry attempts of failed writes
timeoutHTTP request timeout

Telemetry Services

servicedescription
cisco.gnmiCisco gNMI plugin
cisco.mdtCisco Model-Driven Telemetry plugin
juniper.gnmiJuniper gNMI
juniper.jtiJuniper Junos Telemetry Interface plugin
arista.gnmiArista gNMI

Status

keydescription
disableddisable the status (including healthcheck)
addrstatus ip address and port (ip:port)
tlsConfigTLS configuration parameters.

Shards

keydescription
enabledenable shard (sharding of network devices)
initializingShardsminimum number of available nodes required to start
minimumShardsminimum number of available nodes required
numberOfNodesmaximum number of nodes

Discovery

keydescription
serviceservice discovery name: consul, etcd or pseudo
configdepends on the discovery

Pseudo

keydescription
instanceslist of instance's IP addresses
probehttp or https
pathhealthcheck url path
timeoutprob timeout
intervalhealthcheck time interval
maxRetryhealthcheck maximum number of retries
tlsConfigTLS configuration parameters.

Dialout

keydescription
servicesdial-out service configuration
defaultOutputdefault output
tlsConfigTLS configuration parameters.

Device Options

keydescription
usernameusername if authentication is enabled at device.
passwordpassword if authentication is enabled at device.
timeouttimeout for dialing a gRPC connection (unit is second).
tlsConfigTLS configuration parameters.

Global

keydescription
watcherDisableddisable watcher and switch to sighup mode
bufferSizeshared buffer between telemetries
outputBufferSizeoutput buffer (per producer or database)

TLS

keydescription
enabledenable or disable the TLS configuration.
caFileif caFile is empty, Panoptes uses the host's root CA set.
certFilethe certficate file contain PEM encoded data.
keyFilethe private key file contain PEM encoded data.
insecureSkipVerifyit controls whether a client verifies the server's certificate chain and host name.

Dialout cisco.mdt

keydescription
addrserver ip address and port (ip:port)
workersnumber of workers