You are running this as root on the command line, but apache in the test check button, and if it were run normally it would be as nagios. Try running the commands as the apache and nagios users and see if you get any meaningful output.
sorry yes i renamed it corrected after i had tested it and it also runs ok with the nagios account.
i see your KB article but there's no mention of python so maybe i'm missing something.
sorry if i'm missing the obvious
i found the solution
[[email protected] ~]# /usr/bin/python /usr/local/nagios/libexec/check_dothill -H 10.101.24.97 -U nagios -P Nagios123 -T sensor-status
SENSORS OK