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
Tm1 Server Monitoting
-
- MVP
- Posts: 2836
- Joined: Tue Feb 16, 2010 2:39 pm
- OLAP Product: TM1, Palo
- Version: Beginning of time thru 10.2
- Excel Version: 2003-2007-2010-2013
- Location: Atlanta, GA
- Contact:
Re: Tm1 Server Monitoting
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.
- rkaif
- Community Contributor
- Posts: 328
- Joined: Fri Sep 05, 2008 6:58 pm
- OLAP Product: IBM Cognos TM1
- Version: 9.1 or later
- Excel Version: 2003 or later
Re: Tm1 Server Monitoting
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)
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
Cheers!
Rizwan Kaif
Rizwan Kaif