Discovering Tomcat servers

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

Classifiers, patterns, and probes

Discovery uses these classifiers, probes, and patterns for Tomcat discovery:
Classifier Trigger probes Pattern
Tomcat
  • Horizontal discovery probe: launches patterns
  • SSHCommand-Tomcat - Find web.xml List*
  • SSHCommand-Tomcat - Get server.xml*
  • SSHCommand-Tomcat - Get Version*
Tomcat
*Probes inactive on new instances.

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

The following data is collected 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