Check_mk_agent loop execution

Hi all,

I’m using - Checkmk 1.6.0p20

Meantime, I’ve been doing some more tests. This time inside an AIX server.

What I can share is:
Scenario1:
Original check_mk_agent, just changed the exports for my path and added the 755.
Origical mk_oracle.
Original mk_oracle.cfg, where I added the information related to the database I want to monitor.
On server properties, I’ve change to Normal Checkmk agent, all configured special agents.

If I force the manual execution of check_mk_agent or I use the diagnotic option on WATO, it will not bring any info from mk_oracle.
If I force mk_oracle manually, its returning good data without any errors.

Scenario2:
I’ve addedat the botton of check_mk_agent, mk_oracle script. Apart from this I’ve also kept all the changes for my path within the exports.
mk_oracle.cfg, remains equal.
On server properties, I’ve change to Normal Checkmk agent, or special agent if configured.

If I force the manual execution of check_mk_agent it works only the check_mk_agent part, mk_oracle is not working. If use the diagnotic option on WATO, it’s returning “Agent exited with code 3:”.

I really don’t know what I’m doing wrong here.

Thanks in advance,