Monitoring the Oracle Listener in Check_MK

I have go through the Oracle monitoring , but oracle plugin working fine, but whenever i have made entries in tnsnames,ora getting error not connected and even oracle plugin fails to connect the database