[omd-commits] OMD Git: omd: check_multi: reenable tests which failed because of shinken/ nagios-cgi

git version control git at mathias-kettner.de
Fri Sep 14 23:52:35 CEST 2012


Module:   omd
Branch:   master
Commit:   3b1922b93c86b76b28c1f6821c693c5ee5ef18ab
URL:      http://omdistro.org/projects/omd/repository/revisions/3b1922b93c86b76b28c1f6821c693c5ee5ef18ab

Author:   Gerhard Lausser <gerhard.lausser at consol.de>
Date:     Fri Sep 14 23:51:45 2012 +0200
Commiter: Gerhard Lausser <gerhard.lausser at consol.de>
Date:     Fri Sep 14 23:51:45 2012 +0200

check_multi: reenable tests which failed because of shinken/nagios-cgi

---

 t/20-package_check_multi.t                 |    6 +++---
 t/packages/check_multi/test/pnp4nagios.cmd |    4 ++--
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/t/20-package_check_multi.t b/t/20-package_check_multi.t
index 9eba29e..6c9631b 100644
--- a/t/20-package_check_multi.t
+++ b/t/20-package_check_multi.t
@@ -12,7 +12,7 @@ BEGIN {
     use lib "$FindBin::Bin/lib/lib/perl5";
 }
 
-plan( tests => 135 );
+plan( tests => 137 );
 
 # create our test site
 my $omd_bin = TestUtils::get_omd_bin();
@@ -86,8 +86,8 @@ my $urls = [
 			'/npcd/',
 			'/var_diskspace/',
 			'/var_updated_recently/',
-			#'/process_perfdata_timeout/',
-			#'/error_in_npcd_log/',
+			'/process_perfdata_timeout/',
+			'/error_in_npcd_log/',
 		],
 	},
 	{
diff --git a/t/packages/check_multi/test/pnp4nagios.cmd b/t/packages/check_multi/test/pnp4nagios.cmd
index f9ca47b..8db4713 100644
--- a/t/packages/check_multi/test/pnp4nagios.cmd
+++ b/t/packages/check_multi/test/pnp4nagios.cmd
@@ -11,8 +11,8 @@ command [ var_diskspace            ] = check_disk -w 20% -c 10% -p $OMD_ROOT$/va
 command [ var_updated_recently     ] = check_file_age -w 300 -c 600 -f $OMD_ROOT$/var/pnp4nagios
 
 #--- check for timeouts in process_perfdata.log
-#command [ process_perfdata_timeout ] = check_logfiles --timeout=10 --logfile=$OMD_ROOT$/var/pnp4nagios/log/perfdata.log --tag=timeout --criticalpattern TIMEOUT --nologfilenocry --seekfilesdir=$OMD_ROOT$/tmp --protocolsdir=$OMD_ROOT$/tmp
+command [ process_perfdata_timeout ] = check_logfiles --timeout=10 --logfile=$OMD_ROOT$/var/pnp4nagios/log/perfdata.log --tag=timeout --criticalpattern TIMEOUT --nologfilenocry --seekfilesdir=$OMD_ROOT$/tmp --protocolsdir=$OMD_ROOT$/tmp
 
 
 #--- check for errors in npcd.log
-#command [ error_in_npcd_log        ] = check_logfiles --timeout=10 --logfile=$OMD_ROOT$/var/pnp4nagios/log/npcd.log --tag=error --criticalpattern ERROR --nologfilenocry --nologfilenocry --seekfilesdir=$OMD_ROOT$/tmp --protocolsdir=$OMD_ROOT$/tmp
+command [ error_in_npcd_log        ] = check_logfiles --timeout=10 --logfile=$OMD_ROOT$/var/pnp4nagios/log/npcd.log --tag=error --criticalpattern ERROR --nologfilenocry --nologfilenocry --seekfilesdir=$OMD_ROOT$/tmp --protocolsdir=$OMD_ROOT$/tmp



More information about the omd-commits mailing list