Closed prestonvanloon closed 8 years ago
Update:
Here's the entire process to replicate my openshift issue. (Let me preface this with: it works now!!!)
Create the DD monitor app
rhc app create ddmonitor diy-0.1
Set the environment variable
rhc set-env DATADOG_API_KEY=
-a ddmonitor Add the cartridge
rhc cartridge-add http://cartreflect-claytondev.rhcloud.com/github/datadog/datadog-openshift -a ddmonitor
SSH into the gear
rhc ssh ddmonitor
start the monitor
$OPENSHIFT_DATADOG_DIR/bin/control start
check the status
$OPENSHIFT_DATADOG_DIR/bin/control status
And I see some agents running! Previously it wouldn't work. Maybe a failed download of the cartridge? I'm not sure. When I would run the control start command it would say "starting the agent..." then when I ran the status command it would say no agents running. No error or anything. So I looked into what the start command did and tried to run that. That's how I go the "supervisord" not defined or whatever.
Thanks @Martiflex. This is working for me now.
This was a fresh install