YOU SAID:
Hello there sir are you ok today?
INTO JAPANESE
こんにちは、先生、今日は大丈夫ですか?
BACK INTO ENGLISH
Hello teacher, how are you today?
INTO JAPANESE
こんにちは先生、今日はお元気ですか?
BACK INTO ENGLISH
Hello teacher, how are you today?
That didn't even make that much sense in English.