Nagios のcheck_http の設定
デフォルトでは, -H が -I になっていて,
define command{
command_name check_http
command_line $USER1$/check_http -H $HOSTADDRESS$
}
この場合,IPでアクセスしてしまう.
- H だとURL.
check_http | Nagios Plugins http://nagiosplugins.org/man/check_http
デフォルトでは, -H が -I になっていて,
define command{
command_name check_http
command_line $USER1$/check_http -H $HOSTADDRESS$
}
check_http | Nagios Plugins http://nagiosplugins.org/man/check_http