Expresso Health Check

Expresso Health Check utility provides periodic system and performance tests as means to monitor the various components of a web and/or intranet and to ensure that they remain up and operational at all times. It is designed to be run by a system scheduler.

Version:

Expresso 5.0

Author:

Michael Nash

Expresso Components Listing


Caching Configuration Values Controller Objects
Database Objects DB Connection Pooling Email Connectivity
Event Notification and Error Handling Health Check Job Control
Logging Registration & Login Security
Taglibs Unit Testing Workflow
XML


Introduction

Expresso Health Check utility provides a means to monitor the various components of a web and/or intranet and to ensure that they remain up and operational at all times. It is designed to be run by a system scheduler (cron, ROBOT, NT Scheduler) at short intervals (e.g. once every 30 minutes).

 

 

 

 

Topics

Introduction
Monitors Components
Error Reporting
Tests Performed
Conclusion

Monitors Web Components

Designed to be run on a timer on the server. It checks that:

  1. Web services are running
  2. The database is up
  3. The ORB is operational
  4. The Expresso Framework is running correctly
  5. The ServletRunner is operational
  6. Pilot/PIP is operation (if applicable at site)
  7. Email services are operational.
Tests may be defined which execute a specific URL and measure how long it takes to respond, as well as checking for a specific response. This helps ensure the sytem is operating correctly.

Error Reporting

All except the last item on the above list, give a warning message in email, the last one just gets a big warning on the console & a message in the log. Health Check is an essential utility for large sites when each of these services may be on a different server. 

If any of these checks fails, the HealthCheck utility stops what it is doing and attempts to notify the system administrator by one of several means:

  • It logs a message into the server log (red)
  • It attempts to send an email to the SYSERROR event list of users
  • It displays a prominent message on the console (in case all other notifications fail)

Health Check can also be monitored real-time by a special System Status/Health Check Servlet web page, which automatically updates itself at a user-specified interval (e.g. every 30 seconds). It performs all of the selected health check functions, and shows a check mark for every successful check. It also shows a distinctive "warning" icon for any function that fails, along with a detailed description of the problem & an audio warning (so the system administrator is alerted even if not actually watching the page). This page can be left up on a console for a continuous monitoring of the overall system health at all times.

Tests Performed

HealthCheck performs the following tests:

  • Verifies that the control database is operational by connecting to it & reading setup values
  • Verifies that the Object Request Broker is operational by connecting to it
  • Verifies that the Application Framework is operational by connecting to it
  • Verifies that the SMTP email server is operational by sending a test e-mail to a fictional user
  • Verifies that the servlet runtime system is operational by running a special status servlet
  • Using our extensibility philosophy, Health Check can be configured to check other system functions, i.e. could verify that PIP/Pilot is operational by requesting status.
To Use HealthCheck, select the "Operation" menu choice in Expresso's Admin menu. Scroll down to the heading, "Periodic System and Performance Tests." There you will see a list of functions like the below:

HealthCheck Function Description
Run Performance Tests -
Run HealthCheck -
Performance Test Definitions -
Performance Test Stats -
Performance Test Sets -
Performance Test Set Details -

Conclusion

For technical information about how to use Expresso Health Check, please refer to the Expresso Developers Guide (EDG) or the Javadocs.

Top of Page


Home | Products | Services | Partners | Customers | About Us | Login | Forums | Contact Us

Copyright © 2001-2002 Jcorporate Ltd. All rights reserved. Copyright Privacy

Last Modified: 07-Oct-02 9:40:15 PM