Metric Collection Errors: Use Of Uninitialized Value $size In Substr At Line 11236

(Doc ID 1904485.1)

Last updated on MARCH 08, 2017

Applies to:

Enterprise Manager for Oracle Database - Version and later
Information in this document applies to any platform.


After upgrade from 10g Grid Control and after promoting the targets in EM12C, the RAC Clusters are getting alerts with the following error:

 "ERROR|Use of uninitialized value $size in substr at /u01/app/oracle/agent/agent12c/plugins/oracle.sysman.db.agent.plugin_12. line 11236"

The issue can be reproduced at will with the following steps:
1. Stop and remove the targets from 10g Grid Control
2. Install and promote RAC Cluster targets in 12c Cloud Control
3. Alerts thrown with the following error:
Error message received: ERROR|Use of uninitialized value $size in substr at /u01/app/oracle/agent/agent12c/plugins/oracle.sysman.db.agent.plugin_12. line 11236.


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 hundreds of Community platforms