check_http -s

Marc Powell marc at ena.com
Fri May 8 22:50:20 CEST 2009


On May 8, 2009, at 12:41 PM, Proskurin Kirill wrote:

> But last strange thing - check returns OK if I expect ANY letter of
> "OKAY" word.
>
> ./check_http -v -H example.com -u /some.jsp -s K  -- returns OK and so
> on. Bug?

No, not a bug. You're searching for 'K' and it is present in the word  
'OKAY' in the page. You're searching for simple strings, not words.  
Searching for the string 'OKAY' would successfully match  
'thisisreallycoolOKAYthxbai'.

--
Marc


------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list