02-28-2013 05:18 AM
Hi,
I am working with EV script for check ev backup status,dik size, msmq size,journal item count,EV services...
I done most of the things, server send this script result daily via mail.
I coudnt check EV mbx, journal,task is working or not!
How can i check their status and write easy script (vith ev schell?)
As you know, my script checking EV services but all of the services can run but tasks maybe failed!
thanks...
Solved! Go to Solution.
03-01-2013 12:07 PM
Thinkng about it, your best bet is the following query
SELECT T.Name, TM.Status, TM.EntryTime FROM EnterpriseVaultDirectory.dbo.Task T, EnterpriseVaultMonitoring.dbo.TaskMonitoring TM WHERE TM.TaskId = T.TaskEntryId
This will give you each task and its status, 1 = running, 0 = stopped there will be different numbers for processing, failed etc, though not sure what they are. Monitoring should update these every 15 minutes or so
02-28-2013 06:49 AM
What are you scripting it in?
I can do it in C#, should be easy enough to port to VBS though
02-28-2013 07:15 AM
No just small batch file.
Are there any mechanism to check task situation ,working or not?
02-28-2013 07:21 AM
this is the best i could come up with. otherwise, like Alex said, you might need to code it.
Article:TECH48306 | | | Created: 2010-01-24 | | | Updated: 2010-01-24 | | | Article URL http://www.symantec.com/docs/TECH48306 |
02-28-2013 07:33 AM
Thanks Andrew,
there is start,stop,resume option but there is no "status" option?
if i get current tasks situaitons foexample;
exchange mailbox archiving task -- running
exchange journaling task --failed
pst migration task -- stopped
Then i can write it easly to output file and send via mail.
thanks...
03-01-2013 05:32 AM
hi,
are there any idea to check EV tasks situation?
thanks...
03-01-2013 06:14 AM
i'll see if i can get it in to vbscript for you, but what are the other tasks you've written it as?
03-01-2013 07:29 AM
mailbox archiving task ecxh1, exch2.... (1 or more ecxhange mailbox archiving tasks)
and journal task 1,2... is enough for me.
Other taks are not important like these.
thanks...
03-01-2013 12:07 PM
Thinkng about it, your best bet is the following query
SELECT T.Name, TM.Status, TM.EntryTime FROM EnterpriseVaultDirectory.dbo.Task T, EnterpriseVaultMonitoring.dbo.TaskMonitoring TM WHERE TM.TaskId = T.TaskEntryId
This will give you each task and its status, 1 = running, 0 = stopped there will be different numbers for processing, failed etc, though not sure what they are. Monitoring should update these every 15 minutes or so
03-03-2013 10:27 PM
Thanks,it is usefull for me, i can use status 0-1 section in my script.
03-07-2013 12:05 AM
You also have any query to take "Status" section?
i done most of the disks,smsq,services,task status,vss in one script.
I also want to add system status section on the VAC. (eeors,warnings..)
They stored In which sql table?
thanks...