NetWorker Daily Status Report

Unhappy with the overly verbose native EMC NetWorker savegroup completion reporting and the limited formatting options available in the native html output provided by gstclreport I decided to quickly create a powershell script to produce a a better looking daily status email.  Below is ver 0.1 of the script.

Note:  In the powershell source included below all the variables are in the source for simplicity purposes. In my implementation a large number of the defined variables are used across a wider library of powershell scripts so the variables are actually contained in a separate variable file which I dot source to set the variables in the global scope.

https://gist.github.com/rbocchinfuso/06ad8a9aef58598f3660

The script delivers via email a message which contains a formatted html report in the body of the email as well as a csv attachment containing the raw data.  The following is a sample email:nwreport1

 

11 thoughts on “NetWorker Daily Status Report

  1. Like the powershell version of this script. Modified it with my settings but the email and csv file does not return any data. If I view the report in the NMC there is information there. I tried adding more variables to the $gstclrpt line to include Status, Client Name, Group Name, and date range to match those in the NMC. Any thoughts on what the error might be?

  2. ## report gen vars
    # note: JAVA_HOME must be set in gstclreport.bat script
    $gstclrpt=”D:\EMC NetWorker\Management\GST\bin\gstclreport.bat

    how to set this

Leave a Reply

Your email address will not be published. Required fields are marked *