Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Jkoppe supervisor and redhatinit fixes #85

Merged
merged 4 commits into from
Jun 22, 2012
Merged

Jkoppe supervisor and redhatinit fixes #85

merged 4 commits into from
Jun 22, 2012

Conversation

jkoppe
Copy link

@jkoppe jkoppe commented Jun 22, 2012

  • Add options to make supervisorctl work
  • Adjust redhat init script so its a bit more friendly to puppet's service type AND during interactive use by an admin

Jason Koppe added 3 commits June 22, 2012 13:57
…sor, 2) check_status with supervisorctl provides more useful messages and return codes, 3) grab_status uses check_status for return codes, 4) stop/start functions use grab_status before the supervisor test (before we only did grab_status checks inside the non-supervisorctl case)
@ghost ghost assigned alq666 Jun 22, 2012
@@ -13,20 +19,24 @@ pidfile = /var/run/datadog-supervisord.pid
logfile_backups = 10

[program:collector]
command=env LANG=POSIX /usr/bin/python /usr/share/datadog/agent/agent.py foreground --use-local-forwarder
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We need to keep that LANG=POSIX set in the environment, otherwise it'll break in some non-US locales (e.g. Norway).
It's not needed for the forwarder though.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oops, i meant to put that in the supervisor child subprocess environment field per http://supervisord.org/subprocess.html#subprocess-environment.

alq666 added a commit that referenced this pull request Jun 22, 2012
…ixes

Jkoppe supervisor and redhatinit fixes
@alq666 alq666 merged commit 5c31c1f into DataDog:master Jun 22, 2012
olivielpeau added a commit that referenced this pull request Mar 23, 2016
* [FEATURE] Allow configuration of StatsD host. See [#85][]
* [IMPROVEMENT] Re-throw IOException caught at the instance-level to handle them properly. See [#83][]

[#83]: DataDog/jmxfetch#83
[#85]: DataDog/jmxfetch#85
olivielpeau added a commit that referenced this pull request Mar 23, 2016
**Changes**
* [FEATURE] Allow configuration of StatsD host. See [#85][]
* [IMPROVEMENT] Re-throw IOException caught at the instance-level to handle them properly. See [#83][]

[#83]: DataDog/jmxfetch#83
[#85]: DataDog/jmxfetch#85
olivielpeau added a commit that referenced this pull request Mar 30, 2016
**Changes**
* [FEATURE] Allow configuration of StatsD host. See [#85][]
* [IMPROVEMENT] Re-throw IOException caught at the instance-level to handle them properly. See [#83][]

[#83]: DataDog/jmxfetch#83
[#85]: DataDog/jmxfetch#85
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants