EV task situation check

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...                                  

1 Solution

Accepted Solutions
Accepted Solution!

Thinkng about it, your best

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

10 Replies

What are you scripting it

What are you scripting it in?
I can do it in C#, should be easy enough to port to VBS though

No just small batch file. Are

No just small batch file.

Are there any mechanism to check task situation ,working or not?

this is the best i could come

this is the best i could come up with. otherwise, like Alex said, you might need to code it.

How to stop and start Veritas Enterprise Vault (tm) task from the command line, using "evservice.exe"

Article:TECH48306  |  Created: 2010-01-24  |  Updated: 2010-01-24  |  Article URL http://www.symantec.com/docs/TECH48306

 

Thanks Andrew, there is

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...

hi, are there any idea to

hi,

are there any idea to check EV tasks situation?

thanks...

i'll see if i can get it in

i'll see if i can get it in to vbscript for you, but what are the other tasks you've written it as?

mailbox archiving task ecxh1,

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...

Accepted Solution!

Thinkng about it, your best

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

Thanks,it is usefull for me,

Thanks,it is usefull for me, i can use status 0-1 section in my script.

 

You also have any query to

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...