Skip to content

Commit

Permalink
[auto-discovery][jmxfetch] use modify time instead.
Browse files Browse the repository at this point in the history
  • Loading branch information
truthbk committed Jul 17, 2017
1 parent 5181cdd commit bcc4bec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jmxfetch.py
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,7 @@ def _get_jmx_launchtime():
except OSError as e:
raise e

return _stat.st_atime
return _stat.st_mtime

@staticmethod
def _is_jmx_check(check_config, check_name, checks_list):
Expand Down

0 comments on commit bcc4bec

Please sign in to comment.