Skip to content
This repository has been archived by the owner on Jul 28, 2021. It is now read-only.

Connector exit status 1; not expected #1

Closed
rampadc opened this issue Oct 14, 2018 · 1 comment
Closed

Connector exit status 1; not expected #1

rampadc opened this issue Oct 14, 2018 · 1 comment
Assignees

Comments

@rampadc
Copy link

rampadc commented Oct 14, 2018

When this connector is used in conjunction with ibm-watson-iot/grafana4iot, the connector starts and then shuts down immediately:

connector_1  | 2018-10-14 01:00:29,258 INFO success: statsd entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
connector_1  | 2018-10-14 01:00:29,261 INFO spawned: 'connector-statsd' with pid 23
connector_1  | 2018-10-14 01:00:29,386 INFO exited: connector-statsd (exit status 1; not expected)

This repeats for several times until it gives up and enter FATAL state.

@durera durera self-assigned this Oct 14, 2018
@durera
Copy link
Contributor

durera commented Dec 3, 2018

There was a few issues, but I was able to reproduce this on my own setup and the recent updates in this repo got me running again.

Note there are a few changes to environment variable names (to align with names being used elsewhere) ... I've pushed an updated image to docker hub so you should be able to get this up and running now with: https://hub.docker.com/r/wiotp/connector-statsd/

export GRAPHITE_HOST=xxx
export GRAPHITE_PORT=xxx
export WIOTP_API_KEY=xxx
export WIOTP_API_TOKEN=xxx

docker run wiotp/connector-statsd -e WIOTP_API_KEY -e WIOTP_API_TOKEN -e GRAPHITE_HOST -e GRAPHITE_PORT

The grafana4iot docker-compose file has also been updated to reference the images on dockerhub now, so if you want to give that a crack that should work too:

export WIOTP_API_KEY=<your api key>
export WIOTP_API_TOKEN=<your auth token>
wget https://github.com/ibm-watson-iot/grafana4iot/blob/master/docker-compose.yml
docker-compose up

@durera durera closed this as completed Dec 3, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants