Problems with content match / Zend in check_http
<wolfgang.winter-2ZMWW/[email protected]> Fri, 27 Feb 2015 09:23:49 +0000
| Newsgroups | gmane.network.nagios.plugins,gmane.network.monitoring.plugins.user |
|---|---|
| Message-ID | <[email protected]> |
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