1 Reply Latest reply: Oct 25, 2012 11:15 AM by 911978 RSS

    emcli runCollection for Metric Extention

    911978
      Hi

      I'm testing EM12cR2 (12.1.0.2.0) on SPARC Solaris. Is it possible to manyally run collection gathering using emctl control agent runCollection?

      I'm getting error

      ./emctl control agent runCollection DB_S2:oracle_database ME$CNT_BUFFER
      Oracle Enterprise Manager Cloud Control 12c Release 2
      Copyright (c) 1996, 2012 Oracle Corporation. All rights reserved.
      ---------------------------------------------------------------
      EMD runCollection error:
      ME:No metric collection named ME for oracle_database,DB_S2

      ./emctl control agent runCollection DB_S2:oracle_database "ME$CNT_BUFFER"
      Oracle Enterprise Manager Cloud Control 12c Release 2
      Copyright (c) 1996, 2012 Oracle Corporation. All rights reserved.
      ---------------------------------------------------------------
      EMD runCollection error:
      ME:No metric collection named ME for oracle_database,DB_S2

      My metric exists in SYSMAN tables...
        • 1. Re: emcli runCollection for Metric Extention
          911978
          The answer is easy

          I have to use \ before $

          ./emctl control agent runCollection DB_S2:oracle_database ME\$CNT_BUFFER
          Oracle Enterprise Manager Cloud Control 12c Release 2
          Copyright (c) 1996, 2012 Oracle Corporation. All rights reserved.
          ---------------------------------------------------------------
          EMD runCollection completed successfully


          :)