Oracle Email Administrator's Guide Release 9.0.3 Part Number B10033-01 |
|
| View PDF |
This chapter contains general instructions on how to use the command-line interface. It also contains an entry for each command available in the command-line interface. Each command is followed by a brief description of its purpose. In addition, the proper syntax, keywords, and command parameters are provided.
This chapter contains the following topics:
The oesctl
command enables an Oracle Email administrator to perform some configuration and control operations on Oracle Email services.
This command is used from within a command shell, such as /bin/csh
on Unix systems, and provides a subset of the functionality available on Oracle Enterprise Manager pages for Oracle Email. For example, oesctl
can be used by an administrator to start an Oracle Email IMAP4 server, but it cannot be used to modify IMAP service parameters.
Without arguments, oesctl
prints out the following usage information:
% oesctl oesctl [ [<command>] [<target>|<instance>] ]
Where commands can be any of the following:
The syntax of <target>
is <host>:<installation>:<service>
<host>
is the host name of the computer on which server processes run
<installation>
is always um_system
for the this release
<service>
is one of the following: gc,
list,
smtp_in,
smtp_out,
imap, pop
The syntax of <instance>
is <target>:<instance_id>
The meaning of the different service names are:
<instance_id>
is a number assigned to an instance when it is created. These numbers are selected automatically at instance creation time. Instance numbers cannot be configured by administrators.
The following examples are executed from a command shell running on a host named mail server.
The configuration operations query or update the current configuration.
The query operations are:
% oesctl show targets % oesctl show processes <target> % oesctl create instance <target> % oesctl delete instance <target>
% oesctl show targets TARGET: mailserver:um_system:gc TARGET: mailserver:um_system:imap TARGET: mailserver:um_system:list TARGET: mailserver:um_system:pop TARGET: mailserver:um_system:smtp_in TARGET: mailserver:um_system:smtp_out
In the following examples, there is one process instance configured for the IMAP service running on the host mail server, and there are no process instances for the POP service. A service must have at least one process instance before it can be started. From the above example we know that the POP service cannot be started on the host mail server.
% oesctl show processes mailserver:um_system:imap mailserver:um_system:imap:101771055406040653 % oesctl show processes mailserver:um_system:pop No processes for mailserver:um_system:pop
% oesctl show processes mailserver:um_system:gc No processes for mailserver:um_system:gc % oesctl create instance mailserver:um_system:gc Succesfully created a new instance for a total of: 1 % oesctl show processes mailserver:um_system:gc mailserver:um_system:gc:101778964029981136
The list of process instances for the target mailserver:um_system:gc
was checked prior to instance creation, and it was empty. The create command was used to create a new process instance for the target, after which the process instance list was checked again and found to contain the new instance.
% oesctl show processes mailserver:um_system:gc mailserver:um_system:gc:101778964029981136 % oesctl delete instance mailserver:um_system:gc Succesfully deleted an instance for a total of: 0 % oesctl show processes mailserver:um_system:gc No processes for mailserver:um_system:gc
The list of process instances for the target mail server: um_sytem
: gc
was checked prior to instance deletion. The delete command was used to delete the process instance found, after which the process instance list was checked again and found to contain no processes.
The control operations display or alter the operational state of targets and instances.
The control operations are:
% oesctl show status <target> % oesctl startup <target> % oesctl startup <instance> % oesctl shutdown <target> % oesctl shutdown <instance> % oesctl refresh <target> % oesctl refresh <instance>
Starting and Stopping a Target
% oesctl show processes mailserver:um_system:gc mailserver:um_system:gc:101779027179112257 mailserver:um_system:gc:101779029537864556 % oesctl show status mailserver:um_system:gc mailserver:um_system:gc:101779027179112257 <stopped> mailserver:um_system:gc:101779029537864556 <stopped> % oesctl startup mailserver:um_system:gc ok ok % oesctl show status mailserver:um_system:gc mailserver:um_system:gc:101779027179112257 is alive. Message from console: null mailserver:um_system:gc:101779029537864556 is alive. Message from console: null % oesctl shutdown mailserver:um_system:gc mailserver:um_system:gc:101779027179112257 Housekeeper is terminated. Message from console: null mailserver:um_system:gc:101779029537864556 Housekeeper is terminated. Message from console: null % oesctl shutdown mailserver:um_system:gc No processes configured to be running for mailserver:um_system:gc
If oesctl
is used to start a target, each configured process instance is started.
% oesctl startup mailserver:um_system:gc:101779027179112257 ok % oesctl show status mailserver:um_system:gc mailserver:um_system:gc:101779027179112257 is alive. Message from console: null mailserver:um_system:gc:101779029537864556 <stopped> % oesctl shutdown mailserver:um_system:gc:101779027179112257 ok:Housekeeper is terminated. Message from console: null
In some situations administrators may want to start or stop only a particular process instances. In this case, oesctl
startup
<instance>
and oesctl
shutdown
<instance>
are used.
% oesctl refresh mailserver:um_system:gc:101779027179112257 ok:is refreshed. Message from console: null % oesctl refresh mailserver:um_system:gc mailserver:um_system:gc:101779027179112257 is refreshed. Message from console: null mailserver:um_system:gc:101779029537864556 is refreshed. Message from console: null
Refreshing a process instance sends the instance a message to reload its process parameters from Oracle Internet Directory.
Refreshing a service target refreshes each started process instance.
The refresh functionality can be used to change a process parameter and have the change take effect without having to stop and restart running processes. For example, IMAP service log level can be changed in Oracle Internet Directory and refreshed without disconnecting any users that are currently connected to the IMAP service. Executing a shut down followed by a startup changes the logging behavior, and temporarily disconnect users.
The oesmon
command enables customers to obtain raw metric data from the Oracle Email server processes. The output of the oesmon
command uses ASCII characters.
A metric is a string or a number. Every metric is associated with a managed object. Managed objects are associated with other managed objects in a parent-child relationship, forming a hierarchical tree structure of managed objects and metrics. The metrics are always leaves of the tree.
A numeric metric is a gauge or a counter. A gauge measures the current amount of an object and is characterized by a value going up and down. A counter measures an accumulated value and is characterized by the value remaining the same or becoming larger. If the value of a counter goes past the maximum supported number, the value wraps around to 0.
The integer values tracked by numeric metrics measure quantities in some unit of measure. The unit of measure for a given metric is not maintained internally and is not printed out by the oesmon
command. Instead, the units are defined by the server-specific product documentation.
See Also:
Appendix A, "Server Statistics" for more information on server-specific statistics |
All metrics and all managed objects have names that are case-sensitive and contain only alphanumeric characters, including the underscore character. A name cannot contain spaces or dot characters. The full name of object O is formed by connecting all the names along the path from the tree root to O. In this case, O may be a metric or a managed object.
For example:
.MTA
is the full name of a managed object named MTA. It is at located directly under the root of the tree.
.MTA.connections
is the full name of a managed object named connections that is a child of the MTA object.
.MTA.connections.out.current
is the full name of a numeric metric that tracks the number of currently active outbound SMTP connections.
.MTA.connections.out.total
is the full name of a metric that tracks the number of outbound SMTP connections created since startup.
Running oesmon
without any arguments, it shows the command type:
Shows all possible service targets that can be polled with oesmon:
% oesmon targets TARGET: mailserver:um_system:gc TARGET: mailserver:um_system:imap TARGET: mailserver:um_system:list TARGET: mailserver:um_system:pop TARGET: mailserver:um_system:smtp_in TARGET: mailserver:um_system:smtp_out
This command queries each process instance for the metric names it currently has defined.
% oesmon names mailserver:um_system:smtp_in .DUMP.OIDStatus.Connection .DUMP.Threads.dump .ES_SPS.socket.currload .ES_SPS.socket.sockmax .ES_SPS.thread.currthreads .ES_SPS.thread.thrmax .MTA.uptime .MTA.connections.in.current .MTA.connections.in.total .MTA.msgs.deferred.current .MTA.msgs.deferred.total .MTA.receive.kbytes .MTA.receive.messages .MTA.receive.recipients .MTA.receive.time .MTA.transmit.bytes .MTA.transmit.bytes_local .MTA.transmit.messages .MTA.transmit.messages_local .MTA.transmit.recipients .MTA.transmit.recipients_local .um.admin.os_pid .um.admin.uptime
The oesmon
names
mailserver:um_system:imap
command contacts each process instance that belongs to the service mailserver:um_system:imap
and determines which metrics are currently defined for the process.
Many metrics are defined as soon as the process starts up, but some are created dynamically during operation, and are not available at all times. Therefore, the output from using the oesmon names
command does not always give the same list of metric names. For example, an IMAP server process does not have any metrics available about particular user until that user logs in at least one time.
oesmon get mailserver:um_system:smtp_in.MTA.connections.in.total
This command queries each SMTP in-bound process to find out how many connections it has accepted.
% oesmon get mailserver:um_system:smtp_in .MTA.connections.in.total .MTA.connections.in.total = 352 .MTA.connections.in.total = 0
The output can determine that the smpt_in service
for mailserver:
um_system
has two process instances configured and running. The first process has received 352 connections and the second has not received any.
The metric given to the command was the complete name of a single metric. It is possible to retrieve values for all metrics associated with a managed object, as is shown in the following example.
This command queries in-bound SMTP processes to find out transmission metrics.
% oesmon get mailserver:um_system:smtp_in .MTA.transmit .MTA.transmit.bytes = 3282806 .MTA.transmit.bytes_local = 3282806 .MTA.transmit.messages = 330 .MTA.transmit.messages_local = 330 .MTA.transmit.recipients = 698 .MTA.transmit.recipients_local = 698 .MTA.transmit: metric not found
The name.MTA.transmit
is the name of a managed object, not a metric. In this case, oesmon returns all metrics and children managed objects associated with.MTA.transmit
.
The output can determine that the smpt_in service
for mail server: um_system
has two process instances configured and running. The first process has transmitted a number of e-mail messages, and the second process has not transmitted any.
The oesmon
command returns error results if a metric cannot be found or if a process instance cannot be contacted.
Example of output for undefined metric:
% oesmon get mailserver:um_system:smtp_in .nosuchmetric .nosuchmetric: metric not found
Example of output for process that does not respond:
% oesmon get mailserver:um_system:smtp_in .MTA.connections.in.total <no response>
The oesucr
command does the following:
OESUCR
takes a file as an input. For user creation, the file should contain a list of records, separated by an empty line. Each record contains information above a user to be created. Each line in a record is a name-value pair for an attribute for the e-mail user in the directory. Each record must have at least three mandatory attributes
For user deletion, the file should contain one line listing all the users to be deleted, separated by a comma.
This command only creates and deletes e-mail users, not corresponding public users. For user creation, the public users must exist prior to creating the corresponding e-mail users. For user deletion, after running the tool, the users are no longer valid e-mail users, but they are still users in the directory.
% oesucr <file> [-v] [-d]
<file>
is the path to the file containing the user records of the users to be created or the list of users to be deleted.
The -v
flag prints out debug messages. The -d
flag deletes users. -v
and -d
can be used together.
oesucr <filename> -change
<filename>
is a text file with the following format:
<old email address1>=<new email address1>
For example:
user1@us.oracle.com=newuser1@us.oracle.com
After running the command, user1@acme.com
becomes newuser1@acme.com
.
esucr <filename> -encoding=UTF-8
The file is read as UTF-8. The file must be saved in the corresponding encoding.
The example file user_file
contains the following records:
mail=testuser1@us.oracle.com orclmailquota=400000000 baseuserdn=cn=testuser1,cn=users,o=oracle,dc=com mail=testuser2@us.oracle.com orclmailquota=400000000 baseuserdn=cn=testuser2,cn=users,o=oracle,dc=com
Running the %
oesucr user_file
creates two e-mail users called testuser1
and testuser2
. Each record in the file contains only the three mandatory attributes.
For a file user_file
containing the following records:
mail=testuser1@us.oracle.com orclmailquota=400000000 userpassword=welcome orclMailDomainControlAci=domain mail=testuser2@us.oracle.com orclmailquota=400000000 baseuserdn=cn=testuser2,cn=users,o=oracle,dc=com
Running %
oesucr user_file
creates two-e-mail users called testuser1
and testuser2
. The role of the first user is set to domain administrator.
The example file user_file
contains the following line:
mail=testuser1@us.oracle.com,testuser2@oracle.com,testuser3@oracle.com
Running %
oesucr
user_file
-d
deletes the e-mail users: testuser1@us.oracle.com
, testuser2@oracle.com
, and testuser3@oracle.com
.
The following is an example of how to create a user through command line, with out creating a new file. Only one user can be created at a time:
oesucr -cmd mail=user1@acme.com baseuserdn=cn=user1,cn=users,dc=us,dc=acme,dc=com orclmailquota=400000000 <other optional attributes>
All parameters are separated by a space and have the same names as those used in the file. All mandatory attributes must be specified, and can take any valid optional attributes.
The following is an example of how to specify a real domain for users:
mail=user1@company1.com realdomain=acme.com baseuserdn=...... orclmailquota=......
The e-mail address of the user becomes user1@company1.com.
However, in Oracle Internet Directory, company1.com
may not exist, because the user is created under acme.com
OESDL
is the command line tool for adding users to and removing users from distribution lists.
The oesdl
tool takes a file as an input. The file should contain a list of records, separated by an empty line. Each record contains information to manipulate one distribution list. Each record must have the name of the list and a list of users.
For adding users to a list, the user type must be indicated. A regular user , a distribution list, an alias, or a foreign user to a distribution list can be added.
When adding users to a list, you can create the list at the same time if it does not exist. To create a new list, the owner must be specified.
% oesdl <file> [-v]
<file>
is the path to [-v]
the file containing the list records.
The -v
flag prints out debug messages.
The example file list_file
contain the following records:
listname=list1@oracle.com action=add newlist=n usertype=U users=user1@oracle.com,user2@oracle.com,user3@oracle.com listname=list2@oracle.com action=add newlist=n usertype=L users=list1@oracle.com
Running %
oesdl list_file
adds user1
, user2
, and user3
to list1@oracle.com
, list1
must already exist. It also adds list1@oracle.com
to another list called list2@oracle.com
.
The usertype
can be one of the following:
The example file list_file
contains the following records:
listname=list1@oracle.com action=add newlist=y owner=user1@oracle.com usertype=U users=user1@oracle.com,user3@oracle.com
Running %
oesdl list_file
, creates a new list called list1@oracle.com
, set its owner to user1@oracle.com
, and then adds users: user1@oracle.com
, and user3@oracle.com
to the new list.
The example file user_file
contains the following lines:
listname=list1@oracle.com action=delete usertype=U users=user1@oracle.com,user2@oracle.com listname=list2@oracle.com action=add newlist=y owner=user1@oracle.com usertype=U users=user1@oracle.com,user2@oracle.com
Running %
oesdl list_file
removes user1
and user2
from list1@oracle.com
. It then creates a new list called list2
, sets the owner user1@oracle.com
, and then add user1
, and user2
to the new list list2@oracle.com
.
The oesrl
command enables administrators to create and manage server side rules from a command line.
oesrl
can create server side rules specified in a text file or list server side rules to the standard output. When creating rules, two formats of text file are accepted, the Java properties file format and the XML format. When listing rules, only the XML format is listed.
% oesrl
Usage:oesrl [-c <file> | -x <file> | -p <ruleowner>]
-c <file>
: create rules based on property <file>
.
-x <file>
: creates rules based on XML <file>.
-p <ruleowner>
: prints <ruleowner> rules in XML.
Property files are text files with name-value pairs. Names can be organized hierarchically and separated by periods. The following are the top-level property names used in the file:
acme.com
. If the rules are system wide, the rule owner is the system installation name stored in Oracle Internet Directory. One file can contain only rule owner.oesrl
utility prints out debugging messages. This property is optional.event1
. The events are:
Under each event, one can define unlimited number of rules using property name <eventname>.rule#
, where <eventname>
is one of the six events and #
is a sequence number starting from 1. For example, the property deliver.rule1
defines the name of the first rule under the deliver event. All attributes of this rule can be further defined under the prefix deliver.rule1
.
Under each rule, one can define actions and their parameters. Often times rules come with conditions that need to be defined. The following is a list of property names corresponding to each rule attribute:
<eventname>.rule#.action#
: the sequence of actions that can be defined under <eventname>.rule#
.
The choices of values are listed in Oracle Email Java API documentation under Java class CommandType
.
<eventname>.rule#.action#.param#
: the parameter sequence needed for the action <eventname>.rule#.action#
.<eventname>.rule#.active
: an optional property that can be set to true or false indicating whether <eventname>.rule# is active.<eventname>.rule#.attr#, <eventname>.rule#.op#, <eventname>.rule#.operand#
: together they represent a condition associated with the rule <eventname>.rule#
as long the same sequence number is used.
The choices of values for <eventname>.rule#.attr#
are listed in Oracle Email Java API documentation under Java class AttributeType
. The choices of values for <eventname>.rule#.op# are listed in Oracle Email Java API documentation under Java class OperatorType
.
<eventname>.rule#.negate#
: an optional property value that can be set to true or false, indicating whether the condition number should be negated<eventname>.rule#.param#
: in case when <eventname>.rule#.attr#
requires a parameter (such as xheader), use this property to specify the parameter value.<eventname>.rule#.case#
: an optional property value that can be set to true or false, indicating whether <eventname>.rule#.op#
is case sensitive .<eventname>.rule#.cond
: if multiple conditions are needed, use this property to specify whether and or or should be used to combine the conditions.
Oracle Corporation recommends listing rule properties in order, so that readability of the property file is maximized. When running the oesrl
utility, listing rule properties in order is not required.
XML is used as the storage format of server side rules. An XML rule representation can be created directly and oesrl
can be used to load the rules into the system. The XML file specified needs to a valid XML file according to the rules XML schema. To obtain the XML schema for rules, extract the schema file oracle/mail/sdk/rule/mail_rule.xsd
from the Java SDK
library esmail_sdk.jar
under $ORACLE_HOME/jlib
.
This example demonstrates how to use property files to specify rules for a user, and how to use the oesrl
utility to save the rules.
% cat > rules.properties ruleowner=user1@oracle.com ruletype=user event1=deliver deliver.rule1=Moving private messages deliver.rule1.cond=or deliver.rule1.attr1=rfc822to deliver.rule1.op1=contains deliver.rule1.operand1=user1@oracle.com deliver.rule1.attr2=rfc822cc deliver.rule1.op2=contains deliver.rule1.operand2=user1@oracle.com deliver.rule1.action1=moveto deliver.rule1.action1.param1=/user1/Private ^D % oesrl -c rules.properties
This example demonstrates how to use XML files to specify rules for a user, and how to use the oesrl
utility to save the rules.
% cat > rules.xml <account qualifiedName=user1@oracle.com> <rulelist event=deliver> <rule description=Moving private messages> <condition junction=or> <condition> <attribute tag=rfc822to/> <operator op=contains/> <operand>user1@oracle.com</operand> </condition> <condition> <attribute tag=rfc822cc/> <operator op=contains/> <operand>user1@oracle.com</operand> </condition> </condition> <action> <command tag=moveto/> <parameter>/user1/Private</parameter> </action> </rule> </rulelist> </account> ^D % oesrl -x rules.xml
This example demonstrates how to use list rules for a user in XML format.
% oesrl -p user1@oracle.com <account qualifiedName=user1@oracle.com> <rulelist event=deliver> <rule description=Moving private messages> <condition junction=or> <condition> <attribute tag=rfc822to/> <operator op=contains/> <operand>user1@oracle.com</operand> </condition> <condition> <attribute tag=rfc822cc/> <operator op=contains/> <operand>user1@oracle.com</operand> </condition> </condition> <action> <command tag=moveto/> <parameter>/user1/Private</parameter> </action> </rule> </rulelist> </account>
OESCHART
is a charting utility that enables administrators to create graphs illustrating the system's current load and performance. Upon invocation it reads the values necessary in the .ini
file to connect to an Oracle database, query the mail statistics tables, and then creates an image file. Other metrics plug into one of the standard display types, such as showing the rate or current values. The images are only created when the program is run, therefore to have dynamically updated charts administrators need to schedule periodic invocations of the program, such as with cron
on UNIX systems or WinAT
for Windows or as a DBMS job.
oeschart <property file>
When a mail process starts up and is retrieving runtime attributes from Oracle Internet Directory there is an attribute <attribute name>
that specifies how often the process should place statistics in the repository database.
When the processes startup they initialize a number of counters to zero and update these internal counters every time an associated operation is performed. There is a separate thread which keeps track of these counters and inserts them into the statistics database at the time interval specified in the Oracle Internet Directory. All of the counters held in the e-mail server processes are started up and are not reset. Because the processes keep track only of counters, the memory over head is minimal.
To disable the insertion of statistics, the insert period should be set to zero seconds. For the processing servers, the collection of statistics is a relatively light operation in terms of CPU and memory consumption.
The data is held in a small number of tables, with one view that summerizes the data. Administrators of this component should query the tables directly after a few processes have entered their initial data. OESChart
is only one mechanism of mining this data. For more specific information, administrators should query the schema.
There is no automated clean up functionality. The tables grow until historical folders are deleted or exported . It is important to occasionally monitor the esperftbl
tablespace.
Name | Value | Description |
---|---|---|
process_id |
Number not null |
An internal assigned unique number for each process. |
process_dn |
Varchar2 (500) |
The dn of the process in Oracle Internet Directory |
Name | Value | Description |
---|---|---|
metric_id |
Not Null |
An internal assigned unique number for each metric. |
metric_name |
Varchar2 (100) |
The name of the metric. |
metric_type |
Not Null |
Name | Description |
---|---|
|
An internal assigned unique number for each time period that a process inseted int statistics time stamp. |
Date |
The time the data was inserted. |
Name | Value |
---|---|
es_perf_data |
(view) |
process_dn |
Varchar2 (500) |
metric_name |
Varchar2 (100) |
metric_type |
Number not null |
timestamp |
Date |
nvalue |
Number not null |
Svalue |
Varchar2 (1000) |
The oeschart
utility enables four types of graphs to bespecified , three are variations on a xy scatter graph and the fourth is a bar chart illustrating IMAP command statistics.
This charts whatever current value was entered in the database, there is no data manipulation done on the entries. It should be used on metrics such as, .ES_SPS.socket.currload
which is a point in time metric.
This chart calculates the difference between two data points and divides the resulting value by the time differencee, which gives the rate of the transaction. All times are standardized on seconds. The graphed value becomes Y transactions per second, such as in the metric .ESPROTO.transmit.bytes
. And by using the xy_rate graph displays the outgoing number of transmitted bytes per second.
This chart illustrates the total amount of work performed in a given period and shows the cumulative counters for a metric, while taking into account process restarts. This only works on metrics that are cumulative counters. It does take into account additional processes that were added or deleted, and any process restarts.
The .ini
file specifies all the necessary information to create the charts. The following tables describe mandatatory entries and optional values:
The following is an example of the .ini
file that graphs the number of sockets connected to an IMAP server.
server=testdb.us.oracle.com sid=test port=1521 username=es_mail password=es process_dn=test1:um_system:imap: metric_name=.ES_SPS.socket.currload graph_type=xy_current image_file_name=socketcount image_title=Socket count on test1 image_dir=./ number_of_hours=24 encode_type=png show_statistics=true aggregate_time_period=600 debug=false max_lifetime=120
Administrators can schedule graphs illustrating information to be created and placed in their own custom HTML page or in the Oracle Enterprise Manager, such as the number of connected sockets, the response time to log in, and the number of queued outbound messages.
Perform the following steps to display graphics in Oracle Enterprise Manager:
Under the $ORACLE_HOME/emdw/sysman/admin/metadata
directory is a list of target metadata definition files. For a particular target definition, the following elements must be added under the <InstanceProperties>
section:
<!--This property specifies the total number of statistic charts to be displayed --> <InstanceProperty NAME="totalNumberOfStats" CREDENTIAL="FALSE" OPTIONAL="TRUE"> <Display> <Label NLSID="totalnumberofstats">Total Number of Statistics</Label> </Display> </InstanceProperty> <!--This property specifies the header title for the first charting picture --> <InstanceProperty NAME="Title0" CREDENTIAL="FALSE" OPTIONAL="TRUE"> <Display> <Label NLSID="stat0">Statistic Number 0</Label> </Display> </InstanceProperty> <!--This property specifies the tool tips string for the first charting picture, coded to Section 508 standards--> <InstanceProperty NAME="ToolTips0" CREDENTIAL="FALSE" OPTIONAL="TRUE"> <Display> <Label NLSID="tooltips0">This is tooltips 0 for ADA</Label> </Display> </InstanceProperty> <!--This property specifies the relative picture path under the servlet for the first charting pictyre.--> <InstanceProperty NAME="PicPath0" CREDENTIAL="FALSE" OPTIONAL="TRUE"> <Display> <Label NLSID="picpath0">Picture Path 0</Label> </Display> </InstanceProperty> <!--This property specifies the physical path for the first charting picture. The admin code will test if the file exists according to the path below--> <InstanceProperty NAME="PicPhysicalPath0" CREDENTIAL="FALSE" OPTIONAL="TRUE"> <Display> <Label NLSID="picphysicalpath0">Picture Physical Path 0</Label> </Display> </InstanceProperty>
To increase the number of charts displayed, the property value of <totalNumberOfStats>
must to be changed accordingly under the targets.xml
file and the addition picture properties must be defined under the naming standard:
Title[N],
ToolTips[N],
PicPath[N],
PicPhysicalPath[N]
Where N is a non negative natural number.
$ORACLE_HOME/emdw/sysman/emd/targets.xml
:
<Property NAME="totalNumberOfStats" VALUE="1"/> <Property NAME="ToolTips0" VALUE="My First Statistic Tool Tips"/> <Property NAME="PicPhysicalPath0" VALUE="<...>/sysman/webapps/emd/ias/umsg/es/images/pic1.gif"/> <Property NAME="PicPath0" VALUE="/emd/ias/umsg/es/images/pic1.gif"/> <Property NAME="Title0" VALUE="My First Statistic Header"/>
If any of the following situations occur, the charting picture is skipped and not displayed on Oracle Enterprise Manager.
totalNumberOfStats
is missing, zero, or ,not a numberTitle[N]
is missing for the particular chartToolTips[N]
is missing for the particular chartPicPath[N]
is missing for the particular chartPicPhysicalPath[N]
is missing for the particular chartPicPhysicalPath[N]
does not exist.