Check_oracle with director

Hi, I’m trying to define the check_oracle command with the director. When I run the command in terminal, it resolves fine but icinga web shows “cannot determine oracle_home for sid…”.
what could it be?
thanks

you need to inject the oracle env_vars.