[Nagiosplug-checkins] nagiosplug THANKS.in, 1.31, 1.32 NPTest.pm, 1.11, 1.12
Ton Voon
tonvoon at users.sourceforge.net
Thu Oct 12 15:58:45 CEST 2006
Update of /cvsroot/nagiosplug/nagiosplug
In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv31296
Modified Files:
THANKS.in NPTest.pm
Log Message:
Fixed output from -e in check_disk (Andreas Behal)
Index: THANKS.in
===================================================================
RCS file: /cvsroot/nagiosplug/nagiosplug/THANKS.in,v
retrieving revision 1.31
retrieving revision 1.32
diff -u -d -r1.31 -r1.32
--- THANKS.in 21 Sep 2006 10:41:22 -0000 1.31
+++ THANKS.in 12 Oct 2006 13:58:43 -0000 1.32
@@ -191,3 +191,4 @@
Nathan Vonnahme
Mike Emigh
Christian Mies
+Andreas Behal
Index: NPTest.pm
===================================================================
RCS file: /cvsroot/nagiosplug/nagiosplug/NPTest.pm,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -d -r1.11 -r1.12
--- NPTest.pm 29 Mar 2006 15:30:34 -0000 1.11
+++ NPTest.pm 12 Oct 2006 13:58:43 -0000 1.12
@@ -603,6 +603,13 @@
return $1 || "";
}
+sub only_output {
+ my $self = shift;
+ $_ = $self->{output};
+ /(.*?)\|/;
+ return $1 || "";
+}
+
sub testCmd {
my $class = shift;
my $command = shift or die "No command passed to testCmd";
More information about the Commits
mailing list