What is the difference between check_xi_service_http and check_http?
In this particular case (http) I'm wondering if the two commands accept the same parameters, but I'm also interested in the general differences in the xi_service commands.
I've searched my system for a check_xi_service_http executable but haven't found one, so I presume invocation is caught by some sort of hook.
check_xi_service_http vs check_http
Re: check_xi_service_http vs check_http
Code: Select all
define command {
command_name check_http
command_line $USER1$/check_http -I $HOSTADDRESS$ $ARG1$
}
define command {
command_name check_xi_service_http
command_line $USER1$/check_http -H $HOSTADDRESS$ $ARG1$
}Former Nagios employee
Re: check_xi_service_http vs check_http
Ah thanks tmcdonald.
Code: Select all
% pwd
/usr/local
% grep -l -r check_xi_service_http *
..
nagios/etc/commands.cfg
..
% grep -A 3 check_xi_service_http nagios/etc/commands.cfg
command_name check_xi_service_http
command_line $USER1$/check_http -H $HOSTADDRESS$ $ARG1$
}
--
command_name check_xi_service_http_cert
command_line $USER1$/check_http -H $HOSTADDRESS$ -C $ARG1$
}
--
command_name check_xi_service_http_content
command_line $USER1$/check_http -H $HOSTADDRESS$ --onredirect=follow -s "$ARG1$"
}
Re: check_xi_service_http vs check_http
You're quite welcome. I'll be closing this thread now, but feel free to open another if you need anything in the future!
Former Nagios employee