OEM13 how to create a Metric Extension to use dbmcli?
I've created the LicencedCPU.sh to run the following command:
/sbin/dbmcli -e list dbserver attributes corecount
When I try to test the script against my host - I receive the following error:
Failed to get test Metric Extension metric result.: /u01/app/oracle/agent/132000/agent_inst/sysman/emd/metricExtLib/host/TEST_LICENCEDCPU_2019_10_10_15_50_09/1/scripts/LicencedCPU.sh: line 1: /sbin/dbmcli: cannot execute [Permission denied]
I'm using the 'Default Monitoring Credential' which I'm assuming doesn't have privs, but how do I use Credential Set?
Thanks