Hi,
I have Nagios 2.5 with plugins 1.4.5
I have an url and it can happend 2 possibilities:
1º If it's OK, it responds a binary file
2º If it's ERROR, it responds a html page, wich tell us that 'The service is
not available'
I want to check this, but... how can I do it?
How can I check if a determinated string is in the binary file?
Or.... can I change the check_http for giving me an ERROR when find an
string?
Normaly, if you check an url, and a string to expect in the content, if you
find it, you have an OK answer.
I want the opposite. If I find a string in the content, I want an ERROR
answer...
Is this possible?
Thanks.
Yolanda
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Nagios-users mailing list
[email protected]
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