check_by_ssh -> .bash_profile

"Timo Waldschmidt" <[email protected]> Sat, 27 Oct 2018 07:52:26 +0200
Newsgroups gmane.network.nagios.plugins
Message-ID <trinity-84cc1f9d-159b-4ced-abe6-50e7e720aa0e-1540619546292__1804.60820342905$1542021575$gmane$org@3c-app-gmx-bs59>
<html><head></head><body><div style="font-family: Verdana;font-size: 12.0px;"><div>Hello,</div>

<div>&nbsp;</div>

<div>I am using check_by_ssh to monitor my oracle-database on a remute host with icinga.</div>

<div>If i am using check_by_ssh with ssh-key. I need that the bash_profile on the remote host is executed to have the environment variable set.</div>

<div>However, the bash_profile is never been executed.</div>

<div>&nbsp;</div>

<div>What I am doing wrong ?</div>

<div>&nbsp;</div>

<div>Thanks for your answer!</div>

<div>&nbsp;</div>

<div>Best Regards, Timo from Germany!!!</div></div></body></html>