Enterprise Manager Generic (MOSC)

MOSC Banner

OEM13 how to create a Metric Extension to use dbmcli?

edited Oct 23, 2019 5:00AM in Enterprise Manager Generic (MOSC) 1 commentAnswered

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

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center