How to monitor webservice


I have web service which returns data from database. I have to monitor it, but I want to check if it is working properly (not just deployed and active), so I have to execute it and check response values. Is it posible with Nagios? How can I do it?

Thanks in advance.


The check_http plugin has the -s string] switch which allows you to define a string to expect in content retrieved from the website when checked.