HP UX Matrix Operating EnvIronment manual Constructing regular expressions

Page 29

Constructing regular expressions:

Application Discovery recognizes regular expressions constructed using Perl 5 or POSIX syntax and semantics. To learn more, consult PCRE - Perl Compatible Regular Expressions at http:// www.pcre.org/.

NOTE:

Application Discovery (AD) interprets executable path strings differently than HP Insight Global Workload Manager software for Integrity (gWLM).

Application Discovery looks at a process from the perspective of how it is named when it is running. Therefore, to successfully construct an application that Application Discovery recognizes, you must provide attributes (data strings) that describe the running process.

Also, when defining an application, keep in mind that Application Discovery looks across your entire network for likely matches, and not just on one particular managed node.

It might help to think of the difference between AD and gWLM this way:

In AD, an executable and arg[0] are compared directly to one another to make a match.

In gWLM, the inode of an executable and the inode of arg[0] are compared to one another to make a match.

The following examples demonstrate the different results that you can expect when using the same executable and arguments in Application Discovery as compared to HP Insight Global Workload Manager software for Integrity (gWLM).

Table 3-3 An example comparison of match behavior in AD and gWLM for same executable path and arguments

Example inputs

AD

gWLM

Executable

Process arg[0]

 

 

 

/usr/sbin/biod

match

match

/usr/sbin/biod

biod

no match

match

 

./biod

no match

match

 

/usr/sbin/biod

match

not allowed

biod

biod

match

not allowed

 

./biod

match

not allowed

Managing application templates 29

Image 29
Contents Application Discovery 6.2 User Guide For managed nodes Table of Contents Support and other resources Configuring the Wbem provider password Glossary Index List of Figures Application visibility selector Sort indicatorPossible values for agent state List of TablesPage Introduction Features of Application DiscoveryPage Application Discovery components Components and conceptsHow discovery works Refining Application DiscoveryUnderstand your current discovery state Discovery ratioWarm-up ratio Refine discovery by checking agent stateRefine discovery by creating application templates Understanding application templatesHow memory usage is calculated Key to the graphic is as follows Understanding server resource consumptionPage Using HP SIM to start the agent Procedures and examplesStarting the agent from the command line Starting Application DiscoveryUsing HP SIM to stop the AD agent Reconfigure a running agent from the command lineStopping the agent from the command line Checking agent stateWorking with data views Adjusting the user interfaceExplanation of agent states Set screen data refresh intervalSet number of table rows Set general visibilitySet color theme Filter data in view tables Change the data viewSort data in view tables Navigate between views Other controls available from right-clicking on a view tableSet visibility for matched applications Set visibility for hosts on Application Discovery screensSetting data polling interval Setting event attributesIntroduction to event settings in Application Discovery Modifying the maximum size of an event listSetting alert location Setting event severityChange application template values Managing application templatesFind an application template Create a new template Key to application template values Constructing regular expressions Application identity Session Separation rule fields and their descriptionsCreate a process aggregation rule Create an application template ruleAggregation rule fields and their descriptions Managing application templates Example of a nested template aggregation rule Managing application templates Understanding the tables that show unmatched processes How to remove types from the aggregation ruleCheck unmatched processes to find application candidates Filling in the template separation rule fields Filling in the system scope fields using table dataFilling in the aggregation rule fields using table data Prerequisites Create an application workload in Virtualization ManagerCreate Monitored Workload Definition screen reopens Backing up Application Discovery filesPage Errors in installation TroubleshootingApplications not visible in Application Discovery screens Data missing in Application Discovery screensData missing in Application Discovery screens Host not visible in Application Discovery screens Check that SSH is configured correctly on the managed node# cd /.ssh /* rootuserhomedirectory/.ssh Packages not visible in Application Discovery screens Application Discovery may not be correctly configuredCheck that the host is known to Application Discovery Check that the Application Discovery agent is running UI Unable to connect to servermessages Errors in Application Discovery user interface operationJava UI exception message displays To list the AD agent package installed on the machine, then Page Contacting HP Support and other resourcesRelated information Application Discovery resourcesPage Page Options Amgrd= Logtrace InstallationAuthors Agentconfig Check agent state Event types Key to event attributesEvent viewing locations Event severity typesAdditional event types specific to Application Discovery Table C-1 Error messages seen when trying to log Error messagesPage Completing certificate exchange from the command line Using HP SIM to complete certificate exchangeCompleting certificate exchange IntroductionCompleting certificate exchange Credentials Configuring the Wbem provider passwordPage Agent GlossaryManaged SSL Wbem Index Admin/Config tabClear filter menu pick Group option Defining an application template rule AD Agents, 13