Problems with content match / Zend in check_http

wolfgang.winter at stadt-koeln.de wolfgang.winter at stadt-koeln.de
Fri Feb 27 10:23:49 CET 2015


Hello,
want use content matching for a website, using the parameter -s:
./check_http -H SERVERNAME.DOMAIN..de -u "http://SERVERNAME/foo/" -s "Text-to-find"
But the command doesn't find the string, when I open the website manually, I can find the content.
So I use the parameter -v:
./check_http -H SERVERNAME.DOMAIN..de -u "http://SERVERNAME/foo/" -s "Text-to-find" -v
Here the output:
#<b>Fatal error</b>:  Uncaught exception 'Zend_View_Exception' with message 'script 'layout.phtml' not found in path (/export/SERVERNAME/wwwroot/fooname/application/layouts/scripts/:/export/SERVERNAME/wwwroot/fooname/application/views/scripts/)' in /export/SERVERNAME/wwwroot/fooname/library/Zend/View/Abstract.php:980
Stack trace:
#0 /export/SERVERNAME/wwwroot/fooname/library/Zend/View/Abstract.php(876): Zend_View_Abstract->_script('layout.phtml')
Opening the address at the browser shows me all content.. the page is OK, but why check_http have those problems?

Kind regards
Wolfgang winter




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-plugins.org/archive/help/attachments/20150227/95d3ea71/attachment.html>


More information about the Help mailing list