diff --git a/modules/monitoring/application/views/helpers/PluginOutput.php b/modules/monitoring/application/views/helpers/PluginOutput.php index 92500e4e2..5224185bc 100644 --- a/modules/monitoring/application/views/helpers/PluginOutput.php +++ b/modules/monitoring/application/views/helpers/PluginOutput.php @@ -28,6 +28,8 @@ class Zend_View_Helper_PluginOutput extends Zend_View_Helper_Abstract '~(\[|\()WARNING(\]|\))~', '~(\[|\()CRITICAL(\]|\))~', '~(\[|\()UNKNOWN(\]|\))~', + '~(\[|\()UP(\]|\))~', + '~(\[|\()DOWN(\]|\))~', '~\@{6,}~' ); @@ -44,6 +46,8 @@ class Zend_View_Helper_PluginOutput extends Zend_View_Helper_Abstract '$1WARNING$2', '$1CRITICAL$2', '$1UNKNOWN$2', + '$1UP$2', + '$1DOWN$2', '@@@@@@', ); @@ -101,7 +105,7 @@ class Zend_View_Helper_PluginOutput extends Zend_View_Helper_Abstract */ protected function processHtml($html) { - $pattern = '/[([](OK|WARNING|CRITICAL|UNKNOWN)[)\]]/'; + $pattern = '/[([](OK|WARNING|CRITICAL|UNKNOWN|UP|DOWN)[)\]]/'; $doc = new DOMDocument(); $doc->loadXML('