diff --git a/modules/ldapstatus/www/index.php b/modules/ldapstatus/www/index.php
index 5e684c6c17c7ae4a52da09154c174f1da33a5c2b..1f52f8eb09fdacd4745fcc821c10a6b45e88f1fe 100644
--- a/modules/ldapstatus/www/index.php
+++ b/modules/ldapstatus/www/index.php
@@ -254,8 +254,15 @@ if (array_key_exists('orgtest', $_REQUEST)) {
 	
 	// Machine readable output
 	if(array_key_exists('output', $_REQUEST) && $_REQUEST['output'] === 'text') {
+		
+		$ignores = array();
+		if(array_key_exists('ignore', $_REQUEST)) {
+			$ignores = explode(',', $_REQUEST['ignore']);
+		}
+		
 		$ok = TRUE;
 		foreach ($res AS $tag => $resEntry) {
+			if (in_array($tag, $ignores)) continue;
 			if ($tag == 'time') continue;
 			if ($resEntry[0] == 0) {
 				$ok = FALSE;