Server Monitor Alerts In ColdFusion 8
By Raymond Camden
Expert Author
Article Date: 2007-07-30
So this isn't exactly old news, but while I've played quite a bit with the new Server Monitor in ColdFusion 8, I never really took a good look at the Alerts section.
This week I finally took some time to play with alerts. Alerts are a great way to monitor your box without having to have the Server Monitor constantly running in a browser window. As you can guess, alerts will monitor various different things on your server and let you know if something goes wrong.
Out of the box you can monitor the following:
- • Unresponsive Server: Checks your server to see if it is acting up and not responding well.
• Slow Server: Lets you see if the average response time for a request is more than a threshold amount.
• JVM Memory: Let's you throw an alert if the amount of memory being used goes over a certain amount.
• Timeouts: This is an interesting one. It lets you fire an alert if you have X amount of timeouts within Y seconds.
- • Sending an Email. • Dumping a snapshot. This is the same as the manual snapshots you can perform in the Server Monitor.
• Kill threads that take longer than a certain amount.
• Reject new requests
You can browse alerts in the Server Monitor as well.
That screen shows that I have one alert. Double clicking on the alert lets me see the snapshot since I enabled that option. ColdFusion will also alert you when the status reverts to normal.
In order for snapshots to work, you must enable Server Monitoring, which as Charlie has blogged will add minimal overhead to your server. I also pinged Adobe about any impact from alerts in general and was told there was no impact that folks would need to be concerned about.
I'm currently using this myself - mainly to monitor the issues I've had lately with ColdFusionBloggers but also for curiosity's sake as well. Is anyone out there using this yet? Anyone written a custom alert CFC? (Would folks like to see an example of one?)
Comments
Add to
Del.icio.us |
Digg |
Yahoo! My Web |
Furl
Bookmark WebProNews:
About the Author:
Raymond Camden, ray@camdenfamily.com
http://ray.camdenfamily.com
Raymond Camden is Vice President of Technology for roundpeg, Inc. A long time ColdFusion user, Raymond has worked on numerous ColdFusion books and is the creator of many of the most popular ColdFusion community web sites. He is an Adobe Community Expert, user group manager, and the proud father of three little bundles of joy.