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

Disk check by mount #4

Merged
merged 3 commits into from
Feb 2, 2012
Merged

Disk check by mount #4

merged 3 commits into from
Feb 2, 2012

Conversation

alq666
Copy link
Member

@alq666 alq666 commented Feb 2, 2012

Implementing disk metrics

@ghost ghost assigned alq666 Feb 2, 2012
alq666 added a commit that referenced this pull request Feb 2, 2012
@alq666 alq666 merged commit 5cd73d0 into master Feb 2, 2012
if agentConfig['debugMode'] and sys.platform == 'linux2':
mem = subprocess.Popen(['free', '-m'], stdout=subprocess.PIPE, close_fds=True).communicate()[0]
logger.debug('getDiskUsage: memory before Popen - ' + str(mem))
If use_volume is true the volume rather than the mount point is used
Copy link
Contributor

Choose a reason for hiding this comment

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

I think you mean use_mount, not use_volume

remh pushed a commit that referenced this pull request Feb 25, 2015
Merge upstream changes
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