Page 1 of 1
Tm1 Server Monitoting
Posted: Wed May 09, 2012 9:04 am
by ravi
Hi All,
Currently- I do not have process in place to monitor the Tm1 servers.
I would like to get email generated to tm1 user- when server goes down- in this regard-could you please help and advise how to achieve this.
Thanks
Ravi
Re: Tm1 Server Monitoting
Posted: Wed May 09, 2012 12:26 pm
by tomok
Monitoring services and sending emails when they go down is not really a TM1 thing, it's a Windows thing. I suggest you do a Google search for this. I'm sure you'll find plenty of examples then just modify it to monitor the appropriate TM1 services. Good luck.
Re: Tm1 Server Monitoting
Posted: Sat May 12, 2012 4:43 pm
by rkaif
Yes tomok is right. If your TM1 server is down then you can not do anything in TM1 - you can not run a TI or do any other TM1 related task.
You really need a 3rd party utility to do that.
I am not sure but may be there is something in Event Studio (if you have Cognos in your environment) which allows you to generate an Event. But as I said I am not very sure if Event Studio can do this.
You can use Windows
net start command line to check which services are running. Also try sc command or TASKKILL
I think a batch file something like as follows will do the job. (I have to not tried this personally and you may need to tweek the code a bit)
Code: Select all
@ECHO OFF
SETLOCAL
SET Proc="%ProgramFiles%\path to TM1 install\bin\TM1s.exe"
SET Svcs=TM1 service name
FOR %%a IN (%Svcs%) DO SC query %%a | FIND /i "RUNNING"
IF ERRORLEVEL 1 SC start %%a
TASKLIST | FIND /i "perfectdisk.exe"
IF ERRORLEVEL 1 START "" %Proc%
ENDLOCAL
GOTO :EOF