Flash Comm Failure 2004-03-10 - By Brian Lesser
Back Hi Chris, LOL.... Yeah, I can make sure your name gets in there... but you really don't have to buy ten copies. :-) Regarding monitoring, you would only use it as an add-in on top of other regular performance monitoring tools. Our tech support staff have a system that aside from monitoring server processes, free memory, cpu load, etc also generates alerts including paging them any time something really bad happens. I wrote a simple app that uses setInterval to run a sequence of tests. Basically it just opens a NetConnection to a simple test application on the production server every few minutes. Just like one instance can open a netconnection to another instance on the same box in the lobby/rooms thing. Except instead of localhost you have the name of the production system in the address you feed nc.connect. Once the test app makes the connection it just sends a message back and forth to do a very basic health check If it finds anything wrong it simply calls a CFC on one of our Coldfusion boxes that sends a message to the tech support monitoring system. A lot of the monitoring systems will accept an email alert. In that case you can use a cfmail tag to send the alert. In summary you have: a test app on the production server that only allows connections from your test box a different test app on your monitoring box that connects to your production test app every few minutes..
Now that is a very limited health test but is better than just checking if a port is active or if you still have memory on your machine. Even better would be to hook into the admin api.
Cheers, -B
Harper, Chris wrote:
>Hey brain, >Is my name gonna be in the book too for that one bit od sample code? >that would rock :) I'd buy 10 copies. Anyways... > >How would you go about getting a development machine to monitor a >production machine and then have it call out to an app server? Got any >examples? May fortune be with you and your publisher :D > >Chris > >-- --Original Message-- -- >From: Brian Lesser [mailto:blesser@(protected)] >Sent: Wednesday, March 10, 2004 1:18 PM >To: flashcomm@(protected) >Subject: Re: [FlashComm] Flash Comm Failure > > >One suggestion is to setup an admin-only FCS server on a small machine >to monitor your production FCS servers. You can use a free development >license to do it. When you have problem it can call out to an app server > >to let your regular system monitoring software know something has gone >wrong. I've done this in the past without problems. >Yours truly, >-Brian > >Harper, Chris wrote: > > > >>Hi, >>I had asked a similar question earlier but wanted to ask something more >>specific: >> >>Is there a way Flash Comm Server can send out an alert if it stops, >>fails or falls off? >> >>I'm desperately trying to get some tools to monitor the apps for our >>Server guys and that was their main concern. Should I just tell them >>to use the Flash Comm Admin? >> >>Thanks All! >> >>Chris >> >>-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------ >>Supported by Fig Leaf Software >>-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------ >>Lower Prices for Certified Training! Check out new lower prices for >>Certified Macromedia Training from Fig Leaf Software. Expand your skill >> >> > > > >>set with courses in ColdFusion, Flash, Rich Internet Applications and >>.NET in the new year. Fig Leaf Software provides the highest caliber >>instruction at our training centers in Washington >>D.C., Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at >>your location. >> >>Get the details at http://training.figleaf.com/ >>-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------ >>To unsubscribe, e-mail: flashcomm-unsubscribe@(protected) >>For additional commands, e-mail: flashcomm-help@(protected) >> >> >> >> >> > > >
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------ Supported by Fig Leaf Software -- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------ Lower Prices for Certified Training! Check out new lower prices for Certified Macromedia Training from Fig Leaf Software. Expand your skill set with courses in ColdFusion, Flash, Rich Internet Applications and .NET in the new year. Fig Leaf Software provides the highest caliber instruction at our training centers in Washington D.C., Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location.
Get the details at http://training.figleaf.com/ -- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------ To unsubscribe, e-mail: flashcomm-unsubscribe@(protected) For additional commands, e-mail: flashcomm-help@(protected)
|
|