Nagios のcheck_http の設定


define command{
command_name check_http
command_line $USER1$/check_http -H $HOSTADDRESS$
}
デフォルトでは, -H が -I になっていて,
この場合,IPでアクセスしてしまう.

  • H だとURL.

check_http | Nagios Plugins http://nagiosplugins.org/man/check_http