OSLineToken Fetchlet,

I decided to use OSLineToken fetchlet to call Java and return a set of values delimited. I expected, as the OSLineToken documentation suggested that each row is row and each comma in a line would look like a column. Here is an example of the returned output, pre-OSLineToken:
pool-0, AnotherProject, NoCache, z2, gzip, all the
pool-0, AnotherProject, simple, z, off, all
by default, test, pool-0, z2, off, all
by default, whql1, pool-0, z2, off, all
by default, whql2, pool-0, z2, off, all
by default, whql3, pool-0, z2, off, all
by default, whql4, pool-0, z2, off, all

I was hoping 'that' it would be bound to a table in my collection of parameters in search of something like
Pool | Project | FS | Profile | Compress | Other
pool-0 | AnotherProject | NoCache. Z2 | gzip | all the
....

And as such, built my collection of metadata
< Metric NAME = "LogicalInformation" TYPE = "TABLE" >
< display >
< NLSID label = "logical_info" > device logical Configuration < / Label >
< / display >
< TableDescriptor >
< ColumnDescriptor NAME = 'Pool' TYPE = "STRING" >
< display >
< NLSID label = "pool_identifier" > hen < / Label >
< / display >
< / ColumnDescriptor >
< ColumnDescriptor NAME = "Project" TYPE = "STRING" >
< display >
< NLSID label = "project_name" > project < / Label >
< / display >
< / ColumnDescriptor >
< ColumnDescriptor NAME = "Share" TYPE = "STRING" >
< display >
< NLSID label = "ShareName" > FS < / Label >
< / display >
< / ColumnDescriptor >
< ColumnDescriptor NAME = "DataProfile" TYPE = "STRING" >
< display >
< NLSID label = "data_profile" > profile < / Label >
< / display >
< / ColumnDescriptor >
< ColumnDescriptor NAME = "DataCompression" TYPE = "STRING" >
< display >
Compress < NLSID label = 'data_compression' > < / Label >
< / display >
< / ColumnDescriptor >
< ColumnDescriptor NAME = 'Other' TYPE = "STRING" >
< display >
< NLSID label = 'other' > other < / Label >
< / display >
< / ColumnDescriptor >
< / TableDescriptor >
< QueryDescriptor FETCHLET_ID = "OSLineToken" >
<Property NAME="command" SCOPE="GLOBAL">%emdRoot%/jdk/bin/java -Djava.library.path=%dll% -classpath %emdRoot%/sysman/admin/scripts/emx/my_agent/TestXMLRPCWorkflows.jar:%emdRoot%/sysman/admin/scripts/emx/my_agent/xmlrpc-common-3.1.2.jar:%emdRoot%/sysman/admin/scripts/emx/my_agent/xmlrpc-client-3.1.2.jar:%emdRoot%/sysman/admin/scripts/emx/my_agent/ws-commons-util-1.0.2.jar:%emdRoot%/sysman/admin/scripts/emx/my_agent/commons-logging-1.1.jar com.sun.myagent.client.RetrieveLogicalTopology mysystem.yadda.com root s0ftware. System.out < / property >
< property NAME = "separator" SCOPE = 'GLOBAL' > < / property >
< / QueryDescriptor >
< / metric >


But alas, all I get in the emagent.trc file is the following (and in the GUI a big read 'ERROR' with an x by him in this group of settings).

2009-06-23 12:50:28 upload Thread-249852 ERROR: error when you rename the file in addXmlFileToUpload. : error = 2: no such file or directory
2009-06-23 12:51:08 engine Thread-249872 ERROR: metric has no keys, but the result has several lines
2009-06-23 12:51:08 engine ERROR Thread-249872: [sun_storage_7000, isv - 7110 h, LogicalInformation]: nmeegd_GetMetricData failed: metric has no keys, but the result has several lines

I didn't expect that I would need to key in the returned array (none of the examples in the guide of extensibility really talk about this)... in fact, I can't find anywhere that talks a lot about the relationship between the fetchlet OSLineToken, the parsed table and a corresponding TableDescriptor / metric definition would look like.

No clues to help me cut down on hit / miss on this one?

Paul

For any measure where you are going to return several rows, you must designate one (or more) of your columns as key columns. Each line must be able to be identified uniquely by this column (or columns collection).

Tags: Enterprise Manager

