Emcli runCollection for Metric Extention

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...

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
:)

Similar Messages

  • Execution timeout for metric extentions

    Hi all!
    I've created more than 20 metric extentions with type "Database Instance" and got a problem.
    gcagent.log:
    2012-09-11 17:53:35,506 [119:DE9847E0:GC.Executor.3 (oracle_database:BERCUTDB_S2:ME$ROAM_INCOMING_TAP_FILES)] WARN - IntervalSchedule: Skip schedule [oracle_database:BERCUTDB_S2:ME$ROAM_INCOMING_TAP_FILES] - skipping due to execution time exceeding interval
    2012-09-11 17:53:53,489 [127:3304A4AC:GC.Executor.11 (ZombieDetector)] INFO - Suspended oracle_database:BERCUTDB_S2:ME$ROAM_INCOMING_TAP_FILES for indefinite suspension due to zombie task
    My sql queries seems not to slow. About 2..10 sec to execute.
    Is it posible to change timeout setting?
    Also i have similar problem with EM native metric - FilesystemsSunOS
    Workaround is to run it using cron
    /u01/app/oracle/agent12c/agent_inst/bin/emctl control agent runCollection E291:host FilesystemsSunOS

    I find the reason.
    It's EM12c bug with Metric Extention's collection frequency property
    I created few metric extentions on EM 12 Release 2 for Oracle DB target with collection frequency = "1 day". But when it deployed to targed or assigned to monitoring template, the value of collection frequency becomes "1 second". EM stops to collect this metric because the execution time is about 5..10 seconds.
    Workaround is to create ME with collection frequency=by hours and interval=24h

  • Count() function throws error in EQL query for metric

    Hi
    I am trying to use count function in EQL query for Metric Bar to show the number of occurrences of a record.
    When the record type doesn't exist i expect the function to return count as 0. Instead the function throws a runtime exception and the whole Metric Bar portlet fails, with error No Results Available. Even though other components in the metric bar have valid results.
    2013-02-21 13:03:51,216 WARN [MetricsBarQueryProcessor] The EQL query does not return any results.
    2013-02-21 13:03:51,216 ERROR [MetricsBarQueryProcessor] The EQL query does not return any results.
    2013-02-21 13:03:51,216 WARN [MetricsBarResultsProcessor] No statement results to process.
    The EQL query i am using is
    RETURN NUMBER_OCCURS AS SELECT COUNT(EMP_ID) AS NUMBER_OCCURS where EMP_NAME IS NOT NULL group;
    I tried using COALESCE but that doesn't help.
    Can some one please suggest a workaround to this?

    Srikanth,
    Two statements are used here because the original question was pertaining to the null set (where there are employees in the nav state but no employees that fit the special analytics criteria in the navigation state). The question/answer has nothing to do with what is in the COUNT parentheses clause as Counting a null set will always give you NULL, not 0, no matter what you put in there.
    What we're really doing, in the second part of the query, is writing a query over a set of data that is not the null set (i.e. the current navigation state). This allows the 0 value to come through in the case where the first analytics statement is evaluated over a null set of records. If there were truly no records in the navigation state, this too would return a null set and not zero.
    Hope that makes sense, feel free to respond (either on here or offline) if it's unclear.
    Regards,
    Patrick Rafferty
    http://branchbird.com

  • Setting thresholds for Metrics in OEM

    I want to set thresholds for metrics in OEM and everytime I do, the following error occurs.
    Error occurred while editing the metric thresholds.
    Communication exception occurred while saving the thresholds data to the emd.
    Error
    java.lang.Exception: No such metric
    Does anyone have any idea why this is happening and what can I do to fix it.
    Thank you

    Hi.
    Monitoring templates are not permanently associated with targets.
    Applying a template on a target updates the target's settings but if you modify the template afterwards you need re-apply it.
    Furthermore, you can apply more than one template on a target. The second apply operation will generally override settings applied in the first one.
    (As a best practice I would make sure that if I use more than one template for a specific target type , the different templates will
    include different metrics).
    Apply operations are logged and you can check which template was applied against which target.
    This is available under "past apply operations" in the templates page.
    HTH,
    Erez.

  • Unable to open file "NULL\.EXT" - default sizes assumed for initial extents

    Dear Friends i am trying to install IDES 4.6C on Windows 2000 Advance server + MSSQL2000 this error i am facing during installation all of the installation files are on my D:\ drive following is the structure.
    D:\DBExport\DB
    D:\DBExport\Data
    D:\DBExport\LABEL.ASC
    and kernal also on D:\ drive.
    this is the error number one which i got
    Error: DBR3LOADEXEC_NT_MSS R3loadPrepare 2 722
    Child exited with error: rc = 2
    child_pid = 1
    See logfile SAPAPPL2.log for further information
    and here is the associated log file.
    #START OF LOG: 20060123112519
    R3load version @(#) $Id: //bas/46D/src/ins/R3load/R3load.c#12 $ SAP
    R3load -fast -i SAP0000.cmd -p SAP0000.log
    start of syntax check ###
    end of syntax check ###
    #START: 20060123112520
    error message: No such file or directory
    (GOS) WARNING: Unable to open file "NULL\.EXT" - default sizes assumed for initial extents
    (OLD) ERROR: CREATE statement failed for object "D010L"
         (CREATE TABLE "D010L" ( "PROG" VARCHAR(40) NOT NULL ,
    "R3STATE" VARCHAR(1) NOT NULL , "R3MODE" VARCHAR(1) NOT NULL ,
    "R3VERSION" VARCHAR(4) NOT NULL , "MACH" SMALLINT NOT NULL ,
    "BLOCKNR" TINYINT NOT NULL , "BLOCKLG" DECIMAL(5,0) NOT NULL ,
    "BLOCK" IMAGE NULL  )
    exec sp_bindefault 'str_default','D010L.PROG'
    exec sp_bindefault 'str_default','D010L.R3STATE'
    exec sp_bindefault 'str_default','D010L.R3MODE'
    exec sp_bindefault 'str_default','D010L.R3VERSION'
    exec sp_bindefault 'num_default','D010L.MACH'
    exec sp_bindefault 'num_default','D010L.BLOCKNR'
    exec sp_bindefault 'num_default','D010L.BLOCKLG'
    DbSlExecute: rc = 106
    (SQL error 2714)
    error message returned by DbSl:
    There is already an object named 'D010L' in the database.
    #STOP: 20060123112520
    #START OF LOG: 20060123152536
    R3load version @(#) $Id: //bas/46D/src/ins/R3load/R3load.c#12 $ SAP
    R3load -fast -i SAP0000.cmd -p SAP0000.log -r
    start of syntax check ###
    end of syntax check ###
    trying to restart import ###
    (RIM) INFO: table "D010L" dropped
    restart finished ###
    #START: 20060123152552
    error message: No such file or directory
    (GOS) WARNING: Unable to open file "NULL\.EXT" - default sizes assumed for initial extents
    (IMP) TABLE: "D010L"
    #Trying to create primary key "D010L~0"
    (IMP) PRKEY: "D010L~0"
    (OLD) ERROR: CREATE statement failed for object "D010LINF"
         (CREATE TABLE "D010LINF" ( "PROG" VARCHAR(40) NOT NULL ,
    "R3STATE" VARCHAR(1) NOT NULL , "R3MODE" VARCHAR(1) NOT NULL ,
    "R3VERSION" VARCHAR(4) NOT NULL , "MACH" SMALLINT NOT NULL ,
    "R3RELEASE" VARCHAR(4) NOT NULL , "R3MODIFY" INT NOT NULL ,
    "UNAM" VARCHAR(12) NOT NULL , "UDAT" VARCHAR(8) NOT NULL ,
    "UTIME" VARCHAR(6) NOT NULL , "L_DATALG" INT NOT NULL ,
    "Q_DATALG" INT NOT NULL , "Y_DATALG" INT NOT NULL , "SDAT" VARCHAR(8) NOT NULL ,
    "STIME" VARCHAR(6) NOT NULL  )
    exec sp_bindefault 'str_default','D010LINF.PROG'
    exec sp_bindefault 'str_default','D010LINF.R3STATE'
    exec sp_bindefault 'str_default','D010LINF.R3MODE'
    exec sp_bindefault 'str_default','D010LINF.R3VERSION'
    exec sp_bindefault 'num_default','D010LINF.MACH'
    exec sp_bindefault 'str_default','D010LINF.R3RELEASE'
    exec sp_bindefault 'num_default','D010LINF.R3MODIFY'
    exec sp_bindefault 'str_default','D010LINF.UNAM'
    exec sp_bindefault 'str_default','D010LINF.UDAT'
    exec sp_bindefault 'str_default','D010LINF.UTIME'
    exec sp_bindefault 'num_default','D010LINF.L_DATALG'
    exec sp_bindefault 'num_default','D010LINF.Q_DATALG'
    exec sp_bindefault 'num_default','D010LINF.Y_DATALG'
    exec sp_bindefault 'str_default','D010LINF.SDAT'
    exec sp_bindefault 'str_default','D010LINF.STIME'
    DbSlExecute: rc = 106
    (SQL error 2714)
    error message returned by DbSl:
    There is already an object named 'D010LINF' in the database.
    #STOP: 20060123152556
    #START OF LOG: 20060123154952
    R3load version @(#) $Id: //bas/46D/src/ins/R3load/R3load.c#12 $ SAP
    R3load -fast -i SAP0000.cmd -p SAP0000.log -r
    start of syntax check ###
    end of syntax check ###
    trying to restart import ###
    (RIM) INFO: table "D010LINF" dropped
    restart finished ###
    #START: 20060123154955
    (IMP) TABLE: "D010LINF"
    #Trying to create primary key "D010LINF~0"
    (IMP) PRKEY: "D010LINF~0"
    (OLD) ERROR: CREATE statement failed for object "D010Q"
         (CREATE TABLE "D010Q" ( "PROG" VARCHAR(40) NOT NULL ,
    "R3STATE" VARCHAR(1) NOT NULL , "R3MODE" VARCHAR(1) NOT NULL ,
    "R3VERSION" VARCHAR(4) NOT NULL , "MACH" SMALLINT NOT NULL ,
    "BLOCKNR" TINYINT NOT NULL , "BLOCKLG" DECIMAL(5,0) NOT NULL ,
    "BLOCK" IMAGE NULL  )
    exec sp_bindefault 'str_default','D010Q.PROG'
    exec sp_bindefault 'str_default','D010Q.R3STATE'
    exec sp_bindefault 'str_default','D010Q.R3MODE'
    exec sp_bindefault 'str_default','D010Q.R3VERSION'
    exec sp_bindefault 'num_default','D010Q.MACH'
    exec sp_bindefault 'num_default','D010Q.BLOCKNR'
    exec sp_bindefault 'num_default','D010Q.BLOCKLG'
    DbSlExecute: rc = 106
    (SQL error 2714)
    error message returned by DbSl:
    There is already an object named 'D010Q' in the database.
    #STOP: 20060123154956
    #START OF LOG: 20060123162918
    R3load version @(#) $Id: //bas/46D/src/ins/R3load/R3load.c#12 $ SAP
    R3load -fast -i SAP0000.cmd -p SAP0000.log -r
    start of syntax check ###
    end of syntax check ###
    trying to restart import ###
    (RIM) INFO: table "D010Q" dropped
    restart finished ###
    #START: 20060123162920
    (IMP) TABLE: "D010Q"
    #Trying to create primary key "D010Q~0"
    (IMP) PRKEY: "D010Q~0"
    (IMP) ERROR: CREATE statement failed for object "D010Y"
         (CREATE TABLE "D010Y" ( "PROG" VARCHAR(40) NOT NULL ,
    "R3STATE" VARCHAR(1) NOT NULL , "R3MODE" VARCHAR(1) NOT NULL ,
    "R3VERSION" VARCHAR(4) NOT NULL , "MACH" SMALLINT NOT NULL ,
    "BLOCKNR" TINYINT NOT NULL , "BLOCKLG" DECIMAL(5,0) NOT NULL ,
    "BLOCK" IMAGE NULL  )
    exec sp_bindefault 'str_default','D010Y.PROG'
    exec sp_bindefault 'str_default','D010Y.R3STATE'
    exec sp_bindefault 'str_default','D010Y.R3MODE'
    exec sp_bindefault 'str_default','D010Y.R3VERSION'
    exec sp_bindefault 'num_default','D010Y.MACH'
    exec sp_bindefault 'num_default','D010Y.BLOCKNR'
    exec sp_bindefault 'num_default','D010Y.BLOCKLG'
    DbSlExecute: rc = 106
    (SQL error 2714)
    error message returned by DbSl:
    There is already an object named 'D010Y' in the database.
    #STOP: 20060123162921
    I am really struck with the installation any help will be highly appreciated.
    best regards,
    Zeeshan

    Hi:
    It seemed to me that you put the wrong directory or drive when started the installation. It shows "error message: No such file or directory" when trying to locate the files.
    You can try to verify your inputs during first phase of the installation.
    Hope this helps!
    Best Regards,
    Federico G. Babelis
    NetWeaver Certified Consultant
    http://www.gazum.com

  • IE policy for file extention prompts

    our developers have an INTRANET site that have links that point to .mdb and .xls files, how do I disable the security prompt. I know IE is doing exactly what it is suppose to but I need to be able to make and exception for certain extentions for the INTRANET
    zone alone. Can you help?

    Hi,
    Regarding your request, would you please first let me know the IE version?
     In IE8 There used to be a key called HKEY_CURRENT_USER\Software\Microsoft\Windows\Shell\AttachmentExecute\{0002DF01-0000-0000-C000-000000000046} which stored the File Types that could either Auto-Open or not. This Key is
    not created in IE9, it can be added to the registry and IE9 still reads and applies settings associated with it.
    Whichever File Type you need to Auto-open, simply add a Zero Length Binary value by its name. These key values can either be added to the registry using GPP, and then the user is able to Auto-Open
    the specific file type in the browser. Hope this helps.
    Best Regards,
    Andy Qi
    TechNet Subscriber Support
    If you are
    TechNet Subscription user and have any feedback on our support quality, please send your feedback
    here.
    Andy Qi
    TechNet Community Support

  • Message: Support for CPU extention SSE2

    I'm trying to install PPCS3 and I get the message that I need to update "Support for CPU extention SSE2" before I can install. Does anyone have any idea what this is all about? I sure don't. Thanks for any help or info.

    More information.
    Cheers
    Eddie
    Forum FAQ
    Premiere Pro Wiki
    - Over 300 frequently answered questions
    - Over 100 free tutorials
    - Maintained by editors like
    you

  • What is the unit for metric tonne

    hi,
    can any one tell me what unit i should take for metric tone.
    TO     TO     Tonne     Mass
    this unit is same as metric tone ?
    in t006 table i found this unit.but i dont know it is same as metric tone

    Hi Venkat
    Metric tonne is nothing but 1000 Kg's. May be if you get the quantity in Kg's you can convert it to MT using,
    1 MT = 1000 KG.
    ~ Ranganath
    PS : Reward if found useful !

  • Emcli set_metric_promotion for aggregate_service

    I am trying to promote a metric from generic_service to an aggregate_service. One can do this through the browser interface; is this also supported by emcli? If so, what is the syntax?
    Here is an example of a simple attempt, including the command that successfully promotes the metric for an underlying generic_service:
    emcli set_metric_promotion -name="DBDEVOEMOSService" -type=generic_service -category=Usage -basedOn=system \
    -aggFunction=MAX -promotedMetricKey='Max Aggregate CPU (%)' -column=cpuUtil -metricName=Load -depTargets="hostA;hostB" -mode=CREATE -depTargetType=host
    I have tried to use this syntax to promote the metric to an aggregate service:
    emcli set_metric_promotion -name="DBDEVOEM" -type=aggregate_service -category=Usage -basedOn=system \
    -aggFunction=COPY -promotedMetricKey='Max Aggregate CPU (%)' -column=Usage -metricName=UsageValue \
    -depTargets="DEVOEMOSService" -mode=CREATE -depTargetType=generic_service
    This returns an error:
    Internal Error: The EM CLI system has encountered an internal error. Details have been added to the EM CLI log files.
    Unfortunately, there isn't anything in the EM CLI log file, despite the error message saying that there is.
    Any tips appreciated.

    Thanks but I tried '%' it does not work for promoted metrics.
    I tried changing the promoted metric key values via the console ie.
    - Click on the Service created
    - click on "Monitoring Configuration"
    - click "Performance metrics" and edit the metric.
    The gui does not allow you to enter values!
    You have to select key values that have been collected so far.
    However, it would be nice to define the values before we start collecting metric data, and also, be able to define wildcard selections.
    I then tried creating the promoted metric via the command line use the verb "set_metric_promotion" and set the key value to '%'.
    For example,
    emcli set_metric_promotion -name=MY_SERVICE -type=generic_service -category=Performance -basedOn=system -aggFunction=SUM -promotedMetricKey=MyCounter -metricName=MyMetric -column=MyCounter -depTargetType=MyCustomPlugin -depTargetKeyValues=monitor_bld02_08:%;monitor_bld02_09:% -threshold=20;15;GE -mode=CREATE
    This executes successfully but when I view the promoted metric via the console, there is an error message
    *"ORA-01465: invalid hex number "*
    The other problem with this verb is that it doesn't seem to handle composite keys. The documentation only has syntax and examples for single key values.

  • How to set collection schedule for metric thresholds

    Greetings All,
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
    Windows Server 2008 R2Please know that I am a newbie when in regards Enterprise Manager (any version).
    I am trying to use EM-Database Control version that was installed when I installed Oracle.
    I am trying to activate e-mail notification when tablespace(s) usage exceeds set thresholds. Specifically the locally managed tablespaces.
    I found the Metric Thresholds page, and I found the “Tablespace Space Used (%)” metric. Note this is NOT the “(dictionary managed)” metric.
    I do have e-mail and credential information established.
    I found where you can identify a SQL script to be executed for corrective actions for the warning and critical thresholds. However I don’t want to execute any corrective action, I am just interested in the e-mail notification.
    I know I could setup a SQL script that would send an e-mail but from my reading/research I believe that e-mail notification should automatically take place so long as e-mail and credential information has been established, which has been established.
    My question is:
    I can find now way to set a Collection Schedule. The dictionary managed tablespace metric has a collection schedule link (i.e. Every 15 Minutes), but the non-dictionary managed tablespace metric(s) has none.
    Clicking the edit icon(s) provides no way of setting the collection schedule.
    Where/how do I establish a Collection Schedule for this metric?
    Thanks for your time,
    Bob

    Hi Bob,
    With Grid/Cloud Control you can modify the collection frequency (interval) for the Tablespace Space Used (%) metric for locally managed tablespaces; however, you cannot do the same in DB control.
    That being said, alerts from the metric are server-generated alerts, which are generated from the monitored database target. When the space used percentage exceeds the Warning or Critical threshold, assuming you have subscribed to an appropriate notification rule for email notification, you should receive an email notification in about 1 minute or so.
    The following doc may help explain more about server -generated alerts:
    http://docs.oracle.com/cd/B28359_01/server.111/b28310/monitoring001.htm#CIHCAGAJ
    Regards,
    - Loc

  • Free Discoverer Dashboard for Metrics reporting and Documenting

    This Free dashboard contains the following information
    [Discoverer Dashboard and Documentor|http://www.infocaptor.com/free-dashboard-for-discoverer-documentor-oracle-discover]
    Business Area portlet (qlet)
    Folder Details
    Folder Joins
    Folder SQL
    Folder Filters
    Discoverer Hierarchies
    List of Item Classes
    Business Area security details
    Workbook Details and Metrics
    Discoverer Meta-Data Browser
    Find columns in workbook
    List of tables-views used in workbook
    Create Discoverer Documentation in PDF
    You can create beautiful PDF and HTML documentation
    I hope you find it useful. If you do like it just send me your feedback.
    To get the free license key
    Download InfoCaptor and after launching goto Help->Register, copy the user key and email it to [email protected]
    Thank you and Best Regards
    Nilesh
    [Dashboard Software|http://www.infocaptor.com]

    Hi Gillian
    Does the graph plot area occupy all the space within the graph window? If not, that may explain why you are seeing the white space. You may also want to try and customize the graph portlet within Portal and adjust the graph size to see if that helps.
    Thanks
    Abhinav Agarwal
    Oracle Business Intelligence Product Management

  • EMC training for RAC DBA

    I am looking for some one who can teach EMC storage administration to a oracle RAC dba

    Now, I'm not saying starting from a blank piece paper, now that clusterware has matured a bit, with no other limitations, I would choose to have veritas in the mix as well.
    However, there are situations where whether for coporate standards, or maybe even legacy reasons (perhaps, though I don't think it's a good idea, some other application is running there clustered with veritas).
    My point, was that it could be done - hey choice is good, right?
    But yes, Veritas/symantec must have been well miffed when they heard that Oracle were going to write their own clusterware.
    regards,
    jason.
    http://jarneil.wordpress.com

  • MMC for schema extentions for OSX and AD

    hi all
    i'm aware that there are 30+/- active directory schema extensions that should allow AD to directly manage OSX.
    is anyone aware of an MMC that can take advantage of the extensions ? i'd hate to need a OSX just so i can run workgroup manager

    You will want to read this:
    http://www.afp548.com/article.php?story=20051202151540574

  • Hi. Can you tell me if using the sat nav functionality on the in-built maps app on my iphone 5, uses just GPS (hence no cost) or GPS and data roaming, hence a running cost for the extent of my journey?

    Hi
    As the tile says, I am looking to find out if I need to purchase an actual Sat-nav app or if I can use the inbuilt functionality and not incur additional data charges
    Thanks

    The built in Maps apps requires a data connection to download mapping data. So, if you want to avoid data costs, you need to purchase a navigation app that stores the data locally on your phone.

  • What do most people use for metrics ?

    My employer uses KSLOC as a software development measurement. Of course this means that LabVIEW doesn't play in the game.  What do most folks use to measure workload?

    Hey Ben,
    It's a good idea, especially if you limit sub-vi's to a single computer screen (typically 19" at 1152X864)
    Here in Canada, ham is typically sold by the litre.. 
    JLV

Maybe you are looking for

  • How do you allow Unix based ONC  RPC within the security constraints of SGD

    On our new boxes running SGD 4.2.91and up we notice that our applications that uses rpc to communicate no longer work. One of the programs, the arbitrator, (i.e. runs in its on process space, not a linked in library). Therefore, two user will share t

  • My Ipod is playing the same songs all the time!! How do I fix this?

    I have a 80gb Ipod classic. In Itunes I set the smart shuffle in Preferences to "less likely". I can't find a similar setting on my Ipod. Every time I play any Playlists on the Ipod using shuffle I always hear some of the same songs. Some playlists h

  • App World Errors

    Hello! I'm not English, but I can't find any solutions for this problem in other sites. So, certainly I will do a lot of mistakes, but don't worry about it.  Anyway, I have a BlackBerry Curve 8520 that can't connect to the App World and I don't know

  • Work Center in CO11N

    Hi All, There are two fields for work center in the T-code CO11N , one is non editable and the other is editable. We have a scenario, In a specific "Z" report we need to capture the value in the editable field for the Work Center. i.e. In the T-code

  • How to close infopath form through code?

    Hi All, How to close infopath form through code, thanks in advance!