I am trying to monitor several sub-domains all of which have the same public IP address.
…Example…
domain.com
test1.domain.com
Example of the commands I am using
check_command check_http!-H test.domain.com
My problem is, Nagios reports HTTP as OK even when I take the vhost offline and it isn’t accessible, this leads me to believe the command I am using is incorrect?