nagios/commands.go
func ChangeHostCheckCommand(
	host_name string,
	check_command string,
) *livestatus.Command {
	return livestatus.NewCommand(
		"CHANGE_HOST_CHECK_COMMAND",
		stringifyArg("host_name", "string", host_name),
		stringifyArg("check_command", "string", check_command),
	)
}
func ChangeHostCheckCommand(
	host_name string,
	check_command string,
) *livestatus.Command {
	return livestatus.NewCommand(
		"CHANGE_HOST_CHECK_COMMAND",
		stringifyArg("host_name", "string", host_name),
		stringifyArg("check_command", "string", check_command),
	)
}
func ChangeHostCheckCommand ( host_name string , check_command string , ) * livestatus . Command { return livestatus . NewCommand ( " " , stringifyArg ( " " , " " , host_name ) , stringifyArg ( " " , " " , check_command ) , ) }
// ChangeHostCheckCommand creates a new "CHANGE_HOST_CHECK_COMMAND" Nagios command.
//
// Changes the check command for a particular host to be that specified by the "check_command" option.
//
// The "check_command" option specifies the short name of the command that should be used as the new host check
// command.
//
// The command must have been configured in Nagios before it was last (re)started.
ChangeHostCheckCommand creates a new CHANGE_HOST_CHECK_COMMAND Nagios command . Changes the check command for a particular host to be that specified by the check_command option . The check_command option specifies the short name of the command that should be used as the new host check command . The command must have been configured in Nagios before it was last ( re ) started .