Tomcat server discovery
Discovery identifies and classifies information about Tomcat server Web applications running on UNIX machines.
Discovery can identify and classify Web applications present in either the CATALINA_BASE directory or the CATALINA_HOME directory.
The classifier that finds Tomcat server processes uses the condition: [Parameters] [contains] [org.apache.catalina.startup.Bootstrap].
Note: For information on Probe to Pattern migration see the knowledge article KB0694477.
Credentials
Configure these credentials:
For a list of privileged commands that you need for Discovery and Service Mapping, see Service Mapping commands requiring a privileged user. This list includes commands that require elevated rights to discover and map Unix-based hosts in your organization.
Classifier, pattern, and probes
| Classifier | Trigger probes | Pattern |
|---|---|---|
| Tomcat | - Horizontal pattern: launches patterns - SSHCommand-Tomcat - Find web.xml List\* - SSHCommand-Tomcat - Get server.xml\* - SSHCommand-Tomcat - Get Version\* | Tomcat |
*Probes inactive on new instances.
To use patterns, verify that the correct pattern is specified in the horizontal pattern probe on the classifier. See Add the Horizontal Pattern probe to a classifier for instructions.
Data collected
Discovery collects the following data on the Tomcat [cmdb_ci_app_server_tomcat] table for both Unix and Windows:
| Label | Field name | Source |
|---|---|---|
| Name | name | server.info |
| Install Directory | install_directory | server.xml |
| Version | version | server.info |
| Server Port | server_port | server.xml |
| Attributes | attributes | server.xml |
The following data is collected on the Tomcat Connector [cmdb_ci_tomcat_connector] table for both Unix and Windows:
| Label | Field name | Source |
|---|---|---|
| Tomcat | tomcat | server.xml |
| Port | port | server.xml |
The following data is collected on the Web Application [cmdb_ci_web_application] table for both Unix and Windows:
| Label | Field name | Source |
|---|---|---|
| Description | description | web.xml |
| Document base | document_base | web.xml |
| App server | app_server | web.xml |
Relationships
| Parent class | Relationship | Child class |
|---|---|---|
| cmdb_ci_app_server_tomcat | Contains::Contained by | cmdb_ci_web_application |
Parent Topic:Software discovery