I have created a service check based on check_http with the following arguments:
-H $HOSTADDRESS$ -w 10 -c 10 -p %HTTP_CUSTOM_PORT% -s %HTTP_CUSTOM_RESPONSE_TEXT% -u "%HTTP_CUSTOM_REQUEST_URL:1%"
So that I can define attributes for port, URL and response to see if a given site on the host is up or not. THe thing is, I have a single server with two HTTP ports on it, two URLs to be checked (one on each port) and two different reponses. So it goes something like:
I need to check that both services are up. I have tried playing around with multiple services for single host as here described http://www.opsview.com/whats-new/blog/monitor-multiple-different-service... but it only works with one attribute defined two times (DISK). In my case, I need sets of attributes (URL, PORT, RESPONSE). Any hints on how to achieve this? Thanks,