Similar Questions

  • Execution of shell script using OSLinetoken fetchlet

    HII,

    I have a requirement. I need to use a shell script in the fetchlet of OSLineToken. In the metric system of response I will check whether or not the directory already exists on the server. To verify the existence of the directory, I created a shell script. But how can I report its result with the metric of the answer? The shell script is as follows:

    Shell script:

    If test d $1; then
    echo "DIR exists."
    on the other
    echo 'no '.
    FI

    The answer for the same metric will be:
    < QueryDescriptor FETCHLET_ID = "OSLineToken" >
    < property NAME = 'command' SCOPE = 'GLOBAL' >
    SH {nom_repertoire where the shell script is transferred} / {shell script file name} {dir_name_parameter} < / property >
    < property NAME = 'startsWith' SCOPE 'GLOBAL' = > em_result = < / property >
    < property NAME = "separator" SCOPE = 'GLOBAL' > | < / property >
    < / QueryDescriptor >

    Please suggest what is the use of em_result here?

    Once the existence of the directory is checked, if it upward, then I need to call another shell script to concatenate the contents of all files with .log extension (this will be the setting of shell script). Get the output of shell script and view it in custom management plug-in. As I use cat *.log > > consolidatefile command to concatenate the data, I need to read the file consolidatefile from the server and return these data to concatenated plug-in file. Yet once, how can I read the contents of the consolidatefile file in EMF? I will create another matrix to this effect say 'read_content '. the querydesciptor the same thing will be as follows:

    < QueryDescriptor FETCHLET_ID = "OSLineToken" >
    < property NAME = 'command' SCOPE = 'GLOBAL' >
    SH {nom_repertoire where the shell script is transferred} / {shell script file name} {dir_name_parameter} {extension of the files concatenated} < / property >
    < property NAME = 'startsWith' SCOPE 'GLOBAL' = > em_result = < / property >
    < property NAME = "separator" SCOPE = 'GLOBAL' > | < / property >
    < / QueryDescriptor >

    I'm not sure what all the properties to use in this case... I saw that several example files use some of them perbin, scriptsdir, but some of them do not... The related pdf also does not say anything about this kind of properties. Please suggest.

    I hope that the explanation of the problem is not so heavy. Please let me know if you have any question to understand.

    Thank you
    AS

    The guide of extensibility will have instructions on how to package your files as an Archive Plug-in management (MPA). Once you have this file archive, the EM grid control will point to import your plug-in management (MP) in the repository. Once imported, you can deploy them through the user interface for all agents in your grid control. (You can get to the UI Plug - ins by clicking on Setup in the upper right corner, then management Plug-ins to halfway down on the left side of the page).

    When the MP is deployed to the agent, the emx / the directory structure is created and all the scripts that you have the package with your MP are placed in this directory. So when you create your target type metadata file, you'll want to consult this directory.

    Properties with a range of systemeparametres get their values from the emd.properties file.

    If you decide to put up on the agent (which is probably easier than reconditioning of all your files whenever you are editing, and then re-importation and redeploy their), you will need to create the directory structure in the % scriptsDir %. So if you finally Pack your plug-ins all work even.

  • Python can be invoked within a fetchlet?

    Hi guys

    I am trying to build a custom plugin for our storage device that has a python API exposed to developers. I wonder if it is supported by enterprise manager to invoke the python inside a fetchlet script.
    If it's possible, I'll find a way to integrate the module python client in the plugin jar file, I don't know if this is supported either.

    I noticed EM already contain perl in its Directory installation and perl scripts could be launched within an OSLines fetchlet. Not sure if python has a similar treatment.

    Please tell me if you have any thought on this, your contribution will be appreciated!

    Published by: user9219284 on March 30, 2010 07:08

    Published by: user9219284 on March 30, 2010 07:08

    Your best bet will be to use the OSLineToken fetchlet to call perl or some other executable that knows how to call a python script. The agent has no special handling for python.

  • Use of SQL fetchlet to create a custom plug-in management

    Hello

    I would be grateful if you could someone help me on this:

    I need to extract data from the tables of the EMF and create a personalized management of OEM Plug-in so that it is controllable OEM itself. To get the data from the database table, I use fetchlet SQL coz it offers the possibility to use the SQL statement in it. Here is the code that I have developed in the target file - type.xml.

    < TargetMetadata META_VER = "1.0" TYPE = "emf_filer" >
    < display >
    < NLSID label = "emf_filer" > error Management Filer < / Label >
    < / display >
    < Metric NAME = "emf_filer" TYPE = "TABLE" >
    < display >
    < NLSID label = "emf_filer_resp" > answer < / Label >
    < / display >
    < TableDescriptor >
    <!-< ColumnDescriptor NAME = "tcpPing" TYPE = "NUMBER" >
    < display >
    < NLSID label = "netapp_filer_resp_tcpPing" > TCP Ping, milliseconds < / Label >
    < / display >
    < / ColumnDescriptor >->
    < ColumnDescriptor NAME = 'Status' TYPE 'NUMBER' = >
    < display >
    < NLSID label = "emf_filer_resp_status" > status < / Label >
    < / display >
    < / ColumnDescriptor >
    < ColumnDescriptor NAME = 'PROGRAM_NAME"TYPE ="STRING">
    < display >
    < NLSID label = "PROGRAM_NAME" > program name < / Label >
    < / display >
    < / ColumnDescriptor >
    < ColumnDescriptor NAME = "PROGRAM_TYPE" TYPE = "STRING" >
    < display >
    < label NLSID = "PROGRAM_TYPE" > program Type < / Label >
    < / display >
    < / ColumnDescriptor >
    < ColumnDescriptor NAME = "RICEW_ID" TYPE = "STRING" >
    < display >
    < label NLSID = "RICEW_ID" > rice Id < / Label >
    < / display >
    < / ColumnDescriptor >
    < ColumnDescriptor NAME = "Request_id" TYPE = "NUMBER" IS_KEY = "TRUE" >
    < display >
    < NLSID = "Request_id" label > ask Id < / Label >
    < / display >
    < / ColumnDescriptor >
    < ColumnDescriptor NAME = "EBIZ_INSTANCE_NAME" TYPE = "STRING" >
    < display >
    < label NLSID = "EBIZ_INSTANCE_NAME" > the Instance name < / Label >
    < / display >
    < / ColumnDescriptor >
    < / TableDescriptor >
    < QueryDescriptor = "SQL" FETCHLET_ID >
    < property NAME = "MachineName" SCOPE = "INSTANCE" > MachineName < / property >
    < property NAME = 'Port' SCOPE 'INSTANCE' = > Port < / property >
    < property NAME = "SID" SCOPE = "INSTANCE" > SID < / property > "
    < property NAME = "Username" SCOPE = "Username" > apps < / property >
    < property NAME = "password" SCOPE = "password" > password < / property >
    < property NAME = "ServiceName" SCOPE = "INSTANCE" > ServiceName < / property >
    < property NAME = 'DECLARATION' SCOPE 'INSTANCE' = >
    BEGIN
    SELECT PROGRAM_NAME, PROGRAM_TYPE,
    RICEW_ID, REQUEST_ID, EBIZ_INSTANCE_NAME FROM XX_EMF_MESSAGE_HEADER WHERE STATUS = 'ERROR' AND RICEW_ID = 'INT DL019 ';
    END;
    < / property >
    <!-< property NAME = 'SQLINPARAM1' SCOPE = 'ENV' > HOSTNAME < / property >
    < property NAME = 'SQLOUTPARAMPOS' SCOPE = 'GLOBAL' > 2 < / property >
    < property NAME = 'SQLOUTPARAMTYPE' SCOPE = 'GLOBAL' > SQL_CURSOR < / property >->
    < property NAME = "NUMROWS" SCOPE = 'GLOBAL' > 40
    < / property >
    < / QueryDescriptor >

    < ExecutionDescriptor >
    < NAME getTable = "emf_filer" / >
    < NAME GetView = "emf_View" FROM_TABLE = "emf_filer" >
    < Column NAME = "PROGRAM_NAME" / >
    < Column NAME = "PROGRAM_TYPE" / >
    < Column NAME = "RICEW_ID" / >
    < Column NAME = "REQUEST_ID" / >
    < Column NAME = "EBIZ_INSTANCE_NAME" / >
    < filter COLUMN_NAME = 'REQUEST_ID' OPERATOR = 'GT' > 0 < / filter >
    < / GetView >
    < / ExecutionDescriptor >
    < InstanceProperties >
    < InstanceProperty NAME = "Username" CREDENTIAL = 'TRUE' optional = "FALSE" NEED_REENTER = "FALSE" HIDE_ENTRY = "FALSE" >
    < display >
    < label NLSID = "UserName_emf" > user name < / Label >
    < / display >
    < / InstanceProperty >
    < InstanceProperty NAME = "password" CREDENTIAL = 'TRUE' optional = "FALSE" NEED_REENTER = "TRUE" >
    < display >
    < NLSID label = "password_emf" > password < / Label >
    < / display >
    < / InstanceProperty >
    < InstanceProperty NAME = "MachineName" CREDENTIAL = 'FALSE' optional = "FALSE" >
    < display >
    < label NLSID = "MachineName_emf" > the receiving computer name < / Label >
    < / display >
    < / InstanceProperty >
    < InstanceProperty NAME = "Port" CREDENTIAL = 'ALF '.
    :
    :
    :
    :
    :
    My question here is:
    According to Oracle, it is important to use the matrics with status response. How can I accommodate matrics of response with this code. What are the columns except status I need to mention? If I use just a response that is to say of matrics then what I will use in clause in ExecutionDescriptor FROM [< GetView NAME = "emf_View" FROM_TABLE = "emf_filer" >]? I would be grateful if someone could point out my problems.

    Thanks for your help.

    Kind regards
    AS

    First of all, you should always change the SCOPE of your credentials... EXAMPLE, if you're going to find them in your InstanceProperties or GLOBAL if you plan to hardcode for now (but you'll want to change possibly instance).

    The SQL statement should return data in the order and the number of columns you have for your measurement, so if you have only a single column to your measure of response (Status), you will need to return just one thing in your select clause. Probably something like:

    Select 1 double

    The problem with the help of the SQLFetchlet to determine the status column on the metrics of your answer, it's that if the database is down, there is no way to return 0 for the status column. If the DB is down, the SQLFetchlet won't be able to connect and the collection will return nothing (because of the error). The status column is used to determine the high/low status in the repository, but it is also used to determine the percentage of availability. If you want this number to be precise, you probably want to create a script that can ping the database to see if it is or not. I guess that the Oracle database has a script to do that for the extent of his response, then you should consider to copy, to use with your own type of target and using the OSLineToken Fetchlet instead of the SQLFetchlet to the extent of the intervention.

  • Need help with the help of the credentials that are named with a custom plugin

    Hello

    I'm developing a plugin that has a collection script which makes calls to api for our equipment and must pass a user name and password in the call. Looks like a job for a named credential but I'm just a little unclear on how to do it with all available options.

    From what I read, it looks like I want to define a Type of credentials and a game - as in the example in chapter 14 of guide plugin - and add it to my XML. I presume that this named credential then will be set up in EM in respect of security, the section of credentials named when I deploy the plugin. My installation instructions would then direct the user to fill out the correct values and then the plugin use the ones in the script in the collection.

    Is this fair?

    What don't get me, is how I refer to values of named identification, in the plugin. Right now, I use the OSLineToken Fetchlet to call my collection script. I'm not clear on how to pass the user name to values of password for the credential named to the script.

    Thanks for any idea,

    Tom

    Mainly in the "CredentialSetColumn" use the SET_COLUMN attribute to set the credentials handle and you can refer directly to it in your application.

    For example, if you set the following credentials set of credential handles "Exemple_utilisateur" or "samplePassword" or "sampleRole", you can directly use the "Exemple_utilisateur", "samplePassword" and the "sampleRole" of the CredentialSet above in your query

  • Help use "emctl jmxcli" command

    I'm new to EM and am trying to learn to create plugins. Someone installed EM 12 c for me and then I installed the CDIP and emcli. I was able to get demo HostSample plugin of the CDIP that uses OSLineToken fetchlet to deploy and work. So I wrote a simple plugin that uses the SQL fetchlet. It worked as well. I'm now writing a plugin which ensures a JMX application deployed on an Oracle WebLogic application server. In reference Cloud control extensibility programmer PDF it says to use the command 'emctl jmxcli. However, when I try to run this command it returns just the syntax of the command. It does not seem to recognize the 'jmxcli' option. When I run "emctl getversion" this is the result:

    Oracle Enterprise Manager 11g Database Control Release 11.2.0.3.0
    Copyright (c) 1996, 2011 Oracle Corporation. All rights reserved.
    Enterprise Manager 11 g DB version control 11.2.0.3.0
    Enterprise Manager 10 g 10.2.0.4.0 Agent Version

    I think that I have the correct version of installed everything. I'm doing something wrong? Any help would be greatly appreciated.

    Thank you!
    Al

    The out command, it seems that you are working with 'Enterprise Manager Database Control,' which does not support extensibility. At least that's what shows the output of the command emctl. You really need 'Enterprise Manager Cloud Control' to do what you want to do.

  • XML - RPC Fetchlet

    Looking through the catalogue of Fetchlet, I see no SOAP, but no XML - RPC.

    It is possible to deliver a new Fetchlet type with a management plug-in? This is another topic, I really don't see covered in immediate docs I have maybe the answer is just 'no '?

    If it is not possible to deliver a 'first class' fetchlet, it seems that the only way 'out' of the environment is the OSCommandFetchlet. At this point, is there language guarantees or I will have to bring those with my Fetchlet:
    -Many examples use Perl, I noticed or lines of Unix command, is ActiveState Perl included with the network (Windows) Manager?
    -Are there performance security Java I could access and the place of my own .jar file somewhere that I could find?

    Paul

    Customer Fetchlets cannot be packaged with the plug-in. Maybe it's something that "possibly" can be done in the future, but by when and how - its too early for me to comment.

    I did not quite understand what you mean by - "...". are there any language guarantees... ».

    However, I will try to give some details (with examples) to a level that I understand your query on what you want to do your plug-in

    1 Perl version support with 10 g EM Agents was 5.8.3
    2. how to set the descriptor of the query into a metadata type target xml binary perl WRT can be as follows:

    scriptsDir
    perlBin

    %perlBin%/Perl %scriptsDir%/emx/myscript.pl

    3. to the best of my knowledge, ActiveState perl is not part of the installation of the Agent of the EM. However, I am not sure
    Similarly. You can search the perl modules under $Agent_home/perl (linux) or %Agent_home\perl\5.8.3\lib
    (under windows) for details and confirmation
    4. associated with your query on java runtime, there are three ways.
    One way is to use OSLineToken and specific command like
    %emdRoot%/JDK/bin/Java-Djava.library.path=%DLL% - classpath %emdRoot%/sysman/admin/script/emx/myjar.jar MyPackage.MyClass "parameter1 = value1 '...

    Another way is to use OSLineToken, invoke a perl, a treatment and then call java. Below the example helps you understand what I mean by that.
    use strict;
    Use File::Basename;

    require 'semd_common.pl ';

    my $directory = dirname($0);
    chomp ($Directory);
    My $classpath;
    My $oracleHome = $ENV {"ORACLE_HOME"};
    my $java;
    my $error;

    My $platform = get_osType();
    If ($platform eq 'WIN') {}
    $java = "$oracleHome\\jdk\\bin\\java";
    $classpath = "$directory\\axis.jar;$directory\\commons-discovery-0.2.jar;$directory\\commons-logging-1.0.4.jar;$directory\\jaxrpc.jar;$directory\\saaj.jar;$directory\\orawsdl.jar;$directory\\activation.jar;$directory\\mail.jar";
    }
    else {}
    $java = ' $oracleHome/jdk/bin/java ".
    $classpath = "$directory/axis.jar:$directory/commons-discovery-0.2.jar:$directory/commons-logging-1.0.4.jar:$directory/jaxrpc.jar:$directory/saaj.jar:$directory/orawsdl.jar:$directory/activation.jar:$directory/mail.jar";

    }

    If (System ("$java - classpath $classpath @ARGV"). = 0)
    {

    There is a third way - by using JavaWrapperFetchlet. I think that 10.2.0.5 agent has a new feature where classpath can be specified in the application descriptor (as one of the properties). Thus, for each metric collection - java process will not start. However, I do not know exactly if this feature made in 10.2.0.5 code or not. If you are interested in using this feature, I can check on this and let you know.

    Kind regards
    -Gaara

  • MPCUI ColumnChart - column not found but only on certain columns

    Hello

    I am a construction OEM plugin and using the mpcui mxml user interface components. I'm trying to display a ColumnChart (or BarChart) and see a strange behavior. Some columns display fine and others that I know are there, generating an error. Here's my mxml (omitting the HBox, VBox and region layout controls)

    < mp:Page id = "FEPg" label = "FE Stats"

    ' xmlns:mx = ' http://www.Adobe.com/2006/MXML "

    ' xmlns:mp = ' http://www.Oracle.com/mpcui "> "

    < mp:ColumnChart id = "test01" width = "100%" height = "100%".

    showLabelVertically = 'true '.

    metricName = "FEDirStatDet".

    metricColumns = "{[' HOST_IO_PSEC']}."

    groupBy = "byKey".

    timePeriod = 'CURRENT' >

    < / mp:ColumnChart >

    < / mp:Page >

    It works very well. However, if I change the metricColumms attribute in another column ("PCT_IDLE") in my metric system, I get the following in a pop up window error when the graphic is displayed:

    Operation error: unexpected error

    An unexpected error occurred during the processing of the page or the dialog box 'MetaDataPageActivityDef [FEPg]. " The UI 'mpDefault0... '. ColumnChart872"reported the error: faultCode:DataServiceErr faultString: 'an error has occurred by calling the service of data metrics.' faultDetail: 'metric column not found PCT_IDLE.

    This is not sensible. I can see the values of this column and it is defined as one that works. This here is my definition of metrics.

    < Metric NAME = "FEDirStatDet" TYPE = "TABLE" >

    < display >

    < label NLSID = "_fedirstatdet" > Stats < / Label >

    < / display >

    < TABLE_NAME = "MGMT_EMX_FEDirStatDet" TableDescriptor >

    < ColumnDescriptor NAME = "FE_DIR_ID" COLUMN_NAME = "FE_DIR_ID" TYPE = "STRING" IS_KEY = "true" TRANSITIONAL = "FALSE" >

    < display > < NLSID Label = "fe_dir_id" > FE Director Id < / Label > < / display >

    < / ColumnDescriptor >

    < ColumnDescriptor NAME = "HOST_IO_PSEC" COLUMN_NAME = "HOST_IO_PSEC" TYPE = "NUMBER" IS_KEY = "false" TRANSITIONAL = "FALSE" >

    < display > < NLSID Label = "host_io_psec" > e/s/s host < / Label > < / display >

    < / ColumnDescriptor >

    (Other descriptors of column here)

    < ColumnDescriptor NAME = "PCT_IDLE" COLUMN_NAME = "PCT_IDLE" TYPE = "NUMBER" IS_KEY = "false" TRANSITIONAL = "FALSE" >

    < display > < NLSID Label = "pct_idle" > % Idle < / Label > < / display >

    < / ColumnDescriptor >

    < / TableDescriptor >

    < QueryDescriptor FETCHLET_ID = "OSLineToken" >

    (fetchlet of things here)

    < / QueryDescriptor >

    < / metric >

    Any ideas on that? We are currently running OEM 12.1.0.2

    Thank you

    Tom

    You can try your chart with a different timePeriod?  LAST_HOUR or LAST_DAY?  This will change the table queried for the data to one of the stacks.  It could indicate a problem with the data in the table used for the CURRENT.

    In addition, you run this SQL statement:

    Select 'metricTimestamp,' gcmv.collection_time

    GCMV. Value "metricValue."

    GCMV.metric_key_value "metricKeyValue"

    GCMV.num_keys "metricNumKeys"

    GCMV.metric_column_name "metricColumn"

    GCMV.key_part_1 "compPart1"

    GCMV.key_part_2 "compPart2"

    GCMV.key_part_3 "compPart3"

    GCMV.key_part_4 "compPart4"

    GCMV.key_part_5 "compPart5"

    GCMV.key_part_6 "compPart6"

    GCMV.key_part_7 "compPart7"

    TGT.timezone_region "timezoneRegion".

    of gc_metric_values_latest gcmv, mgmt_targets tgt

    where

    GCMV.entity_guid = tgt.target_guid and

    GCMV.entity_name =? TARGET_NAME? and

    GCMV.entity_type =? TARGET_TYPE? and

    GCMV.metric_group_name = "FEDirStatDet" and

    GCMV.metric_column_name in ('PCT_IDLE')

    order of gcmv.collection_time, gcmv.metric_key_value, gcmv.metric_column_name

    replacement? TARGET_NAME? and? TARGET_TYPE? with values appropriate for your target.

    Finally, you have restarted your WHO since the changes of metadata targets and by redeploying?  The web service to collect metric data puts cache the metadata of the target, so you can run in a caching problem that has been fixed in a later version of the EM.

  • Tracking Oracle 11 GR 2 XE with OEM 13 c

    Someone there was some luck followed Oracle 11 g XE (Linux x 86-64, 11.2.0.2.0) database with Oracle Enterprise Manager 13 c?

    I EM12cR4 (12.1.0.4) and EM13c both running on separate servers.  Each managed host has both a 12 c and 13 c agent running.  One of my servers (SLES 11 64-bit SP3) I have an installation of Oracle 11 g XE operational.  My EM12c installation can monitor this Oracle XE database without any problem.  My EM13c installation errors of assessment metric from the addition of the Oracle XE target database.  The two agents run under the same user account ("oraagent"). The two agents use the same user database DBSNMP account. The "Test connection" button on the setup of the target EM13c-> Configuration of the analysis screen returns a successful login. Many EM13c screens seem to work correctly for this purpose of database - I can use each screen that I tested it under the menus of Administration, schema, security, availability and Performance, but EM13c cannot go beyond these metric assessment errors and identify the target State.

    The metric errors that EM13c meeting appear in the incidents as Manager screen:

    'Start-time error metric assessment - target {oracle_database. '. "SID.domain.com} is broken: dynamic category, dynamic property Get property error error, not this type of metadata - no valid queryDescriptor or executionDescriptor found for target [oracle_database.SID.domain.com$ 30]."

    and for the target database system:

    "Beginning of metric assessment error - received an exception when evaluating sev_eval_proc for: name of the target = SID.domain.com_sys, metric_name = response, metric_column = status; Error Msg = target encountered metric erros. at least one member in metric error"


    I can live without seeing a status of target on this database, but right now the fact that I can't schedule tasks to safeguard against this database of the XE is the only thing preventing me from moving my monitoring entirely on EM13c of production and closing down my EM12c system.  Work performed against this goal immediately get hung with "Suspended: target is not ready."

    I enabled debugging at the agent level and the path of the log files during the attempt to add the target.  After that, there are three dynamic properties agent cannot calculate for this target:

    2016-01-15 12:10:05, DEBUG 905 [1806:4CE3192] - calculation of dynamic property: [ComputeVC] is (1 msec, error = true)

    2016-01-15 12:10:06, 452 [1806:F917F5F8] DEBUG - calculation of dynamic property: [GetDumpDestination] is made (0 msec, error = true)

    2016-01-15 12:10:06, 508 [1813:6EEEAC87] DEBUG - calculation of dynamic property: [DeduceAlertLogFile] is (1 msec, error = true)

    Other dynamic properties are calculated correctly:

    2016-01-15 12:35:38, 038 INFO - calculation of dynamic properties finished (total time 817 ms). Calculated DP number: 19. Number of DP with the error: 3 number of dynamic properties that have been added: 132.

    Dynamic property ComputeVC (which seems to determine the category of the database version) seems to be impossible to analyze the Oracle 11 g XE version string:

    2016-01-15 12:11:18, 779 [1830:CD3A325D] DEBUG - error has been added to oracle_database.SID.domain.com$ 23(0|) MONITORED | false | true | < UF >): invalid entry

    2016-01-15 12:11:18, 779 [1831:3657AE55] DEBUG - abandoning long op ' CDProps:oracle_database.SID.domain.com:ComputeVC:GENERIC_TASK:Fri Jan 15 12:11:18 CEST 2016. "

    2016-01-15 12:11:18, 780 [1830:CD3A325D] DEBUG - error during the dynamic property ComputeVC calculation: criticism = true, missingCatProps = [VersionCategory], missingProps = [VersionCategory]

    oracle.sysman.emSDK.agent.fetchlet.exception.FetchletException: invalid entry

    at oracle.sysman.gcagent.addon.fetchlet.versionRange.VersionRange.getMetric(VersionRange.java:78)
    at oracle.sysman.gcagent.target.interaction.execution.FetchletFactory.getMetric(FetchletFactory.java:431)

    The other two, for the lack of dynamic properties appear to be failing as a side effect of losing the database connection after the failure of the calculation of property ComputeVC.

    Other information in the newspapers, it seems that EM13c could be trying to access the BUNDLE_SERIES column in dba_registry_history (which does not exist in the XE) and maybe not because of that.

    Someone 11 GR 2 XE added as a fully functional goal in their EM13c environment?

    Thank you

    -Brian

    Sorry, please disregard.  I solved this on my own.  The missing column of BUNDLE_SERIES in DBA_REGISTRY_HISTORY on XE has been the source of my inability to monitor XE of EM13c.

    As the UserControl (DBSNMP, in my case), I created an empty DBA_REGISTRY_HISTORY table, including a column BUNDLE_SERIES in the scheme of surveillance of the user.

    SQL > create table dba_registry_history (ACTION_TIME TIMESTAMP (6), ACTION VARCHAR2 (30), space name VARCHAR2 (30), VERSION VARCHAR2 (30), identification NUMBER, BUNDLE_SERIES VARCHAR2 (30), VARCHAR2 (255)) COMMENTS;

    I then forced recalculation of dynamic properties for the target through the agent of EM13c:

    $ emctl recharge dynamicproperties SID.domain.com:oracle_database agent

    Oracle Enterprise Manager Cloud control 13 c Release 1

    Copyright (c) 1996, 2015 Oracle Corporation.  All rights reserved.

    ---------------------------------------------------------------

    EMD recalculate dynprops completed successfully

    Once this command is successfully completed my goal of Oracle XE database appears with the 'high' good state and I can submit jobs to run against her.  I can't recommend anyone following the steps I did, instead I have suggest you wait for a fix of the OEM team, but I had an urgent need to move away from my EM12c installation due to the fault of hardware.

  • The script of metrics to target wiring for the backend with the properties of the target

    I am trying to wire the collector of backend metadata (i.e. java RMI Service) with metric collection of OEM targets. The descriptor of the query is similar to the lines in samples

    < QueryDescriptor FETCHLET_ID = "OSLineToken" >

    < property NAME = "scriptsDir" SCOPE = "SYSTÈMEPARAMÈTRES" > scriptsDir < / property >

    < property NAME = "GenerateData" SCOPE = "INSTANCE".

    OPTION = "TRUE" > UseGeneratedData < / property >

    < property NAME = "perlBin" SCOPE = "SYSTÈMEPARAMÈTRES" > perlBin < / property >

    < property NAME = 'command' SCOPE 'GLOBAL' = > %perlBin%/perl < / property >

    < property NAME = "script" SCOPE = 'GLOBAL' > fired %scriptsDir%/data_collector.pl--frais response - target_type demo_hostcpu - GenerateData GenerateData % < / property >

    I want the uniquetargetName to differentiate the target in trying to get the details of the State. How to pass the targetName in the data_collector.pl

    < property NAME = "script" SCOPE = 'GLOBAL' > response - target_type demo_hostcpu fired %scriptsDir%/data_collector.pl--frais -target_name < unique_target_name > - < additionalProperties related target > -GenerateData GenerateData % < / property >

    The < unique target name > is the property of the target which has been used in the name of the target MPCUI Instance

    It is the same with any property that was added before you create an instance of the target as in the CreateTargetRequest. I want to access the properties of the target must be passed to my data_collector.pl script.

    OK, I found the answer

    OPTION = "TRUE" > UseGeneratedData

    I can access instances of property via the same target

  • The result collection has exceeded the maximum flood control level?

    Hi all

    When you run a metric on an agent, I get the following message:
    The following exception has occurred:
         RTMCollection: exception occurred: java.lang.UnsupportedOperationException: Collection Result Maximum Flood Control Level Exceeded
    Someone at - it any information on that?
    This measure could go back a few thousand lines in the result, so I added the "LIMIT_TO" in the file default collections:
        <MetricColl NAME="......."> <LimitRows LIMIT_TO="1750"/>  </MetricColl>
    However, the error is still happening...

    1. someone comments on the flood control message?
    2. should what nr of lines I introduce LIMIT_TO?

    Any comment is very appreciated!

    Thank you
    Ed

    Flood control settings are different from the concept of Limit_to - the concept of limit affects the output of the metric. flood control settings protect the agent against a metric producing too many lines that could theoretically allow the failure of the agent.

    So first of all, I would seriously consider the metric measures reports that more than 10,000 lines are ill-conceived likely metric.

    In order to control the parameters of flood control, they can be adjusted if necessary for testing purposes, but I wonder again seriously any metric design requiring a large volume. The parameters are:

    /**
    flood control data to control the number of rows may result in collection
    * keep. from the min, we will open a session but rejects silently new upcoming lines
    * in the result set. If we reached the maximum, the assumption is that the
    ' * ' fetchlet ' is out of control (loop?) and we will report a duration
    * statement.
    *
    * @name CollectionResults.MaximumRowsFloodControlMin
    * @type integer
    * @unit lines
    * @default 5000
    */
    private static final ConfigProperty MAXIMUM_ROWS_FLOOD_CONTROL_MIN =
    () Config.newIntProperty
    "CollectionResults.MaximumRowsFloodControlMin,"
    5 000).

    /**
    flood control data to control the number of rows may result in collection
    * keep. from the min, we will open a session but rejects silently new upcoming lines
    * in the result set. If we reached the maximum, the assumption is that the
    ' * ' fetchlet ' is out of control (loop?) and we will report a duration
    * statement.
    *
    * @name CollectionResults.MaximumRowsFloodControlMax
    * @type integer
    * @unit lines
    * @default 10000
    */
    private static final ConfigProperty MAXIMUM_ROWS_FLOOD_CONTROL_MAX =
    () Config.newIntProperty
    "CollectionResults.MaximumRowsFloodControlMax,"
    10000);

    and can be controlled via:

    emctl setproperty agent-allow_new-name-value...

    or by the emd.properties implementation and performing an emctl reload.

  • ECM data collection failed with the error «Cannot run the pre-load...» »

    Hey all,.

    I'm meeting a very strange question. I code a metric ECM for my plugin to mongo database. After he has deployed to EM, even if the data collection was all right (Agent browser check and download folder on the server agent) and the GCED table was created after the expanded plugin, data were load into the ECM table failed.

    Here is the definition of XML.
    -targetType
      <Metric NAME="CheckServiceConf" TYPE="RAW" CONFIG="TRUE">
        <Display>
          <Label NLSID="omd_ecm_checkserviceconf">CheckServiceConf</Label>
        </Display>
        <TableDescriptor TABLE_NAME="MGMT_EMX_MONGO_SERVICE_CONF">
          <ColumnDescriptor NAME="Host_Name" COLUMN_NAME="HOST_NAME" TYPE="STRING" IS_KEY="TRUE" />
          <ColumnDescriptor NAME="Port" COLUMN_NAME="PORT" TYPE="NUMBER" IS_KEY="TRUE" />
          <ColumnDescriptor NAME="Config_File" COLUMN_NAME="CONFIG_FILE" TYPE="STRING" IS_KEY="FALSE" />
          <ColumnDescriptor NAME="Data_Path" COLUMN_NAME="DATA_PATH" TYPE="STRING" IS_KEY="FALSE" />
          <ColumnDescriptor NAME="Log_File" COLUMN_NAME="LOG_FILE" TYPE="STRING" IS_KEY="FALSE" />
          <ColumnDescriptor NAME="Is_Sharding_Server" COLUMN_NAME="IS_SHARDING_SERVER" TYPE="STRING" IS_KEY="FALSE" />
          <ColumnDescriptor NAME="Replication_Set_Name" COLUMN_NAME="REPLICATION_SET_NAME" TYPE="STRING" IS_KEY="FALSE" />
          <ColumnDescriptor NAME="Is_Config_Server" COLUMN_NAME="IS_CONFIG_SERVER" TYPE="STRING" IS_KEY="FALSE" />
          <ColumnDescriptor NAME="List_of_Config_Servers" COLUMN_NAME="LIST_OF_CONFIG_SERVERS" TYPE="STRING" IS_KEY="FALSE" />
          <ColumnDescriptor NAME="Max_Connections" COLUMN_NAME="MAX_CONNECTIONS" TYPE="NUMBER" IS_KEY="FALSE" />
          <ColumnDescriptor NAME="Oplog_Size" COLUMN_NAME="OPLOG_SIZE" TYPE="NUMBER" IS_KEY="FALSE" />
          <ColumnDescriptor NAME="Instance_Version" COLUMN_NAME="INSTANCE_VERSION" TYPE="STRING" IS_KEY="FALSE" />
          <ColumnDescriptor NAME="OS_Process" COLUMN_NAME="OS_PROCESS" TYPE="STRING" IS_KEY="FALSE" />
          <ColumnDescriptor NAME="OS_Process_ID" COLUMN_NAME="OS_PROCESS_ID" TYPE="NUMBER" IS_KEY="FALSE" />
        </TableDescriptor>
        <QueryDescriptor FETCHLET_ID="OSLineToken">
          <Property NAME="emdRoot" SCOPE="SYSTEMGLOBAL">emdRoot</Property>
          <Property NAME="scriptsDir" SCOPE="SYSTEMGLOBAL">scriptsDir</Property>
          <Property NAME="perlBin" SCOPE="SYSTEMGLOBAL">perlBin</Property>
          <Property NAME="host" SCOPE="INSTANCE" OPTIONAL="TRUE">host</Property>
          <Property NAME="port" SCOPE="INSTANCE" OPTIONAL="TRUE">port</Property>
          <Property NAME="uname" SCOPE="INSTANCE" OPTIONAL="TRUE">uname</Property>
          <Property NAME="pass" SCOPE="INSTANCE" OPTIONAL="TRUE">pass</Property>
    
          <Property NAME="mydelimiter" SCOPE="INSTANCE">mydelimiter</Property>
          <Property NAME="command" SCOPE="GLOBAL">"/usr/bin/perl" -I "%scriptsDir%/emx/%TYPE%" "%scriptsDir%/emx/%TYPE%/CheckServiceConf.pl" "%host%" "%port%" "%uname%" "%pass%" "%mydelimiter%"</Property>
          <Property NAME="delimiter" SCOPE="GLOBAL">%mydelimiter%</Property>
          <Property NAME="startsWith" SCOPE="GLOBAL">em_result=</Property>
          <Property NAME="errStartsWith" SCOPE="GLOBAL">em_error=</Property>
          <Property NAME="em_metric_timeout" SCOPE="GLOBAL">300</Property>
        </QueryDescriptor>
      </Metric>
    -collection metadata
      <CollectionItem NAME="CheckServiceConf" UPLOAD_ON_FETCH="TRUE" CONFIG="TRUE">
        <Schedule OFFSET_TYPE="INCREMENTAL">
          <IntervalSchedule INTERVAL="12" TIME_UNIT="Hr" />
        </Schedule>
        <MetricColl NAME="CheckServiceConf" />
      </CollectionItem>
    -snapshot type metadata
    <METADATAS>
      <METADATA SNAP_TYPE="CHECK_SERVICE_CONF" TARGET_TYPE="mongo_database" VER="1" COMPARE_IGNORE="N" COMPARE_UI_IGNORE="N" HISTORY_IGNORE="N" HISTORY_UI_IGNORE="N" UI_IGNORE="N" DROP_EXISTING_DATA="Y">
        <METADATA_UI_NAME>CheckServiceConf</METADATA_UI_NAME>
        <TABLE NAME="MGMT_EMX_MONGO_SERVICE_CONF">
        <UI_NAME>CheckServiceConf</UI_NAME>
          <COLUMN NAME="HOST_NAME" TYPE="STRING" TYPE_FORMAT="512" IS_KEY="Y" >HOST_NAME</COLUMN>
          <COLUMN NAME="PORT" TYPE="NUMBER" IS_KEY="Y" >PORT</COLUMN>
          <COLUMN NAME="CONFIG_FILE" TYPE="STRING" TYPE_FORMAT="512" IS_KEY="N" >CONFIG_FILE</COLUMN>
          <COLUMN NAME="DATA_PATH" TYPE="STRING" TYPE_FORMAT="512" IS_KEY="N" >DATA_PATH</COLUMN>
          <COLUMN NAME="LOG_FILE" TYPE="STRING" TYPE_FORMAT="512" IS_KEY="N" >LOG_FILE</COLUMN>
          <COLUMN NAME="IS_SHARDING_SERVER" TYPE="STRING" TYPE_FORMAT="64" IS_KEY="N" >IS_SHARDING_SERVER</COLUMN>
          <COLUMN NAME="REPLICATION_SET_NAME" TYPE="STRING" TYPE_FORMAT="64" IS_KEY="N" >REPLICATION_SET_NAME</COLUMN>
          <COLUMN NAME="IS_CONFIG_SERVER" TYPE="STRING" TYPE_FORMAT="64" IS_KEY="N" >IS_CONFIG_SERVER</COLUMN>
          <COLUMN NAME="LIST_OF_CONFIG_SERVERS" TYPE="STRING" TYPE_FORMAT="64" IS_KEY="N" >LIST_OF_CONFIG_SERVERS</COLUMN>
          <COLUMN NAME="MAX_CONNECTIONS" TYPE="NUMBER" IS_KEY="N" >MAX_CONNECTIONS</COLUMN>
          <COLUMN NAME="OPLOG_SIZE" TYPE="NUMBER" IS_KEY="N" >OPLOG_SIZE</COLUMN>
          <COLUMN NAME="INSTANCE_VERSION" TYPE="STRING" TYPE_FORMAT="64" IS_KEY="N" >INSTANCE_VERSION</COLUMN>
          <COLUMN NAME="OS_PROCESS" TYPE="STRING" TYPE_FORMAT="64" IS_KEY="N" >OS_PROCESS</COLUMN>
          <COLUMN NAME="OS_PROCESS_ID" TYPE="NUMBER" IS_KEY="N" >OS_PROCESS_ID</COLUMN>
        </TABLE>
      </METADATA>
    
    </METADATAS>
    After you add target to em, the errors appeared in emoms_pbs.log on the SGD server
    2012-11-09 16:08:13,114 [GCLoader[uploadonfetch] - https://ph-10-10-59-224.cp.no.sohu.com:3872/emd/main/] ERROR
     gcloader.CallbackInterface logp.251 - Failed to execute pre-load for: 
    Target Id       :CDE026FD2C446D2AE043E19D0B0AA2B6
    Collection Name :CheckServiceConf
    Agent Url       :https://ph-10-10-59-224.cp.no.sohu.com:3872/emd/main/
    version         :1.0
    metadata version:2.0
    oracle.sysman.eml.ecm.track.RepositoryOperationException: executePreLoad: Config metadata not found: 
    collectionName   : CheckServiceConf
    targetGuid       : CDE026FD2C446D2AE043E19D0B0AA2B6
            at oracle.sysman.eml.ecm.track.EcmConfigData.executePreLoad(EcmConfigData.java:344)
            at oracle.sysman.core.pbs.gcloader.CallbackInterface.executePreLoad(CallbackInterface.java:245)
            at oracle.sysman.core.pbs.gcloader.DataLoader.executePreLoad(DataLoader.java:1185)
            at oracle.sysman.core.pbs.gcloader.DataLoader.loadDataImpl(DataLoader.java:920)
            at oracle.sysman.core.pbs.gcloader.XMLDocumentDataParser.endElement(XMLDocumentDataParser.java:400)
            at oracle.xml.parser.v2.NonValidatingParser.parseElement(NonValidatingParser.java:1359)
            at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:376)
            at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:322)
            at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:226)
            at oracle.sysman.core.pbs.gcloader.XMLDocumentDataParser.split(XMLDocumentDataParser.java:148)
            at oracle.sysman.core.pbs.gcloader.DataLoader.loadDataCollection(DataLoader.java:439)
            at oracle.sysman.core.pbs.gcloader.RequestMapper.processDataCollection(RequestMapper.java:200)
            at oracle.sysman.core.pbs.gcloader.RequestMapper.processAll(RequestMapper.java:154)
            at oracle.sysman.core.pbs.gcloader.Receiver.processFile(Receiver.java:1487)
            at oracle.sysman.core.pbs.gcloader.Receiver.doPost(Receiver.java:1309)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
            at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
            at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
            at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
            at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
            at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
            at oracle.sysman.core.pbs.app.ContextInitFilter.doFilter(ContextInitFilter.java:113)
            at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
            at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
            at java.security.AccessController.doPrivileged(Native Method)
            at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
            at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
            at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)
            at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
            at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
            at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
            at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:136)
            at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
            at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
            at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
            at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.
    java:3715)
            at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java
    :3681)
            at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
            at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
            at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
            at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
            at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
            at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
            at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    I am really confused with the error message and have no idea how to fix this.
    Could someone give advice? Thank you in advance!

    Best wishes
    Satine

    Satine,
    The name of the collection item)

    Thank you...

    Pinaki-

  • LMO record Manager on Enetrprise Manager Cloud Control

    Hello
    I installed and configured Enterprise Manager 12 c. but when I try to save the LMOS Manager fails with the following error:
    any idea?


    Display the data

    State has failed
    Exit code 1
    884 step ID
    Target 10.131.58.11:3872

    Started October 20, 2011 4:35:45 PM GMT + 03:30
    Ended October 20, 2011 4:35:46 PM GMT + 03:30
    Seconds of time elapsed 1 step
    OEM12.test.com:4890_Management_Service Management Service
    Including the job step ADVANCED management service was sent.
    Natural logarithm of output

    4321: error uuid.
    Executing command /u01/app/oracle/oem12c/core/12.1.0.1.0/jdk/bin/java -classpath /u01/app/oracle/oem12c/core/12.1.0.1.0/sysman/jlib/emagentSDK.jar:/u01/app/oracle/oem12c/core/12.1.0.1.0/sysman/jlib/log4j-core.jar:/u01/app/oracle/oem12c/core/12.1.0.1.0/sysman/jlib/emagentSDK-intg.jar:/u01/app/oracle/oem12c/core/12.1.0.1.0/jlib/gcagent_core.jar:/u01/app/oracle/oem12c/plugins/oracle.sysman.vt.agent.plugin_12.1.0.1.0/archives/OvmClient.jar:/u01/app/oracle/oem12c/plugins/oracle.sysman.vt.agent.plugin_12.1.0.1.0/archives/commons-logging-1.0.4.jar:/u01/app/oracle/oem12c/plugins/oracle.sysman.vt.agent.plugin_12.1.0.1.0/archives/em-vt-fetchlet-pojo.jar:/u01/app/oracle/oem12c/plugins/ oracle.sysman.vt.fetchlet.pojo.AsyncOVMWrapper Oracle.SYSMAN.VT.agent.plugin_12.1.0.1.0/Archives/em-VT-ovmintegration-POJO.jar:/u01/app/Oracle/oem12c/plugins/Oracle.SYSMAN.VT.agent.plugin_12.1.0.1.0/Archives/em-VT-ovmintegrationcore-POJO.jar

    URL of the Manager of the LMO = < sensitive value does not display >
    Manager of the LMOS Username = < value sensitive don't not to display >
    LMOS Manager Password = < value sensitive do not to display >
    Manager ID = SyncManager
    The method name = getOvmMgrUuid
    Types of param = < sensitive value does not display >
    paramValues = < sensitive value does not display >

    log4j:error no appenders could be found for the category (SDK.oracle.sysman.vt.ovm.integration.core.SyncManagerImpl).
    log4j:Error Please initialize log4j correctly system.
    Operation failed
    oracle.sysman.vt.ovm.integration.api.EMOVMCommunicationServiceException: 6001: error getting data from the Oracle VM Manager null. Check the logs for more details.
    at oracle.sysman.vt.ovm.integration.core.SyncManagerImpl.getOvmMgrUuid(SyncManagerImpl.java:470)
    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at oracle.sysman.vt.fetchlet.pojo.OVMDataFetchletUtil.executeOperation(OVMDataFetchletUtil.java:228)
    at oracle.sysman.vt.fetchlet.pojo.OVMDataFetchletUtil.executeOperation(OVMDataFetchletUtil.java:119)
    at oracle.sysman.vt.fetchlet.pojo.AsyncOVMWrapper.main(AsyncOVMWrapper.java:117)
    Exit code: 113

    This error has been seen before, if you are using a 3.0.1 version for Oracle VM Manager.

    Only the Oracle VM server 3.0.2 and Oracle VM Manager 3.0.2 or above are supported by Enterprise Manager 12 c.

  • Problem with localhost:1158 / em

    Hi all
    I posted a problem before, but it was fixed in part to deal with another:
    When I try to navigate to localhost:1158 / em the browser will not display anything, but wonder if I want to save a file named (em)

    It is the production of services lsnrctle

    When I published lsnrctl then the output has been
    [15: 33:41 ~] $ lsnrctl services

    LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 25-AUG-2011 15:42:48

    Copyright (c) 1991, 2009, Oracle. All rights reserved.

    Connection to (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST=localhost.localdomain) (PORT = 1521)))
    Summary of services...
    Service "orcl" has 1 instance (s).
    Instance "orcl", State LOAN, has 1 operation for this service...
    Managers:
    "DEDICATED" implemented: 26 refused: 0 status: ready
    LOCAL SERVER
    Service 'orclXDB' has 1 instance (s).
    Instance "orcl", State LOAN, has 1 operation for this service...
    Managers:
    "D000" put in place: 0 denied: current: 0 0 max: 1022 State: loan
    DISPATCHER < machine: localhost.localdomain, pid: 17654 >
    (ADDRESS = (PROTOCOL = tcp (PORT = 24414))(HOST=localhost))
    The command completed successfully

    WHAT IS the orclXDB?

    and here is the content of emagent.trc, WHICH has a large NUMBER of ERRORS

    2011-09-25 14:45:31, 628 WARN Thread-3036149440 http: nmehl_connect_internal: connection failed (localhost.localdomain:1158): Connection refused (error = 111)
    2011-09-25 14:45:31, 628 ERROR Thread-3036149440 pingManager: nmepm_pingReposURL: unable to connect to https://localhost.localdomain:1158/em/upload /: retStatus =-1
    2011-09-25 14:45:31, handmade wire-3036149440 WARN 628: clear the State of the collection due to the difference of OMS_version
    2011-09-25 14:45:31, control of wire-3036149440 WARN 640: subsystem Job Timeout set to 600 seconds
    2011-09-25 14:45:31, 716 upload Thread-3036149440 WARN: Download Manager has no script default: disabled
    2011-09-25 14:45:31, 872 metadata Thread-3036149440 WARN: metric VirtualHosts has no data columns
    2011-09-25 14:45:32, 273 metadata WARN Thread-3036149440: metric hung_system_traces isn't the data columns
    2011-09-25 14:45:32, 614 Thread-2988432240 ERROR: (nmecmgr.c, 3230): Memory 0x0 met, wait struct_id = 11011
    2011-09-25 14:45:32, 614 Thread-2994731888 ERROR: (nmecmgr.c, 3230): Memory 0x0 met, wait struct_id = 11011
    2011-09-25 14:45:32, 614 Thread-2991582064 ERROR: (nmecmgr.c, 3230): Memory 0x0 met, wait struct_id = 11011
    2011-09-25 14:45:32, 614 Thread-2985282416 ERROR: (nmecmgr.c, 3230): Memory 0x0 met, wait struct_id = 11011
    2011-09-25 14:45:32, 657 TargetManager wire-2991582064 ALERT: query returned 0 rows (one expected) for the property Dynamics from_cluster
    2011-09-25 14:45:32, 657 ERROR Thread-2991582064: (nmecmgr.c, 3230): Memory 0x0 met, wait struct_id = 11011
    2011-09-25 14:45:32, 839 ERROR Thread-2991582064: (nmecmgr.c, 3230): Memory 0x0 met, wait struct_id = 11011
    2011-09-25 14:45:32, 840 ERROR Thread-2991582064: (nmecmgr.c, 3230): Memory 0x0 met, wait struct_id = 11011
    2011-09-25 14:45:32, 948 ERROR-Thread-2985282416: (nmecmgr.c, 3230): Memory 0x0 met, wait struct_id = 11011
    2011-09-25 14:45:32, 950 ERROR Thread-2985282416: (nmecmgr.c, 3230): Memory 0x0 met, wait struct_id = 11011
    2011-09-25 14:45:32, 952 ERROR Thread-2985282416: (nmecmgr.c, 3230): Memory 0x0 met, wait struct_id = 11011
    2011-09-25 14:45:32, 964 ERROR Thread-2985282416: (nmecmgr.c, 3230): Memory 0x0 met, wait struct_id = 11011
    2011-09-25 14:45:32, 965 ERROR Thread-2985282416: (nmecmgr.c, 3230): Memory 0x0 met, wait struct_id = 11011
    2011-09-25 14:45:32, 968 ERROR Thread-2985282416: (nmecmgr.c, 3230): Memory 0x0 met, wait struct_id = 11011
    2011-09-25 14:45:33, 078 ERROR Thread-2991582064: (nmecmgr.c, 3230): Memory 0x0 met, wait struct_id = 11011
    2011-09-25 14:45:33, 110 ERROR Thread-2985282416: (nmecmgr.c, 3230): Memory 0x0 met, wait struct_id = 11011
    2011-09-25 14:45:33, 117 ERROR Thread-2985282416: (nmecmgr.c, 3230): Memory 0x0 met, wait struct_id = 11011
    2011-09-25 14:45:33, 156 ERROR Thread-2991582064: (nmecmgr.c, 3230): Memory 0x0 met, wait struct_id = 11011
    2011-09-25 14:45:33, 220 ERROR Thread-2985282416: (nmecmgr.c, 3230): Memory 0x0 met, wait struct_id = 11011
    2011-09-25 14:45:33, 297 ERROR Thread-2985282416: (nmecmgr.c, 3230): Memory 0x0 met, wait struct_id = 11011
    2011-09-25 14:45:33, 313 ERROR Thread-2985282416: (nmecmgr.c, 3230): Memory 0x0 met, wait struct_id = 11011
    2011-09-25 14:45:33, 376 ERROR Thread-2985282416: (nmecmgr.c, 3230): Memory 0x0 met, wait struct_id = 11011
    2011-09-25 14:45:33, 381 ERROR Thread-2985282416: (nmecmgr.c, 3230): Memory 0x0 met, wait struct_id = 11011
    2011-09-25 14:45:33, 387 ERROR Thread-2985282416: (nmecmgr.c, 3230): Memory 0x0 met, wait struct_id = 11011
    2011-09-25 14:45:33, 456 ERROR Thread-2985282416: (nmecmgr.c, 3230): Memory 0x0 met, wait struct_id = 11011
    2011-09-25 14:45:33, 463 ERROR Thread-2985282416: (nmecmgr.c, 3230): Memory 0x0 met, wait struct_id = 11011
    2011-09-25 14:45:33, 465 ERROR Thread-2985282416: (nmecmgr.c, 3230): Memory 0x0 met, wait struct_id = 11011
    2011-09-25 14:45:33, 677 ERROR Thread-2985282416: (nmecmgr.c, 3230): Memory 0x0 met, wait struct_id = 11011
    2011-09-25 14:45:33, 682 ERROR Thread-2985282416: (nmecmgr.c, 3230): Memory 0x0 met, wait struct_id = 11011
    2011-09-25 14:45:33, 697 ERROR Thread-2985282416: (nmecmgr.c, 3230): Memory 0x0 met, wait struct_id = 11011
    2011-09-25 14:45:34, 138 ERROR Thread-2985282416: (nmecmgr.c, 3230): Memory 0x0 met, wait struct_id = 11011
    2011-09-25 14:45:34, 148 ERROR Thread-2985282416: (nmecmgr.c, 3230): Memory 0x0 met, wait struct_id = 11011
    2011-09-25 14:45:34, 525 ERROR Thread-2985282416: (nmecmgr.c, 3230): Memory 0x0 met, wait struct_id = 11011
    2011-09-25 14:45:34, 745 ERROR Thread-2985282416: (nmecmgr.c, 3230): Memory 0x0 met, wait struct_id = 11011
    2011-09-25 14:45:34, 804 TargetManager wire-3036149440 ALERT: regenerate all the metadata
    2011-09-25 14:45:34, 872 upload Thread-3036149440 WARN: truncate the value of 'SHORT_NAME' of "Synchronous monobloc read average latency (ms)" to "one-piece synchronous way to read the.
    2011-09-25 14:45:34, 872 upload Thread-3036149440 WARN: truncate the value of 'SHORT_NAME' of "Synchronous monobloc read average latency (ms)" to "one-piece synchronous way to read the.
    2011-09-25 14:45:34, 970 upload Thread-3036149440 WARN: truncate the value of 'COLUMN_LABEL' to the 'Total number of messages processed by queue per subscriber and per minute in the last interval"to" Total messages processed by queue per subscriber and per minute in.
    2011-09-25 14:45:34, 970 upload Thread-3036149440 WARN: truncating value of "COLUMN_LABEL" of the "Total number of messages received by queue per subscriber and per minute in the last interval" to "Total number of messages received by queue per subscriber per minute t."
    2011-09-25 14:45:34, 970 upload Thread-3036149440 WARN: truncate the value of 'COLUMN_LABEL' of 'Messages processed by queue (%) per subscriber and per minute in the last interval' for ' the Messages processed by queue (%) per subscriber and per minute in th.
    2011-09-25 14:45:34, 970 upload Thread-3036149440 WARN: truncating value of 'COLUMN_LABEL' of "The age of the first message in the persistent queue by Subscriber (seconds)" to "Age of the first message in the queue persistent subscriber (s).
    2011-09-25 14:45:34, 970 upload Thread-3036149440 WARN: truncate the value of 'COLUMN_LABEL' of 'Age of the first message in the queue in the buffer by queue (in seconds)' to 'Age of the first message in the queue in the buffer by queue (second. "
    2011-09-25 14:45:35, collector of wire-3036149440 WARN 711: the first_message_age of name of column in this condition does not exist in metric aq_msgs_persistentq_per_subscriber
    2011-09-25 14:45:35, collector of wire-3036149440 WARN 713: regenerate all DefaultColls
    2011-09-25 14:45:35, wire-3036149440 WARN 773 collector: the first_message_age of name of column in this condition does not exist in metric aq_msgs_persistentq_per_subscriber
    2011-09-25 14:45:35, 852 WARN Thread-2991582064 http: nmehl_connect_internal: connection failed (localhost.localdomain:1158): Connection refused (error = 111)
    2011-09-25 14:45:35, 852 ERROR Thread-2991582064 pingManager: nmepm_pingReposURL: unable to connect to https://localhost.localdomain:1158/em/upload /: retStatus =-1
    2011-09-25 14:45:35, 853 WARN Thread-2991582064 http: nmehl_connect_internal: connection failed (localhost.localdomain:1158): Connection refused (error = 111)
    2011-09-25 14:45:35, 853 ERROR Thread-2991582064 pingManager: nmepm_pingReposURL: unable to connect to https://localhost.localdomain:1158/em/upload /: retStatus =-1
    2011-09-25 14:45:36, 641 WARN Thread-3020942192 http: nmehl_connect_internal: connection failed (localhost.localdomain:1158): Connection refused (error = 111)
    2011-09-25 14:45:36, 641 command ERROR Thread-3020942192: nmejcn: failed to connect to https://localhost.localdomain:1158/em/upload http /: retStatus =-1
    2011-09-25 14:45:38, 641 WARN Thread-3020942192 http: nmehl_connect_internal: connection failed (localhost.localdomain:1158): Connection refused (error = 111)
    2011-09-25 14:45:38, 641 command ERROR Thread-3020942192: nmejcn: failed to connect to https://localhost.localdomain:1158/em/upload http /: retStatus =-1
    2011-09-25 14:46:06, 903 ERROR Thread-2985282416 recvlets: Recvlet AQMetrics reported invalid column for orcl oracle_database instance_efficiency pxdwngrd99_ps
    2011-09-25 14:46:06, 903 recvlets.aq wire-2985282416 ERROR: failure-(1) clear gravity on [instance_efficiency.pxdwngrd99_ps] for oracle_database orcl
    2011-09-25 14:46:07, 214 recvlets.aq wire-2985282416 to WARN: no matches recorded type of alert for instance_efficiency.pxdwngrd_ps
    2011-09-25 14:46:07, 214 recvlets.aq wire-2985282416 to WARN: no matches recorded type of alert for instance_efficiency.pxdwngrdserial_pt
    2011-09-25 14:46:07, 219 recvlets.aq wire-2985282416 to WARN: no matches recorded type of alert for wait_bottlenecks.userio_wait_cnt
    2011-09-25 14:46:07, 219 recvlets.aq wire-2985282416 to WARN: no matches recorded type of alert for wait_bottlenecks.other_wait_cnt
    2011-09-25 14:54:59, 906 fetchlets.os wire-3020942192 ERROR: process stderr = em_error = number of arguments passed invalid

    2011-09-25 14:54:59, 907 ERROR Thread-3020942192 engine: [orcl, oracle_database, pwd_expiry]: nmeegd_GetMetricData failed: em_error = number of arguments passed invalid

    2011-09-25 14:54:59, collector of wire-3020942192 WARN 907: < nmecmc.c > output error. Error message: em_error = number of arguments passed invalid
    2011-09-25 14:55:34, 654 ERROR Thread-3004156784 engine: [host, localhost.localdomain, Filesystems]: nmeegd_GetMetricData failed: result has repeat the key value:
    2011-09-25 14:55:34, collector of wire-3004156784 WARN 655: < nmecmc.c > output error. Error message: result has repeated the key value:
    2011-09-25 15:03:03, 933 vpxoci wire-2985282416 ERROR: error on dequeue of SYS. ALERT_QUE: ORA-03113: end of file on communication channel
    Process ID: 11985
    Session ID: 192 serial number: 3731
    2011-09-25 15:03:04, 933 vpxoci wire-2985282416 ERROR: error on dequeue of SYS. ALERT_QUE: ORA-03114: not connected to ORACLE
    2011-09-25 15:03:04, 971 vpxoci thread-2985282416 ALERT: OCI error - ErrorCode (12505): ORA-12505: TNS:listener is not currently of SID given in connect descriptor

    SQL = "OCIServerAttach '...
    LOGIN = dbsnmp / < PW > @(DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST=localhost.localdomain) (PORT = 1521)) (CONNECT_DATA = (SID = orcl)))
    2011-09-25 15:03:04, 971 vpxoci thread-2985282416 ERROR: ORA-12505: TNS:listener is not currently of SID given in connect descriptor
    2011-09-25 15:03:04, 971 recvlets.aq thread-2985282416 WARNING: [oracle_database orcl] failed connection: ORA-12505: TNS:listener is not currently of SID given in connect descriptor
    2011-09-25 15:03:11, wire-3020942192 WARN 008 upload: FxferSend: receipt error http header of the repository: https://localhost.localdomain:1158/em/upload /.
    ERROR-400 | Listener refused the connection with the following error:
    ORA-12528, TNS:listener: all appropriate instances are blocking new connections
    Used by the client connect descriptor was:
    (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST=localhost.localdomain) (PORT = 1521))) (CONNECT_DATA = (SERVICE_NAME = orcl)))

    2011-09-25 15:03:11, 009 upload Thread-3020942192 ERROR: cannot download the file B0000026.xml: HTTP error.
    Response: ERROR-400 | Listener refused the connection with the following error:
    ORA-12528, TNS:listener: all appropriate instances are blocking new connections
    Used by the client connect descriptor was:
    (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST=localhost.localdomain) (PORT = 1521))) (CONNECT_DATA = (SERVICE_NAME = orcl)))

    2011-09-25 15:03:11, 112 download WARN Thread-3020942192: FxferSend: receipt error http header of the repository: https://localhost.localdomain:1158/em/upload /.
    ERROR-400 | Listener refused the connection with the following error:
    ORA-12528, TNS:listener: all appropriate instances are blocking new connections
    Used by the client connect descriptor was:
    (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST=localhost.localdomain) (PORT = 1521))) (CONNECT_DATA = (SERVICE_NAME = orcl)))

    2011-09-25 15:03:11, 112 upload Thread-3020942192 ERROR: cannot download the file B0000026.xml: HTTP error.
    Response: ERROR-400 | Listener refused the connection with the following error:
    ORA-12528, TNS:listener: all appropriate instances are blocking new connections
    Used by the client connect descriptor was:
    (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST=localhost.localdomain) (PORT = 1521))) (CONNECT_DATA = (SERVICE_NAME = orcl)))

    2011-09-25 15:03:11, upload of wire-3020942192 WARN 214: FxferSend: receipt error http header of the repository: https://localhost.localdomain:1158/em/upload /.
    ERROR-400 | Listener refused the connection with the following error:
    ORA-12528, TNS:listener: all appropriate instances are blocking new connections
    Used by the client connect descriptor was:
    (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST=localhost.localdomain) (PORT = 1521))) (CONNECT_DATA = (SERVICE_NAME = orcl)))

    2011-09-25 15:03:11, 215 upload Thread-3020942192 ERROR: cannot download the file B0000026.xml: HTTP error.
    Response: ERROR-400 | Listener refused the connection with the following error:
    ORA-12528, TNS:listener: all appropriate instances are blocking new connections
    Used by the client connect descriptor was:
    (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST=localhost.localdomain) (PORT = 1521))) (CONNECT_DATA = (SERVICE_NAME = orcl)))

    2011-09-25 15:03:11, 215 Thread-3020942192 ERROR upload: 3 failures in a row or an error XML for B0000026.xml, retcode = - 2, we give up
    2011-09-25 15:03:19, 248 vpxoci wire-3020942192 ERROR: ORA-03113: end of file on communication channel
    2011-09-25 15:10:35, engine wire-2991582064 ERROR 002: [host, localhost.localdomain, Filesystems]: nmeegd_GetMetricData failed: result has repeated the key value:
    2011-09-25 15:10:35, collector of wire-2991582064 WARN 002: < nmecmc.c > output error. Error message: result has repeated the key value:
    2011-09-25 15:25:35, 033 ERROR Thread-3020942192 engine: [host, localhost.localdomain, Filesystems]: nmeegd_GetMetricData failed: result has repeat the key value:
    2011-09-25 15:25:35, collector of wire-3020942192 WARN 033: < nmecmc.c > output error. Error message: result has repeated the key value:
    2011-09-25 15:33:30, 325 vpxoci wire-2985282416 ERROR: error on dequeue of SYS. ALERT_QUE: ORA-03113: end of file on communication channel
    Process ID: 15239
    Session ID: 192 serial number: 24
    2011-09-25 15:33:31, 326 vpxoci wire-2985282416 ERROR: error on dequeue of SYS. ALERT_QUE: ORA-03114: not connected to ORACLE
    2011-09-25 15:33:31, 435 vpxoci wire-2985282416 ALERT: OCI error - ErrorCode (12505): ORA-12505: TNS:listener is not currently of SID given in connect descriptor

    SQL = "OCIServerAttach '...
    LOGIN = dbsnmp / < PW > @(DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST=localhost.localdomain) (PORT = 1521)) (CONNECT_DATA = (SID = orcl)))
    2011-09-25 15:33:31, 435 vpxoci wire-2985282416 ERROR: ORA-12505: TNS:listener is not currently of SID given in connect descriptor
    2011-09-25 15:33:31, 435 recvlets.aq wire-2985282416 WARNING: [oracle_database orcl] failed connection: ORA-12505: TNS:listener is not currently of SID given in connect descriptor
    2011-09-25 15:33:40, 624 vpxoci wire-2991582064 ALERT: OCI error - ErrorCode (1033): ORA-01033: ORACLE initialization or shutdown in progress

    SQL = "OCISessionGet '...
    LOGIN = dbsnmp / < PW > @(DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST=localhost.localdomain) (PORT = 1521)) (CONNECT_DATA = (SID = orcl)))
    2011-09-25 15:33:40, 624 vpxoci wire-2991582064 ERROR: ORA-01033: ORACLE initialization or shutdown in progress
    2011-09-25 15:33:40, 624 vpxoci wire-2991582064 WARNING: failed to connect 0xb29567d0, error = ORA-01033: ORACLE initialization or shutdown in progress
    2011-09-25 15:33:40, 624 ERROR Thread-2991582064 engine: [orcl, oracle_database, DeferredTrans]: nmeegd_GetMetricData failed: ORA-01033: ORACLE initialization or shutdown in progress

    2011-09-25 15:33:40, collector of wire-2991582064 WARN 624: < nmecmc.c > output error. Error message: ORA-01033: ORACLE initialization or shutdown in progress
    2011-09-25 15:33:40, 781 upload WARN Thread-3020942192: FxferSend: receipt error http header of the repository: https://localhost.localdomain:1158/em/upload /.
    ERROR-400 | ORA-01033: ORACLE initialization or shutting

    2011-09-25 15:33:40, 781 upload Thread-3020942192 ERROR: cannot download the file B0000037.xml: HTTP error.
    Response: ERROR-400 | ORA-01033: ORACLE initialization or shutting

    2011-09-25 15:33:40, 924 upload WARN Thread-3020942192: FxferSend: receipt error http header of the repository: https://localhost.localdomain:1158/em/upload /.
    ERROR-400 | ORA-01033: ORACLE initialization or shutting

    2011-09-25 15:33:40, 924 upload Thread-3020942192 ERROR: cannot download the file B0000037.xml: HTTP error.
    Response: ERROR-400 | ORA-01033: ORACLE initialization or shutting

    2011-09-25 15:33:41, 095 download WARN Thread-3020942192: FxferSend: receipt error http header of the repository: https://localhost.localdomain:1158/em/upload /.
    ERROR-400 | ORA-01033: ORACLE initialization or shutting

    2011-09-25 15:33:41, 096 upload Thread-3020942192 ERROR: cannot download the file B0000037.xml: HTTP error.
    Response: ERROR-400 | ORA-01033: ORACLE initialization or shutting

    2011-09-25 15:33:41, 096 Thread-3020942192 ERROR upload: 3 failures in a row or an error XML for B0000037.xml, retcode = - 2, we give up
    2011-09-25 15:40:34, 416 ERROR Thread-3020942192 engine: [host, localhost.localdomain, Filesystems]: nmeegd_GetMetricData failed: result has repeat the key value:
    2011-09-25 15:40:34, collector of wire-3020942192 WARN 416: < nmecmc.c > output error. Error message: result has repeated the key value:
    2011-09-25 15:46:17, 941 recvlets.aq wire-2985282416 WARNING: double threshold key instance_throughput.logons_ps. for [oracle_database orcl]
    2011-09-25 15:54:43, 101 WARN Thread-3035982288 http: nmehl_connect_internal: connection failed (localhost.localdomain:1158): Connection refused (error = 111)
    2011-09-25 15:54:43, 110 ERROR Thread-3035982288 pingManager: nmepm_pingReposURL: unable to connect to https://localhost.localdomain:1158/em/upload /: retStatus =-1
    2011-09-25 15:54:43, control of wire-3035982288 WARN 419: subsystem Job Timeout set to 600 seconds
    2011-09-25 15:54:43, 574 upload Thread-3035982288 WARN: Download Manager has no script default: disabled
    2011-09-25 15:54:43, 706 metadata Thread-3035982288 WARN: metric VirtualHosts has no data columns
    2011-09-25 15:54:43, 896 metadata WARN Thread-3035982288: metric hung_system_traces isn't the data columns
    2011-09-25 15:54:44, 406 ERROR Thread-2994731888: (nmecmgr.c, 3230): Memory 0x0 met, wait struct_id = 11011
    2011-09-25 15:54:44, 406 ERROR Thread-2991582064: (nmecmgr.c, 3230): Memory 0x0 met, wait struct_id = 11011
    2011-09-25 15:54:44, 406 ERROR Thread-2988432240: (nmecmgr.c, 3230): Memory 0x0 met, wait struct_id = 11011
    2011-09-25 15:54:44, 406 ERROR Thread-2985282416: (nmecmgr.c, 3230): Memory 0x0 met, wait struct_id = 11011
    2011-09-25 15:54:44, 445 TargetManager wire-2991582064 ALERT: query returned 0 rows (one expected) for the property Dynamics from_cluster
    2011-09-25 15:54:44, 445 ERROR Thread-2991582064: (nmecmgr.c, 3230): Memory 0x0 met, wait struct_id = 11011
    2011-09-25 15:54:44, 796 ERROR Thread-2991582064: (nmecmgr.c, 3230): Memory 0x0 met, wait struct_id = 11011
    2011-09-25 15:54:44, 796 ERROR Thread-2991582064: (nmecmgr.c, 3230): Memory 0x0 met, wait struct_id = 11011
    2011-09-25 15:54:45, 110 ERROR Thread-2991582064: (nmecmgr.c, 3230): Memory 0x0 met, wait struct_id = 11011
    2011-09-25 15:54:45, 511 ERROR Thread-2991582064: (nmecmgr.c, 3230): Memory 0x0 met, wait struct_id = 11011
    2011-09-25 15:54:45, 615 ERROR Thread-2985282416: (nmecmgr.c, 3230): Memory 0x0 met, wait struct_id = 11011
    2011-09-25 15:54:45, 619 ERROR Thread-2985282416: (nmecmgr.c, 3230): Memory 0x0 met, wait struct_id = 11011
    2011-09-25 15:54:45, 622 ERROR Thread-2985282416: (nmecmgr.c, 3230): Memory 0x0 met, wait struct_id = 11011
    2011-09-25 15:54:45, 644 ERROR Thread-2985282416: (nmecmgr.c, 3230): Memory 0x0 met, wait struct_id = 11011
    2011-09-25 15:54:45, 645 ERROR Thread-2985282416: (nmecmgr.c, 3230): Memory 0x0 met, wait struct_id = 11011
    2011-09-25 15:54:45, 647 ERROR Thread-2985282416: (nmecmgr.c, 3230): Memory 0x0 met, wait struct_id = 11011
    2011-09-25 15:54:45, 749 ERROR Thread-2985282416: (nmecmgr.c, 3230): Memory 0x0 met, wait struct_id = 11011
    2011-09-25 15:54:45, 778 ERROR Thread-2985282416: (nmecmgr.c, 3230): Memory 0x0 met, wait struct_id = 11011
    2011-09-25 15:54:45, 923 ERROR Thread-2985282416: (nmecmgr.c, 3230): Memory 0x0 met, wait struct_id = 11011
    2011-09-25 15:54:46, 012 ERROR Thread-2985282416: (nmecmgr.c, 3230): Memory 0x0 met, wait struct_id = 11011
    2011-09-25 15:54:46, 030 wire-2985282416 ERROR: (nmecmgr.c, 3230): Memory 0x0 met, wait struct_id = 11011
    2011-09-25 15:54:46, 102 ERROR Thread-2985282416: (nmecmgr.c, 3230): Memory 0x0 met, wait struct_id = 11011
    2011-09-25 15:54:46, 109 ERROR Thread-2985282416: (nmecmgr.c, 3230): Memory 0x0 met, wait struct_id = 11011
    2011-09-25 15:54:46, 117 ERROR Thread-2985282416: (nmecmgr.c, 3230): Memory 0x0 met, wait struct_id = 11011
    2011-09-25 15:54:46, 517 ERROR Thread-2985282416: (nmecmgr.c, 3230): Memory 0x0 met, wait struct_id = 11011
    2011-09-25 15:54:46, 529 ERROR Thread-2985282416: (nmecmgr.c, 3230): Memory 0x0 met, wait struct_id = 11011
    2011-09-25 15:54:46, 536 ERROR Thread-2985282416: (nmecmgr.c, 3230): Memory 0x0 met, wait struct_id = 11011
    2011-09-25 15:54:46, 755 ERROR Thread-2985282416: (nmecmgr.c, 3230): Memory 0x0 met, wait struct_id = 11011
    2011-09-25 15:54:46, 761 ERROR Thread-2985282416: (nmecmgr.c, 3230): Memory 0x0 met, wait struct_id = 11011
    2011-09-25 15:54:46, 946 ERROR Thread-2985282416: (nmecmgr.c, 3230): Memory 0x0 met, wait struct_id = 11011
    2011-09-25 15:54:47, 488 ERROR Thread-2985282416: (nmecmgr.c, 3230): Memory 0x0 met, wait struct_id = 11011
    2011-09-25 15:54:47, 531 ERROR Thread-2985282416: (nmecmgr.c, 3230): Memory 0x0 met, wait struct_id = 11011
    2011-09-25 15:54:48, 050 ERROR Thread-2985282416: (nmecmgr.c, 3230): Memory 0x0 met, wait struct_id = 11011
    2011-09-25 15:54:48, 276 ERROR Thread-2985282416: (nmecmgr.c, 3230): Memory 0x0 met, wait struct_id = 11011
    2011-09-25 15:54:48, wire-3035982288 WARN 585 collector: the first_message_age of name of column in this condition does not exist in metric aq_msgs_persistentq_per_subscriber
    2011-09-25 15:54:48, wire-3035982288 WARN 588 collector: the first_message_age of name of column in this condition does not exist in metric aq_msgs_persistentq_per_subscriber
    2011-09-25 15:54:49, collector of wire-3035982288 WARN 055: the first_message_age of name of column in this condition does not exist in metric aq_msgs_persistentq_per_subscriber
    2011-09-25 15:54:49, 116 WARN Thread-3006253936 http: nmehl_connect_internal: connection failed (localhost.localdomain:1158): Connection refused (error = 111)
    2011-09-25 15:54:49, 116 ERROR Thread-3006253936 pingManager: nmepm_pingReposURL: unable to connect to https://localhost.localdomain:1158/em/upload /: retStatus =-1
    2011-09-25 15:54:49, 118 WARN Thread-3006253936 http: nmehl_connect_internal: connection failed (localhost.localdomain:1158): Connection refused (error = 111)
    2011-09-25 15:54:49, 118 ERROR Thread-3006253936 pingManager: nmepm_pingReposURL: unable to connect to https://localhost.localdomain:1158/em/upload /: retStatus =-1
    2011-09-25 15:54:49, 422 WARN Thread-3020942192 http: nmehl_connect_internal: connection failed (localhost.localdomain:1158): Connection refused (error = 111)
    2011-09-25 15:54:49, 422 command ERROR Thread-3020942192: nmejcn: failed to connect to https://localhost.localdomain:1158/em/upload http /: retStatus =-1
    2011-09-25 15:54:51, 402 recvlets.aq wire-2985282416 to WARN: no matches recorded type of alert for instance_efficiency.pxdwngrd_ps
    2011-09-25 15:54:51, 403 recvlets.aq wire-2985282416 to WARN: no matches recorded type of alert for instance_efficiency.pxdwngrdserial_pt
    2011-09-25 15:54:51, 407 recvlets.aq wire-2985282416 to WARN: no matches recorded type of alert for wait_bottlenecks.userio_wait_cnt
    2011-09-25 15:54:51, 407 recvlets.aq wire-2985282416 to WARN: no matches recorded type of alert for wait_bottlenecks.other_wait_cnt
    2011-09-25 15:54:51, 422 WARN Thread-3020942192 http: nmehl_connect_internal: connection failed (localhost.localdomain:1158): Connection refused (error = 111)
    2011-09-25 15:54:51, 422 command ERROR Thread-3020942192: nmejcn: failed to connect to https://localhost.localdomain:1158/em/upload http /: retStatus =-1


    and this came from emdctl.trc


    2011-09-25 14:45:09, 618 WARN Thread-3034875584 http: nmehl_connect_internal: connection failed (localhost.localdomain:3938): Connection refused (error = 111)
    2011-09-25 14:45:09, 618 hand wire-3034875584 ERROR: nmectla_agentctl: error connecting to the http://localhost.localdomain:3938/emd/main. Returns the code of State 1
    2011-09-25 14:45:34, 914 WARN Thread-3036341952 http: nmehl_connect_internal: connection failed (localhost.localdomain:1158): Connection refused (error = 111)
    2011-09-25 14:45:36, 936 WARN Thread-3035838144 http: nmehl_connect_internal: connection failed (localhost.localdomain:1158): Connection refused (error = 111)
    2011-09-25 14:45:38, 957 WARN Thread-3034412736 http: nmehl_connect_internal: connection failed (localhost.localdomain:1158): Connection refused (error = 111)
    2011-09-25 15:54:45, 485 WARN Thread-3034401232 http: nmehl_connect_internal: connection failed (localhost.localdomain:1158): Connection refused (error = 111)
    2011-09-25 15:54:47, 531 WARN Thread-3035138512 http: nmehl_connect_internal: connection failed (localhost.localdomain:1158): Connection refused (error = 111)
    2011-09-25 15:54:49, 552 WARN Thread-3034442192 http: nmehl_connect_internal: connection failed (localhost.localdomain:1158): Connection refused (error = 111)
    2011-09-25 15:54:51, 574 WARN Thread-3034712528 http: nmehl_connect_internal: connection failed (localhost.localdomain:1158): Connection refused (error = 111)

    When I try to navigate to localhost:1158 / em the browser will not display anything, but wonder if I want to save a file named (em)

    https://localhost:1158 / em

  • The Web Cache instance is out of service every hour

    Hello
    I have 11.1.0.1 on Solaris 10 SPARC EM grid control. All the patches in the applied SGD.
    I have problem with monitoring application 10.1.0.1 on Solaris 10 x 86 Server. Agent 11.1.0.1.
    emagent.TRC:
    2011-01-11 10:27:57, 745 ERROR Thread-440 engine: [Cache oracle_webcache, reports.sun - rep_Web, ESI_HIST]: nmeegd_GetMetricData failed: java.lang.NullPointerException
    2011-01-11 10:27:57, collector of Thread - 440 WARN 745: < nmecmc.c > output error. Error: java.lang.NullPointerException

    I get alerts every hour with "the Web Cache instance is down".
    Help, please.

    If the agent gets really restarted several times a day (every hour for example) which is certainly not expected behavior...

    I found this - perhaps it helps:
    (you should check your mentioned errors log files)

    The 11g EM Agent restarts at frequent intervals with the following entries in the /sysman/log/emagent.nohup file of

    emagent started successfully
    URLTiming: Using SunX509
    Exception in thread "oracle.dms.collector.GatherThread@15000".
    java.util.ConcurrentModificationException
    to java.util.HashMap$ HashIterator.nextEntry (HashMap.java:793)
    to java.util.HashMap$ EntryIterator.next (HashMap.java:834)
    to java.util.HashMap$ EntryIterator.next (HashMap.java:832)
    at oracle.dms.collector.Gatherer.cleanup(Gatherer.java:235)
    at oracle.dms.collector.GatherThread.run(GatherThread.java:85)
    -Recycling process. VMSize is 6385.46875 MB increased 6327.09375 MB
    past 3 -.
    -Thu Jul 15 02:14:08 2010::Received asks to restart EMAgent: 12200
    -----
    -Thu Jul 15 02:14:08 2010::Stopping EMAgent: 12200 -.
    (pid = 12200): emagent now go out normally

    The new start above occurs when the virtual memory consumed by the Agent have crossed the line and that's why he is automatically restarted by the daemon process.

    -The /sysman/log/emagent_fetchlet.trc also shows a lot of errors related to the JNIFetchlet:

    [nmefmgr_getJNIFetchlet] Warn emd.fetchlets getMetric.387 - oracle.sysman.emSDK.emd.fetchlet.FetchletException:
    oracle.sysman.emSDK.emd.fetchlet.FetchletException: java.io.IOException:
    Cannot connect to any host
    oracle.sysman.emSDK.emd.fetchlet.FetchletException:
    oracle.sysman.emSDK.emd.fetchlet.FetchletException: java.io.IOException:
    Cannot connect to any host
    to
    ..............
    [nmefmgr_getJNIFetchlet] WARN JMX.generic logp.251 - IOException: can not connect to the target with
    serviceURL=service:jmx:t3s://agentmachine.domain:7101/jndi/weblogic.management.mbeanservers.runtime for weblogic_j2eeserver:server metric:
    Unable to connect to any host Cause: javax.naming.NamingException: unable to connect to any host [root exception is org.omg.CORBA.COMM_FAILURE: vmcid:]
    [Minor SUN code: 203 out: No.]

    -Historical data for the "use of memory resident (%) 'or' memory use virtual growth (%) ' parameters for this Agent show large memory
    use over the period, when the Agent has increased.
    These details are accessible from the configuration of Console grid-> Agents-> click on the name of the Agent-> click on 'All settings'-> Expand ' Agent process
    Statistics-> click on the "use of memory resident (%) 'or' memory use virtual growth (%) '.

    Cause
    This issue has been studied in the Bug 9829732: AREA of SGD AGENT 11.1.0.1 RUNNING ON CONSUMED the UPPER MEMORY

    Using pmap to check the memory usage:

    $ ps - ef | grep agent11g
    PMAP $

    Returns a result as below:

    ....
    00002aaab32e0000 rwx 21248-[anon]
    00002aaab47a0000 rwx 64768-[anon]
    00002aaab86e0000 125632 rwx-[anon]
    00002aaac0190000 1884160 rwx-[anon]
    00002aab33190000 rwx 62784-[anon]
    00002aab36ee0000 942080 rwx-[anon]
    .....

    It was found that the majority of virtual memory has been consumed by these [anon] blocks.

    It was found that the memory of Java used by the Agent when using JNI calls must be tuned. This may be necessary when the large number of "java" such as Weblogic servers targets is monitored by the Agent.

Maybe you are looking for