Permalink
Cannot retrieve contributors at this time
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
i2-telemetry-prototype/README.md
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
55 lines (42 sloc)
1.4 KB
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Internet2 Streaming Telemetry Prototype | |
## Getting Started | |
### Prerequisites | |
docker and docker-compose | |
See [example router configs](#example-router-configs) below | |
### Installing | |
Clone this repo | |
``` | |
git clone https://github.internet2.edu/internet2/i2-telemetry-prototype.git | |
``` | |
Create a `.env` file with the following (replace the items in {}) | |
``` | |
INFLUXDB_USERNAME={influx username} | |
INFLUXDB_PASSWORD={influx password} | |
INFLUXDB_DATABASE={influx db_name} | |
INFLUXDB_URL=http://influxdb:8086 | |
GRAFANA_USERNAME={grafana username} | |
GRAFANA_PASSWORD={grafana password} | |
GNMI_USERNAME={router username} | |
GNMI_PASSWORD={router password} | |
``` | |
Copy `config/nodes.yaml.dist` to `config/nodes.yaml` and edit. | |
Run docker-compose | |
`docker-compose up -d` | |
docker-compose creates the container `configurator` to generate the telegraf.d config files based on `nodes.yaml`. | |
Edit `nodes.yaml` and add/update Jinja2 templates, then (re)start `configurator` to regenerate the config files. | |
Reload telegraf (`docker-compose kill -s SIGHUP telegraf`) after generating configs. | |
### Using | |
Chronograf (data exploration) - http://{dockerhost.ip}:8888 | |
Grafana (visualization) - http://{dockerhost.ip}:3000 | |
### Example router configs | |
#### Junos | |
``` | |
set system services extension-service request-response grpc clear-text | |
set system services extension-service request-response grpc skip-authentication | |
``` | |
#### IOS-XR | |
``` | |
grpc | |
port 32767 | |
no-tls | |
``` |