Comments (8)
Hi @jcbarth
what kind of shell are you running ?
Looks like the variables are not properly loaded
Damien
from open-nti.
OSX
Here is the docker-compose.yml file the error complains about.
cbarth-mbp:open-nti cbarth$ pwd
/Users/cbarth/open-nticbarth-mbp:open-nti
cbarth$ cat docker-compose.yml
input-jti:
image: juniper/open-nti-input-jti
container_name: opennti_input_jti
environment:
- "INFLUXDB_ADDR=opennti"
- "OUTPUT_INFLUXDB=true"
- "OUTPUT_STDOUT=false"
ports: - "$LOCAL_PORT_JTI:50000/udp"
- "$LOCAL_PORT_ANALYTICSD:50020/udp"
volumes: - /etc/localtime:/etc/localtime
links: - opennti
input-syslog:
image: juniper/open-nti-input-syslog
container_name: opennti_input_syslog
environment:
- "INFLUXDB_ADDR=opennti"
- "OUTPUT_INFLUXDB=true"
- "OUTPUT_STDOUT=false"
ports: - "$LOCAL_PORT_EVENT:6000/udp"
volumes: - /etc/localtime:/etc/localtime
links: - opennti
opennti:
image: $IMAGE_NAME
container_name: $CONTAINER_NAME
volumes:
- ./$LOCAL_DIR_DASHBOARD:/src/dashboards
- ./$LOCAL_DIR_DATA:/opt/open-nti/data
- /etc/localtime:/etc/localtime
ports: - "$LOCAL_PORT_STATSD:8125/udp"
- "$LOCAL_PORT_NGINX:80"
- "$LOCAL_PORT_GRAFANA:3000"
- "$LOCAL_PORT_INFLUXDB:8083"
- "$LOCAL_PORT_INFLUXDB_API:8086”
-Colby
On Oct 17, 2016, at 7:34 PM, Damien [email protected] wrote:
Hi @jcbarth
what kind of shell are you running ?
Looks like the variables are not properly loaded
Damien—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
from open-nti.
Hi
this file looks OK to me
I think the issue is with the file open-nti.params
It looks like your laptop doesn't like it and doesn't load the variables as a result
Can you try to run this command, inside the open-nti directory
source ./open-nti.params
Thanks
Damien
from open-nti.
cbarth-mbp:open-nti cbarth$ pwd
/Users/cbarth/open-nti
cbarth-mbp:open-nti cbarth$ source ./open-nti.params
cbarth-mbp:open-nti cbarth$ cat open-nti.params
#! /bin/bash
Image and container
export IMAGE_NAME='juniper/open-nti'
export CONTAINER_NAME='opennti_con'
export DOCKER_COMPOSE_FILE='docker-compose.yml'
Local ports that will be redirected to the Open NTI
Startup will fail if some ports are already in use
export LOCAL_PORT_JTI=50000
export LOCAL_PORT_NA=50010
export LOCAL_PORT_ANALYTICSD=50020
export LOCAL_PORT_STATSD=8125
export LOCAL_PORT_EVENT=6000
export LOCAL_PORT_GRAFANA=3000
export LOCAL_PORT_INFLUXDB=8083
export LOCAL_PORT_INFLUXDB_API=8086
export LOCAL_PORT_NGINX=80
export LOCAL_PORT_SSH=22222
Local directories that will be mapped into the container
export LOCAL_DIR_DATA='data'
export LOCAL_DIR_LOG='logs'
export LOCAL_DIR_DB='db'
export LOCAL_DIR_TESTS='tests'
export LOCAL_DIR_DASHBOARD='dashboards'
cbarth-mbp:open-nti cbarth$
-Colby
On Oct 18, 2016, at 9:51 AM, Damien [email protected] wrote:
source ./open-nti.params
from open-nti.
Colby
What shell are you using ? the issue is clearly that all variables in open-nti.params
are not properly loaded when you run ./docker.start.sh
Please can you run this command
ps -o comm $$
from open-nti.
cbarth-mbp:open-nti cbarth$ ps -o comm $$
COMM
-bash
-Colby
On Oct 18, 2016, at 11:53 AM, Damien [email protected] wrote:
ps -o comm $$
from open-nti.
Hi @jcbarth
Are you still having this shell variables issue on osX? is your containers and opennti up and running?
Regards
from open-nti.
@jcbarth, Hello!
Please let me know what happened, did you solve the problem?
from open-nti.
Related Issues (20)
- fluentd/Influxdb services use jemalloc
- Use SSH Proxy for data collection
- Open-nti with Kafka
- open-nti on MAC OSX HOT 1
- How to have two sets of commands with different cron run on the same set of hosts ?
- Error during processing: undefined method `juniperNetworks' for nil:NilClass HOT 4
- chrongraf graph stops at 1 million height
- JUNOS EVO support
- missing * 8 on JTI interface traffic output stats
- "Opennti_input-oc" Missing in docker
- OpenConfig Telemetry in Grafana HOT 1
- Ubuntu 18.04 - Issues all around. Does not work out of the box anymore. Installs Way more than 3 docker containers HOT 1
- Running the start script behind a proxy
- Graphing traffic on interface by interfaces description
- No jti telemetry data in grafana
- ERROR: Service 'input-oc' failed to build
- Documentation fixes HOT 1
- qfx5100 stops sending data after upgrading from junos version 17.x to18.x and later - before it was working fine HOT 2
- InfluxDB unavailable
- Error: "Docker-Compose Make" HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from open-nti.