Server Monitoring > Server Monitor > Launch Server Monitor
The Adobe ColdFusion Monitor page includes the following pages:
Adobe ColdFusion Monitor > Alerts
Alerts Page
The Alerts page lists all the snapshots generated by alerts.
Alert Configuration page
The Alert Configuration page lets you specify the thresholds that indicate when to generate an alert. Alerts provide warnings of potential problems, including the following:
an unresponsive server
a slow server
JVM memory usage exceeding threshold
requests that timed out exceeding specified number
email settings to login to the mail server
The unresponsive server alert is triggered when more than a specified number of threads have been busy for more than a specified number of seconds. The unresponsive server alert creates a snapshot file, which lets you determine where request threads are unresponsive. The slow server alert is triggered when the server’s average response time exceeds a specified limit. Both types of alert let you invoke a custom CFC when the alert is triggered, which lets you provide your own automated response to an alert condition. The CFC contains two functions, onAlertStart, which executes when the alert becomes active, and onAlertEnd, which executes when the alert is disabled or recovered. A structure that contains alert information is passed to each function. You can specify whether to send an e-mail notification when an alert is triggered, and to whom. You can also specify the username and password to log in to the server specified on the Mail page of the ColdFusion Administrator. You can also kill unresponsive threads.
The Snapshots page lists all snapshots that have been triggered. Snapshots include details about the ColdFusion server at the moment the snapshot is triggered. These details include:
The time and reason the snapshot was triggered
Whether profiling and memory tracking are enabled
How many running and queued requests exist at the moment of the snapshot
Information about memory usage, including
JVM memory usage
Server, application, and session scope memory usage
Throttle queue size and memory usage
Information about cached queries
Status of the database pool
The Java stack trace
Snapshots are triggered when one of the following occurs:
You click the Trigger Snapshot button on the User Snapshots page of the Server Monitor
The threshold for either a hung server or a slow server is exceeded
When you click the Trigger Snapshot button, the Server Monitor collects the information for the snapshot and saves it in a file named snapshot_usrgen_timestamp.txt in the cf_root/logs/snapshots folder. When the Server Monitor creates a snapshot, it saves the information in a file named snapshot_sysgen_timestamp.txt in the cf_root/logs/snapshots folder.