Changeset d29cd189bac6bd07d3dab6845448b8adcf89c29d
- Timestamp:
- 04/20/10 20:37:03
(3 years ago)
- Author:
- Mark Harrison <mark@omniti.com>
- git-committer:
- Mark Harrison <mark@omniti.com> 1271795823 +0000
- git-parent:
[fd93a8d96db416b0ae883a2f8849b9f151cda08a]
- git-author:
- Mark Harrison <mark@omniti.com> 1271795823 +0000
- Message:
A couple of small fixes to the DiskFree? module
git-svn-id: https://labs.omniti.com/resmon/branches/resmon2@308 8c0face9-b7db-6ec6-c4b3-d5f7145c7d55
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| rec3ca85 |
rd29cd18 |
|
| 41 | 41 | |
|---|
| 42 | 42 | The name of the check refers to the filesystem to check the free space on. It |
|---|
| 43 | | should specify the mountpoint of the filesystem and not the device. |
|---|
| | 43 | can specify either the mountpoint or the device for the filesystem. |
|---|
| 44 | 44 | |
|---|
| 45 | 45 | =item dfcmd |
|---|
| … | … | |
| 90 | 90 | my $dfcmd = $config->{dfcmd} || $self->{default_dfcmd}; |
|---|
| 91 | 91 | |
|---|
| 92 | | my $output = cache_command("$dfcmd $fs", 120); |
|---|
| | 92 | my $output = run_command("$dfcmd $fs"); |
|---|
| 93 | 93 | my ($line) = grep(/$fs\s*/, split(/\n/, $output)); |
|---|
| 94 | 94 | if($line =~ /(\d+)\s+(\d+)\s+(\d+)%/) { |
|---|