Giter Site home page Giter Site logo

Basic install problem about open-nti HOT 8 OPEN

juniper avatar juniper commented on May 29, 2024
Basic install problem

from open-nti.

Comments (8)

dgarros avatar dgarros commented on May 29, 2024

Hi @jcbarth
what kind of shell are you running ?
Looks like the variables are not properly loaded
Damien

from open-nti.

jcbarth avatar jcbarth commented on May 29, 2024

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.

dgarros avatar dgarros commented on May 29, 2024

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.

jcbarth avatar jcbarth commented on May 29, 2024

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.

dgarros avatar dgarros commented on May 29, 2024

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.

jcbarth avatar jcbarth commented on May 29, 2024

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.

3fr61n avatar 3fr61n commented on May 29, 2024

Hi @jcbarth

Are you still having this shell variables issue on osX? is your containers and opennti up and running?

Regards

from open-nti.

evasilew avatar evasilew commented on May 29, 2024

@jcbarth, Hello!
Please let me know what happened, did you solve the problem?

from open-nti.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.