diff options
| author | Ton Voon <tonvoon@users.sourceforge.net> | 2006-03-23 17:16:38 +0000 |
|---|---|---|
| committer | Ton Voon <tonvoon@users.sourceforge.net> | 2006-03-23 17:16:38 +0000 |
| commit | ada5f2fe02f4171e82ff7adc39d5f46dda40e4b1 (patch) | |
| tree | 9fcc284629332af23c36449cd430c16bbacfb260 /NPTest.pm | |
| parent | f82e0dfa81f134c5e064730fac7690a7aa435f59 (diff) | |
| download | monitoring-plugins-ada5f2fe02f4171e82ff7adc39d5f46dda40e4b1.tar.gz | |
check_disk now errors if a specified directory does not exist (cf df /foo)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1351 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'NPTest.pm')
| -rw-r--r-- | NPTest.pm | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -599,8 +599,8 @@ sub output { | |||
| 599 | sub perf_output { | 599 | sub perf_output { |
| 600 | my $self = shift; | 600 | my $self = shift; |
| 601 | $_ = $self->{output}; | 601 | $_ = $self->{output}; |
| 602 | s/[^|]*\|//; | 602 | /\|(.*)$/; |
| 603 | return $_; | 603 | return $1 || ""; |
| 604 | } | 604 | } |
| 605 | 605 | ||
| 606 | sub testCmd { | 606 | sub testCmd { |
