Solved it:
when running check_by_ssh don't use the hostname, but the IP of the host and that takes care of it.
Thanks
__________________________________________________________
Not happy with your email address?.
Get the one you really want - millions of new email addresses available now at Yahoo! http://uk.docs.yahoo.com/ymail/new.html