Hi - 

Yes there are different error codes that a service throws 
which could indicate the state of the service but I do not 
have the list.  Other folks have mentioned other monitoring 
solutions that could work well for you...

I have seen SiteMinder just stop responding when the services 
seemed to be restarting OK. In that case a reboot of the server 
was required to enable user authentication again.

I've found that a daily restart of the SM and CF services resolves
almost all SM issues in regards to the auth failures.. and this 
also eliminated the need to troubleshoot and restart services 
during the day when folks are using the apps.

Not really the answer you are looking for, but I hope that this 
helps some.

Dave

-----Original Message-----
From: ColdFusion Programmer [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, July 22, 2003 4:32 PM
To: Spectra-Talk
Subject: SiteMinder Service Status


Thank you David,

I don't the script to restart the SiteMinder service if its down. I just
want my monitoring tool to get an alert and then I take the necessary
actions to restart it. There are 9 productions servers and I want to
just be able to check the status of the services. Will your code show
the status of the service(s) as "started" if the the service is not
responding or has crashed unexpectedly? I would like the script to give
me the true picture of what the current status is. What I don't want to
happenn is the client calling me telling me that he can't login to the
application and my monitoring service showing that the SiteMinder
service is running when actually it has crashed or is not responding. I
hope this is making sense?

>Hi -
>
>As an option, perhaps using the AT scheduler in Windows
>to check the services periodically..  it would probably
>run more efficiently and the following batch code could
>check the SM services, restart if required, and write 
>activity to a logfile.
>
>Batch Code Sample:
>----------------------------------------------------------
>@echo off
>set zLog=%cd%\checkSiteMinder.log
>echo ==== %date% - %time% ==== >> %zLog%
>set zServices="SiteMinder Authentication Service","SiteMinder
>Authorization Service"
>for %%i in (%zServices%) do (
>       net start | find /i "%%~i" > nul
>       if errorlevel 0 if not errorlevel 1 (
>               echo Running: %%i  >> %zLog%
>       ) else (
>               echo Not Running: %%i >> %zLog%
>               echo Attempting to start service.. >> %zLog%
>               net start %%i >> %zLog%
>               if errorlevel 0 (
>                       echo Success Starting %%i >> %zLog%
>               ) else (
>                       echo ERROR Starting %%i >> %zLog%
>               )
>       )
>)
>
>Logged Output Sample:
>----------------------------------------------------------
>
>==== Tue 07/22/2003 - 11:26:00.35 ==== 
>Not Running: "SiteMinder Authentication Service" 
>Attempting to start service.. 
>The SiteMinder Authentication Service service is starting.
>The SiteMinder Authentication Service service was started successfully.

>Success Starting "SiteMinder Authentication Service" 
>Not Running: "SiteMinder Authorization Service" 
>Attempting to start service.. 
>The SiteMinder Authorization Service service is starting.
>The SiteMinder Authorization Service service was started successfully. 
>Success Starting "SiteMinder Authorization Service" 
>==== Tue 07/22/2003 - 11:26:17.85 ==== 
>Running: "SiteMinder Authentication Service"  
>Running: "SiteMinder Authorization Service"  
>==== Tue 07/22/2003 - 11:26:20.77 ==== 
>Running: "SiteMinder Authentication Service"  
>Running: "SiteMinder Authorization Service"  
>
>
>Hope this helps..
>Dave
>
>
>
>
>-----Original Message-----
>From: Raymond Camden [mailto:[EMAIL PROTECTED] 
>Sent: Tuesday, July 22, 2003 10:57 AM
>To: Spectra-Talk
>Subject: RE: SiteMinder Service Status
>
>
>> >> You would have to install the tools in the windows 2000 
>> resource kit.
>
>Just go to a command prompt and type net.
>
>> >There is also a 'native' tool, "net" to do this.
>> >
>> >> 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. 
>> >
>> >Actually, I always thought a crashed service did NOT show up as 
>> >running.
>> >
>> >Another option is to get a list of running processes. I'm 
>> sure you can 
>> >find a DOS tool for this.
>> >
>
>http://www.sysinternals.com/  - search here for pstools. One of them
>will list running processes.
>
>-Ray
>
>

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|

This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
http://www.cfhosting.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.

Reply via email to