My Oracle Support Banner

EM 13c: Enterprise Manager 13c Cloud Control Metric Extensions with the OS Command Adapter - Using Environment Variables as Documented Fails (Doc ID 2267640.1)

Last updated on JULY 26, 2017

Applies to:

Enterprise Manager Base Platform - Version to [Release 13.1 to 13.2]
Information in this document applies to any platform.


Enterprise Manager (EM) 13.1 Cloud Control

Metric extension creation with an OS Command adapter, requires the user to specify define the <Adapter> definition properties.
Under the <Advanced Properties> tab, <Environment Variables> can be added so that additional properties can be accessible to the command from environment variables.
The following example is presented in the EM 13c Documentation (as seen in the EM 13c Console):

Adding the Environment Variable: Name=targetType, Value="%TYPE%" >

Enterprise Manager Cloud Control Administrator's Guide
Release 13.1
Chapter 8 Using Metric Extensions
8.4 Adapters
8.4.1 OS Command Adapter - Single Column

Environment Variables - Additional properties can be accessible to the command from environment variables. For example, you can add Environment Variable:
Name=targetType, Value="%TYPE%", and the command can access the target type from environment variable "ENVtargetType". See usage examples in OS Command Adapter - Single Columns.

However, adding Value="%TYPE%" or Value=%TYPE% may not work in certain cases and the environment variable values are not gathered.




To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.