NetBackup IT Analytics User Guide
- Introduction
- Understand the Portal
- About the Admin tab
- Explore your inventory
- Hierarchy toolbar to organize your data
- Show objects
- Use attributes to organize your data
- Pin reports - saving reports with inventory objects
- Assign attributes in the inventory list view
- Get acquainted with reports
- About badging
- Generate and maintain reports
- Select Report Scope
- Group hosts by attributes
- Search for hosts in the report Scope Selector
- Backup Manager advanced scope selector settings
- Solution reports scope selector settings
- Units of Measure in Reports
- Customize report filter logic
- Sort columns in reports
- Convert tabular report to chart
- Distribute, share, schedule, and alert
- Scheduling Exported Reports and Dashboards
- Organize reports
- Work with the dynamic template designer
- Dynamic Template Designer Quick Start
- Converting to a Homogeneous, Product-Specific Template
- Dynamic Template Function Configurations
- Create Fields with the Field Builder
- Scope Selector Component - Custom Filter
- Configure a Bar Chart Dynamic Template
- Steps to Create a Bar Chart Dynamic Template
- Configure an Area/Stacked Area Chart Dynamic Template
- Line Charts for Performance Metrics
- Line Chart Field Requirements
- One Object Per Line Chart, One or More Metrics Per Chart
- Multiple Objects Per Line Chart, One Metric Per Chart
- Example of a Stacked Bar Chart Dynamic Template
- Create a Sparkline Chart in a Tabular Dynamic Template
- Adding or Editing Methods
- Validate and Save a Method
- Work with the SQL template designer
- Database Published Views
- Create a SQL Template
- Configure SQL Template Scope Selector Components
- Sample SQL Queries
- Configure SQL Template Scope Selector Components
- Format the SQL Template Output
- Configure a Table in the SQL Template Designer
- Advanced SQL Report Template Options
- Export/Import SQL Templates
- Pipelined functions for report query building
- APTlistOfDates
- aptStringConcat
- getServerAttributeValue
- getObjectAttributeValue
- getChildServerGroupContextById
- getServerGroupContextById
- secsToHoursMinSecs
- APTgetTapeDriveStatusName
- getFullPathname
- listJobSummaryAfterRestart
- listJobSummaryAfterRestartNBW
- listJobSummaryAfterRestart for NetWorker Backup Jobs
- listOfBackupWindowDates
- listChargebackCatByVOLSDetail
- listChargebackCatByNcVolDetail
- listChargebackCatByFSDetail (for HNAS)
- listChargebackCatByFSDetail (for EMC Isilon)
- listChargebackByLUNSummary
- listChargebackByLUNDetail
- listChargebackCatByLUNSummary
- listChargebackCatByLUNDetail
- Alert configuration
- Manage hosts, backup servers, and host groups
- Manage attributes and objects
- Provide Portal access and user privileges
- Setting / Resetting passwords
- Managing user group home pages (Administrator)
- Configure primary schedules and backup windows
- Add, edit, and move policies
- Add/Edit a threshold policy
- Capacity Chargeback policy types
- Solutions administration
- Manage and monitor data collection
- About data collection tasks
- Add/Edit Data Collectors
- Review collectors and collection status
- Upgrade Data Collectors
- Work with Capacity Manager host data collection
- Host Access Privileges, Sudo Commands, Ports, and WMI Proxy Requirements
- Host access requirements
- Manage credentials
- Configure host discovery policies to populate the host discovery and collection view
- Discovery processes
- Validate host connectivity
- Search and export in host discovery and collection
- Propagate probe settings: Copy probes, paste probes
- Discovery policies for Veritas NetBackup
- View and manage system notifications
- Customize with advanced parameters
- Use cases for advanced parameters
- Access control advanced parameters
- General Data Collection advanced parameters
- Cloud data collection advanced parameters
- Host discovery and collection advanced parameters
- Backup Manager advanced parameters
- Capacity Manager advanced parameters
- File Analytics advanced parameters
- Virtualization Manager advanced parameters
- Manage your Portal environment
- Manage ransomware scorecard
- Analyze files
- Troubleshoot the Portal
- Retrieving log files
- Debug
- Attribute inheritance overrides
- Understanding report data caching
Add answers in bulk to Ransomware Scorecard questions
This procedure helps you to add answers to the Ransomware Scorecard questions in bulk and also associate the correct answer to each question. You must first create a CSV file of answers and then add it to the Ransomware Scorecard using the utility
The loadRswQuestionAnsFile
utility provides an ability to bulk load Ransomware answers corresponding to the questions you loaded. This utility takes as input a comma-separated values (CSV) file. You have to load the questions before you can add the answers for the question..
This CSV file becomes the key document of record for custom Ransomware questions and answers. Hence, you must preserve it in a working directory for future updates.
To create the CSV file of answers, create a spreadsheet table in the format shown below. Save it as a CSV file (for example answers.csv
) in a working directory. This file is essential to map the answers to their respective Ransomware question accurately.
Table: Headers and description of CSV file for answers
QuestionID | AnswerID | Answer | Score |
---|---|---|---|
Enter the question identifier to which the answer identifier has to be mapped. This question identifier must match with the identifier value in the CSV created for questions. | Enter the answer identifier that you want to link to the QuestionID. The QuestionID and AnswerID must form a unique pair. If there are multiple answers to the same question, create a unique AnswerID for each answer and associate it with the same QuestionID. | Enter the answer to the question. If there are multiple answers, enter each value on a separate row so that it associates with a unique AnswerID. | Enter the score associated with each answer. |
A typical CSV file to add multiple answers in bulk can appear as below.
Table: Headers and description of CSV file for answers
QuestionID | AnswerID | Answer | Score |
---|---|---|---|
QUES001 | ANS001 | Yes | 4 |
QUES001 | ANS002 | No | 0 |
QUES002 | ANS001 | Yes | 4 |
QUES002 | ANS002 | No | 0 |
QUES003 | ANS001 | Yes | 4 |
QUES003 | ANS002 | No | 0 |
QUES004 | ANS001 | Yes | 4 |
QUES004 | ANS002 | Kind of | 3 |
QUES004 | ANS003 | Not that strict | 2 |
QUES004 | ANS004 | No | 0 |
QUES005 | ANS001 | Yes | 4 |
QUES005 | ANS002 | No | 0 |
The bulk add utility must be run in SQL Plus as APTARE user.
The load_package utility is located in:
/opt/aptare/database/stored_procedures
on Linux\opt\oracle\database\stored_procedures
on Windows
To load questions and answer to ransomware score card
- Login to the Portal server.
- At the command line, run:
su -aptare
- At the command line, launch SQL Plus
sqlplus <pwd>/<pwd>@//localhost:1521/scdb
For example:
sqlplus portal/portal@//localhost:1521/scdb
- Run this command at the SQL prompt.
SQL> Execute load_package. loadRswQuestionAnsFile ('domain_name', 'pathname_and_filename','log_path_name', 'log_file_name', 'Type');
In the above command:
domain_name
Name (enclosed in single straight quotes) of the domain in which the host groups and hosts reside. (Example: 'DomainEMEA')
pathname_and_filename
Full path + filename (enclosed in single straight quotes) of the CSV file
Windows Example: 'c:\temp\answers.csv'
Linux Example: '/tmp/answers.csv'
log_path_name
Full path (enclosed in single straight quotes) where the log file will be created/updated; verify that you have write access to this directory.
Optional: If a log path and filename are not specified, log records are written to
scon.log
andscon.err
. To omit this parameter, enter: Example: 'c:\temp' or '/tmp'log_file_name
Log file name enclosed in single straight quotes.
Optional: If a log path and filename are not specified, entries are written to
scon.log
andscon.err
.To omit this parameter, enter: '' Example: answers.log'
type
'Answers' of the questions loaded in bulk.
Example:
SQL> load_package.loadRswQuestionAnsFile ('INSTALLWIN2012','/tmp/questions.csv','/tmp', 'questions.log','Answers');
- Check the log file for status and errors.
- Restart the Portal services so that the newly added questions are available in Ransomware Scorecard.
- Verify that the bulk adding of questions was successful: In the Portal, go to Reports > Ransomware -> Ransomware Scorecard. Select a questions you want to view and click 'Answer Question'.