checl_http vhost help


I am trying to monitor several sub-domains all of which have the same public IP address.


Example of the commands I am using
check_command check_http!-H

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?


try running

./check_http --help 

and that check_command definition is wrong… try having a look at the default definitions in the nagios example files to see how to use arguments.