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

[jmxfetch][windows] write to file to exit JMXFetch #1643

Merged
merged 1 commit into from
Jun 5, 2015

Conversation

yannmh
Copy link
Member

@yannmh yannmh commented May 26, 2015

Order JMXFetch to exit, communicating through a file. Windows only.

Requires DataDog/jmxfetch#58

Alternative: #1639

@yannmh yannmh force-pushed the yann/file-to-stop-jmx branch 2 times, most recently from 94ed1dd to 8be0cb0 Compare May 27, 2015 02:24
@remh
Copy link
Contributor

remh commented May 29, 2015

Nice, can we also clean the exit file when we start jmxfetch to make sure that jmxfetch starts even though the exit file didn't get cleaned properly before ?

@remh remh added this to the 5.4.0 milestone May 29, 2015
@yannmh
Copy link
Member Author

yannmh commented Jun 1, 2015

Done, thanks @remh !

@@ -230,6 +231,13 @@ def _start(self, path_to_java, java_run_opts, jmx_checks, command, reporter, too
command, # Name of the command
]

if get_os() == 'windows':
Copy link
Contributor

Choose a reason for hiding this comment

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

if Platform.is_windows()

Order JMXFetch to exit, communicating through a file. Windows only
@yannmh
Copy link
Member Author

yannmh commented Jun 5, 2015

Brought the last changes suggested. Merging

yannmh added a commit that referenced this pull request Jun 5, 2015
[jmxfetch][windows] write to file to exit JMXFetch
@yannmh yannmh merged commit 65dc7db into master Jun 5, 2015
@yannmh yannmh deleted the yann/file-to-stop-jmx branch June 5, 2015 16:54
@yannmh yannmh self-assigned this Jun 5, 2015
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