House of Fusion
Search over 2,500 ColdFusion resources here
  
Home of the ColdFusion Community

Mailing Lists
Home /  Groups /  ColdFusion Talk (CF-Talk)

Determining if ColdFusion is alive and communicative

  << Previous Post |  RSS |  Sort Oldest First |  Sort Latest First |  Subscribe to this Group Next >> 
Top  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Kevin Bridges
12/11/2002 11:12 AM

We need to write an agent in the *nix world to "ping" the cfmx services and determine not only if they are running but that they are able to communicate with an Oracle backend.  Does anyone have suggestions on how to approach this problem? Thanks, Kevin Bridges  

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Dan Phillips
12/11/2002 11:29 AM

If you prefer to get something pre-made check out http://www.deepmetrix.com/ipmonitor/ We use this to monitor basic things like ping, and if service are running. I know you can have it monitor an Oracle ODBC connection as well. Thank you, Dan Phillips Express Technologies, Inc. dba HalfPriceHosting, CFXHosting and Invotion. www.HalfPriceHosting.com www.CFXHosting.com www.Invotion.com We need to write an agent in the *nix world to "ping" the cfmx services and determine not only if they are running but that they are able to communicate with an Oracle backend.  Does anyone have suggestions on how to approach this problem? Thanks, Kevin Bridges

Top  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Timothy Heald
12/11/2002 11:26 AM

We had something running like this at my old job.  Basically we wrote a cfm page that did a query then output just the word ok. Big IP would look for ok, if it wasn't there then it would fail over that server. Tim We need to write an agent in the *nix world to "ping" the cfmx services and determine not only if they are running but that they are able to communicate with an Oracle backend.  Does anyone have suggestions on how to approach this problem? Thanks, Kevin Bridges  

Top  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Kevin Bridges
12/11/2002 11:47 AM

That's perfect ... thanks. If you prefer to get something pre-made check out http://www.deepmetrix.com/ipmonitor/ We use this to monitor basic things like ping, and if service are running. I know you can have it monitor an Oracle ODBC connection as well. Thank you, Dan Phillips Express Technologies, Inc. dba HalfPriceHosting, CFXHosting and Invotion. www.HalfPriceHosting.com www.CFXHosting.com www.Invotion.com We need to write an agent in the *nix world to "ping" the cfmx services and determine not only if they are running but that they are able to communicate with an Oracle backend.  Does anyone have suggestions on how to approach this problem? Thanks, Kevin Bridges

Top  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Chris Norloff
12/11/2002 01:20 PM

We use a java servlet to call a .cfm page with a simple cfquery on it (see below). This tests CF, the connection to the database, and the database itself. Chris Norloff <cfquery name="systemdt" datasource="#DSN#"> SELECT SYSDATE AS SELECTDT FROM DUAL </cfquery> <cfif systemdt.RecordCount is not 0>   <cfset txtoutput="OK_DB_CF"> <cfelse>   <cfset txtoutput="NO_DB_CF"> </cfif> <cfoutput> #txtoutput# </cfoutput> Reply-To: cf-talk@houseoffusion.com date: Wed, 11 Dec 2002 08:58:05 -0700 ----- Excess quoted text cut - see Original Post for more -----


<< Previous Thread Today's Threads Next Thread >>

Search cf-talk

May 24, 2012

<<   <   Today   >   >>
Su Mo Tu We Th Fr Sa
     1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31     

Designer, Developer and mobile workflow conference