Tomcat server discovery

Discovery identifies and classifies information about Tomcat servers and 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].

Credentials

Configure these credentials:
Credential type
Applicative credentials
SSH credentials

If you are using Service Mapping, see Service Mapping commands requiring a privileged user for a list of the 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 Service [cmdb_ci_web_service] table for both Unix and Windows:
Label Field name Source
App Server app_server Initial reference
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