Legacy: JBoss probes and sensors
Summarize
Summary of Legacy: JBoss probes and sensors
This content explains how ServiceNow Discovery identifies and collects configuration data from JBoss application servers running on Linux and Windows systems using legacy probes and sensors. These probes are active on upgraded instances, while new instances use the JBoss pattern for discovery.
Show less
Key Features
- Process Detection: The UNIX - Active Processes (Linux) and Windows - Active Processes probes detect running JBoss server processes by matching the
org.jboss.mainentry point parameter. Upon detection, a record is created in theJBoss Application Server [cmdbciappserverjboss]table. - Web Application Identification: The
JBoss - Find web.xml listprobe searches forweb.xmlfiles within the JBoss installation directory (server\default\deploy), based on the classpath of the running process. For each web application found, it triggers theJBoss - Get web.xmlprobe to read theweb.xmlcontents. - Service Data Collection: The
JBoss - Get web.xmlprobe’s sensor populates detailed information into theWeb Application [cmdbciwebapplication]andWeb Service [cmdbciwebservice]tables. - Configuration File Parsing: The
JBoss - Get jboss-service.xmlprobe uses the classpath parameter to locate thejboss-service.xmlfile in theserver\default\conf\directory. If found, its contents are read by the sensor, which then creates further records in theWeb Service [cmdbciwebservice]table.
Practical Implications for ServiceNow Customers
This discovery process enables ServiceNow customers to automatically identify JBoss application servers running on their Linux or Windows infrastructure and collect detailed configuration data about associated web applications and services. By leveraging these probes and sensors, customers can maintain an accurate and comprehensive CMDB for JBoss environments, facilitating improved asset management and operational insight.
Discovery identifies a Linux JBoss application server using probes and sensors.
Linux
This process describes the use of probes, which are active on your instance if you upgrade. For new instances, Discovery uses the JBoss pattern.
- The UNIX - Active Processes probe detects a running process that matches an org.jboss.main entry point parameter.
- If there’s a match, a record is created in the JBoss Application Server [cmdb_ci_app_server_jboss] table. The following probes are also triggered:
- JBoss - Find web.xml list: The sensor of this probe populates information in the Web Application [cmdb_ci_web_application] table if applicable.
- JBoss - Get jboss-service.xml: The sensor of this probe populates information in the Web Service [cmdb_ci_web_service] table.
- The JBoss - Find web.xml list probe searches for the web.xml files of JBoss application server. The probe uses the classpath parameter in the running process, and then searches in the related server\default\deploy directory for the JBoss installation.
- If associated web applications reside in the server\default\deploy directory, the JBoss - Get web.xml probe triggers for each application. This probe reads the web.xml file for each web application and the sensor populates additional information to the Web Service [cmdb_ci_web_service] table.
- The Boss - Get jboss-service.xml probe uses the classpath parameter in the running process to search for the jboss-service.xml file in the related server\default\conf\ directory for the JBoss installation.
- If the probe successfully finds the jboss-service.xml file in the server\default\conf\ directory, the sensor reads the contents of the XML file. It then creates additional records in the Web Service [cmdb_ci_web_service] table as necessary.
Windows
This process describes the use of probes, which are active on your instance if you upgrade. For new instances, Discovery uses the JBoss pattern.
- The Windows - Active Processes probe detects a running process that matches an org.jboss.main entry point parameter.
- If there’s a match, a record is created in the JBoss Application Server [cmdb_ci_app_server_jboss] table. The following probes are also triggered:
- JBoss - Find web.xml list: The sensor of this probe populates information in the Web Application [cmdb_ci_web_application] table if applicable.
- JBoss - Get jboss-service.xml: The sensor of this probe populates information in the Web Service [cmdb_ci_web_service] table.
- The JBoss - Find web.xml list probe searches for the web.xml files of JBoss application server. The probe uses the classpath parameter in the running process, and then searches in the related server\default\deploy directory for the JBoss installation.
- If associated web applications reside in the server\default\deploy directory, the JBoss - Get web.xml probe triggers for each application. This probe reads the web.xml file for each web application and the sensor populates additional information to the Web Service [cmdb_ci_web_service] table.
- The Boss - Get jboss-service.xml probe uses the classpath parameter in the running process to search for the jboss-service.xml file in the related server\default\conf\ directory for the JBoss installation.
- If the probe successfully finds the jboss-service.xml file in the server\default\conf\ directory, the sensor reads the contents of the XML file. It then creates additional records in the Web Service [cmdb_ci_web_service] table as necessary.