<span class="gmail_quote"></span>Hi,<br><br>I have Nagios 2.5 with plugins 1.4.5<br>I have an url and it can happend 2 possibilities:<br><br>1º If it's OK, it responds a binary file <br><br>2º If it's ERROR, it responds a html page, wich tell us that 'The service is not available'
<br><br>I want to check this, but... how can I do it?<br>How can I check if a determinated string is in the binary file?<br>Or.... can I change the check_http for giving me an ERROR when find an string?<br><br>Normaly, if you check an url, and a string to expect in the content, if you find it, you have an OK answer.
<br>I want the opposite. If I find a string in the content, I want an ERROR answer...<br>Is this possible?<br><br>Thanks.<br><span class="sg">Yolanda<br>

</span>