check_http and special characters
Posted: Fri May 29, 2015 2:36 pm
I'm trying to use the check_http command (actually, it's 'check_xi_service_http', which just calls 'check_http' with some options set) to monitor webpages for content using the '-s "TEXT TO FIND"' option. I'm getting that the text isn't found when it looks like it should be. In a couple of examples, I've seen that the webpage creators have put non-breaking spaces (" " in HTML) in the bit of text that the users have chosen to monitor for. Would this be something that would mess the check up? For example, if I configured it to search for "Find this text", would it find "Find this[non-breaking space]text"? If not, is there another switch to make it behave like that?
Thanks!
Thanks!