Am trying to execute adhmon -print utility from ansible control machine via ssh connection but getting "command not found" error. Not sure how ansible will load .bash_profile of TREP server. moreover how should i load environment variables from target server.
This forum is dedicated to questions and discussions on TREP APIs, rather then TREP administration, the majority of the members of the community are developers, the moderators of the forum are API experts.
To my best knowledge, adhmon is an admin utility, designed to run on the same machine as adh process is running, in order to monitor and troubleshoot ads related issues.
I checked with ADH Installation guide and it states:
"The adhmon utility is designed for monitoring any type of ADH. It is designed to be run in an xterm window and does not work correctly in other terminal windows."
I would suggest to use as stated in the guide.
I hope this helps.