opmnctl metric Status Commands

opmnctl Commands 4-23 An attribute name must be specified along with an attribute value. The following attribute names are required by OPMN for this command: ■ target: the value for target can be either log or debug, which refer to the standard.log or the debug.log. The standard log is configured to include all possible log messages by default and it is recommended that users not change its settings. Refer to Appendix B for more information about OPMN troubleshooting. ■ comp: specifies the OPMN internal components and subcomponents

4.3.5.5.1 The

comp Attribute The value for the comp attribute can be either ons or pm. Additionally, the attribute value can be a specific set of sub-components for either the ons or pm attributes. The following values for comp specify the OPMN internal components and subcomponents: ■ internal:specifies the common internal information for OPMN ■ ons:specifies the ONS component information for OPMN ■ pm: specifies the PM component information for OPMN Both the ons and pm components consist of subcomponents which may be specified using the component[subcomponents] syntax where component can be either ons or pm. If both ons and pm are specified together they must be separated by a semicolon in the opmn.xml file. If subcomponents are listed, the listed items must be separated by a comma. Note: Enable usage of the debug.log file only after conferring with Oracle Support. The debug.log file is used by Oracle Support to debug and diagnose OPMN issues. Messages that are contained in the debug.log file are typically not readily comprehensible to the user. Table 4–4 ONS Component Codes ONS element Definition all all subcomponents local local information listener listener information discover discover server or multicast information servers remote servers currently up and connected to the farm topology current farm wide server connection topology server remote server connection information client client connection information connect generic connection information subscribe client subscription information message notification receiving and processing information deliver notification delivery information special special notification processing internal internal resource information 4-24 Oracle Fusion Middleware Oracle Process Manager and Notification Server Administrators Guide Each subcomponent for ons and pm may be prefaced with the negation character,, which deselects the subcomponent. By using all with negated sub-components, specific subcomponents can be easily eliminated from the display. Components and subcomponents are set or negated in the order in which they are encountered. Therefore: ons[all,topology] yields all ons subcomponents excluding topology, while the following: ons[topology,all] yields all ons subcomponents including topology.

4.3.5.6 opmnctl query

Syntax: opmnctl query [attr=value ...] secure SSL operation information workers worker threads Table 4–5 PM Component Codes PM element Definition all all subcomponents requests HTTP user requests remote remote HTTP requests scheduler scheduler thread and resource information monitor monitor thread information workers worker threads process managed processes depend dependency processing rmd RMD directives fos service failover information internal internal resources schedjobs periodic scheduled jobs procjobs for each process scheduled jobs fos service failover processing dms DMS processing modules process module information. Only modules which call the modLog or modDebug for the debug log function yields output. A specific module or list of modules may be specified with modulesmodule-ids. module-ids can be specified with a colon seperated list of module-ids to be displayed: modules module1-id:module2-id. module-ids that do not match a configured and enabled module are not processed. Table 4–4 Cont. ONS Component Codes ONS element Definition