cancel
Showing results for 
Search instead for 
Did you mean: 

Report of Start time and end time under "Detailed Status" tab

Srinivasan_VD
Level 2

Hi All,

 

I Need to generate a report for the "started" and "ended" time under the detailed status tab of each job.

 

Master/Media server on Windows.

 

Thanks in Advance.

 

Regards,

Srinivasan VD

8 REPLIES 8

revarooo
Level 6
Employee

Opscenter could do this for you.

Srinivasan_VD
Level 2

Is there any way we could do it from within netbackup?

Nicolai
Moderator
Moderator
Partner    VIP   

That will require a little scripting - But netbackup bpdbjobs command can do it.

http://www.symantec.com/docs/HOWTO72644

inn_kam
Level 6
Partner Accredited

Install Ops Center ,which comes with Netbackup 

and u can easily generate ur required jobs

https://www-secure.symantec.com/connect/articles/step-step-how-create-reports-ops-center-without-lic...

Srinivasan_VD
Level 2

Nicolai, I'd be greatful if you could give me a sample script, if possible.

I do not want to reinvent the wheel.

 

Thanks in advance.

Srinivasan_VD
Level 2

Thanks, before I install opscenter, would like to know if the "image write start & end time" coulmns are available in the existing report template.

Andy_Welburn
Level 6

If you're comfortable editting the registry, you could have a look at the following:

How to customize the output of the bpdbjobs -report command with a Windows Master Server.
http://www.symantec.com/business/support/index?page=content&id=TECH46268

Nicolai
Moderator
Moderator
Partner    VIP   

Sorry - I don't have such a script to do exactly what you want. But below is a script that monitor backup that run too long. I hope you can gain inspiration from it:

 


#!/usr/bin/ksh
ALARM_TRESHOLD=84000
RUNTIME=0
/usr/openv/netbackup/bin/admincmd/bpdbjobs -most_columns | awk -F "," ' $3 ~ /^1$/ { print } ' |  awk -F "," ' $2 ~ /^0$/ { print } '  | awk -F "," '{ print $1, $3, $6, $7, $10 }' | while read  PID STATE SCHEDULE CLIENT RUNTIME
do
 if [ RUNTIME -gt ALARM_TRESHOLD ]
  then
     echo "Job ${PID} ${CLIENT} ${SCHEDULE} runtime is ${RUNTIME}. It's exceeded runtime treshold of ${ALARM_TRESHOLD} "
   fi
done