Two ColdFusion Server Monitoring Tips

This post is more than 2 years old.

These are probably well know, but as I'm working on RIAForge a bit today I thought I'd share. Both are thanks to Tom Jordhal who, along with Jason Delmore, is helping debug the issues on the box.

First - in the Alerts section, Email settings, it says that you should supply a recipient's email address. It isn't obvious, but you can supply a list of email addresses here separated by a comma.

Secondly - in the main settings for the Server Monitor, do not forget you can supply aliases. This lets you change

c:\websites\something\more\long\foo.com\index.cfm

to

Paris Hilton Blog home page

An odd aspect to aliases is the Action Parameters portion. This isn't documented anywhere (as far as I know), but you cna supply URL parameters and values. So for example, I could make an alias for

Paris Hilton View Entry

that points to index.cfm and event=view.blogentry

I didn't quite test this yet - but that's how it should work - again - as far as I know.

Edited at 10:22

Unfortunately I've found a bug with aliases. If you try to use 2 aliases to the same file, but with different parameters, the SM will only store the last one you use. This makes the alias mostly useless for frameworks. Well, you can still make a generic alias, but you can't do event-specific aliases.

Edited at 10:27

Ok, so again, thanks to Tom, I figured the issue with the aliases. You do not provide name=value pairs. Instead, you provide just the name of the URL argument. If you do event for example, then in the SM you will see:

youralias?event=X

which is useful for Model-Glue type sites.

Raymond Camden's Picture

About Raymond Camden

Raymond is a senior developer evangelist for Adobe. He focuses on document services, JavaScript, and enterprise cat demos. If you like this article, please consider visiting my Amazon Wishlist or donating via PayPal to show your support. You can even buy me a coffee!

Lafayette, LA https://www.raymondcamden.com

Archived Comments

Comment 1 by Charlie Arehart posted on 5/16/2008 at 4:37 PM

I'm sure those tips will help some folks, Ray. Thanks for sharing. Since your blog gets so many readers, I'd like to just throw out there that these and dozens more such tips can also be found with still further explanation in my my 4-part series of articles on the monitor at the Adobe Dev Center, starting at:

http://www.adobe.com/devnet...

I realize some (including Ray) may have read them and could have not noticed these little gems at the time, or may have forgotten them since. There was a lot to digest and there's certainly never anything wrong with repeating them.

Just saying that if anyone has other challenges with using the CF8 monitor, or just wants to learn more about what it can do beyond the obvious, that's the point of the series. It even covers some things not discussed in any docs I found. Hope that's helpful.

Comment 2 by Jacek posted on 6/23/2009 at 6:46 PM

I was wondering how to configure aliases with SES Urls, like http://mysite.com/product/123/

I couldn't find any info on that.