I've tried what you are suggesting Ray.
<cfsavecontent variable="pList">
<cfexecute name="c:\program files\support tools\tlist.exe" arguments="-s" timeout="10">
</cfexecute>
</cfsavecontent>
<cfset isRunning = Find("SiteMinder executable", "#pList#")>
<cfoutput>#isRunning#</cfoutput>
You would have to install the tools in the windows 2000 resource kit.
However, what happenns if the SitMinder service crashes unexpectedly, and as you might
know this happenns very often. Would tList.exe still list the service? My guess is it
would, because the SiteMinder Authentication/Authorization service status would still
be "started" even though the service has crashed. I need a script to monitor the
siteMinder services and send alerts when the service is not responding.
My current solution is to use the cfauthenticate coldfusion tag. The script calls the
tag and returns a success or failure message. However, I've noticed that even after
stopping the SiteMinder services(s), the status message does not change to "failed",
that's because coldfusion caches the SiteMinder service cache. Flushing the cache
would slow down the performance, how else can I get the upto the minute status of the
service? I would really appreciate your help.
>You can use cfexecute to shell out to dos and call net something or
>another. It will list out the running services.
>
>========================================================================
>===
>Raymond Camden, ColdFusion Jedi Master for Mindseye, Inc
>(www.mindseye.com)
>Member of Team Macromedia (http://www.macromedia.com/go/teammacromedia)
>
>Email : [EMAIL PROTECTED]
>Blog : www.camdenfamily.com/morpheus/blog
>Yahoo IM : morpheus
>
>"My ally is the Force, and a powerful ally it is." - Yoda
>
>> -----Original Message-----
>> From: Allan Clarke [mailto:[EMAIL PROTECTED]
>> Sent: Tuesday, July 22, 2003 7:25 AM
>> To: Spectra-Talk
>> Subject: SiteMinder Service Status
>>
>>
>> Does anyone know how to programatically test if the
>> SiteMinder Authentication/Authorization service is
>> running. I'm currently using the cfauthenticate tag to
>>
>> do this but even after stopping the services
>> ColdFusion thinks SiteMinder is still running, I guess
>>
>> because coldfusion caches the SiteMinder policy.
>>
>> I want my ColdFusion script to be able to correctly
>> display the SiteMinder service status. Is there a way
>> other than using the cfauthenticate tag to test if the
>>
>> SiteMinder service is running. BTW I'm using CF5
>>
>>
>> __________________________________
>> Do you Yahoo!?
>> Yahoo! SiteBuilder - Free, easy-to-use web site design
>> software http://sitebuilder.yahoo.com
>>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Get the mailserver that powers this list at
http://www.coolfusion.com
------------------------------------------------------------------------------
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/spectra_talk or send a
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.