K_G
13 years agoLevel 6
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...
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