Searching the Help
To search for information in the Help, type a word or phrase in the Search box. When you enter a group of words, OR is inferred. You can use Boolean operators to refine your search.
Results returned are case insensitive. However, results ranking takes case into account and assigns higher scores to case matches. Therefore, a search for "cats" followed by a search for "Cats" would return the same number of Help topics, but the order in which the topics are listed would be different.
Search for | Example | Results |
---|---|---|
A single word | cat
|
Topics that contain the word "cat". You will also find its grammatical variations, such as "cats". |
A phrase. You can specify that the search results contain a specific phrase. |
"cat food" (quotation marks) |
Topics that contain the literal phrase "cat food" and all its grammatical variations. Without the quotation marks, the query is equivalent to specifying an OR operator, which finds topics with one of the individual words instead of the phrase. |
Search for | Operator | Example |
---|---|---|
Two or more words in the same topic |
|
|
Either word in a topic |
|
|
Topics that do not contain a specific word or phrase |
|
|
Topics that contain one string and do not contain another | ^ (caret) |
cat ^ mouse
|
A combination of search types | ( ) parentheses |
|
- Inventory Discovery
- Inventory Discovery Overview
- Inventory Discovery Scanners
- Inventory Discovery Deployment Overview
- Scan Files
- Processing Scan Files
- Scan File Processing Power
- XML Enricher
- XML Enricher Log Files
- Application Teaching
- Using Rules to Teach Applications
- Enriched Scan File Structure
- Hardware and Software Recognition
- App Store Applications
- Custom Hardware or Asset Mapping
- Inventory Tools
- BDNA Normalize Integration
- Discovery Options for Client IP Ranges
- How to Run Inventory Discovery
- How to Run Inventory Discovery Manually
- How to View Discovery Status of an Inventory CI in JMX
- How to View Agent Deployment Log for an Inventory CI in JMX
- How to Edit Pre and Post Scan Scripts
- How to Set Up Asset Fields for Data Collection
- How to Set Up Asset Fields for Data Collection - Example
- How to Set up the Scanner to Handle Delta Scan Files in Manual Deployment Mode
- How to Configure XML Enricher to Suit the Probe Deployment Mode
- How to Configure the Maximum Number of Threads to Process Scan Files
- How to Create the Processed Core Directory
- How to Check XML Enricher Health Using JMX
- How to Reprocess Scan Files
- How to Import SAIs to the Data Flow Probe
- How to Import Normalization Rules to the Data Flow Probe
- How to Configure and Optimize Inventory Discovery
- How to Configure Analysis Asset Fields
- How to Map Scan File Attributes to UCMDB
- Mapping Hardware or Asset Fields to UCMDB - Use-Case Scenario
- How to Set Extract Options
- How to Filter Discovery Results to UCMDB
- How to Enable Application Virtualization Discovery
- How to Rename Scanner Executable Files
- How to Integrate BDNA Normalize
- How to Discover Client IP Ranges Without SNMP
- How to Discover Windows Device Drivers using the Inventory Discovery by Scanner Job
- Scanner Command Line Parameters Overview
- Scanner Command Line Parameters
- Scanner Information Type Parameters
- Scanner File Locations
- Web Server Configuration for Saving Scan Files via HTTP
- XML Enricher Directory Structure
- Enriched XSF File Structure
- Inventory Discovery User Interface
Edit Pre-/Post-Scan Scripts
This task describes how to edit pre- and post-scan scripts in your Management Zones.
-
Prerequisites
- A Data Flow Probe is installed.
-
A Management Zone is defined.
-
Navigate to the script editor
You can access the Pre/Post Scan Script Editor in the following ways:
-
In the Management Zone:
-
Set up and activate the Inventory Discovery Activity.
-
On the Preferences Page, click to select Scanner based Inventory Discovery and then click Edit script. The Pre/Post Scan Script Editor opens.
-
-
From the Adapter Management module:
Inventory Discovery > Adapters, click Inventory Discovery by Scanner, expand the Global Configuration Files pane, click the PrePostScanScriptingConfiguration file, and click Edit .
-
-
Edit the script
-
Click the platform for which you want to edit a script. Depending on the platform, you might also need to select a version.
Tip Click All UNIX to create a script that is used as a backup script in case a script for any of the other UNIX variant scripts fails to run.
- Click pre scan script or post scan script. The script editing window opens.
- Write your script using shell commands that are appropriate for the platform or shell that is running on the discovery node.
-
-
(optional) Import resource files
To include files that your script requires, import them by clicking the Resources node in the left pane and then click . The Import Files dialog box is displayed. Select the files you want to include in the script package.
Note
- When files are transferred to the remote machine, they will not be marked as executables- even if they are executables. Ensure you mark them as executables in the pre/post scripts before running them.
- Resources files are never removed automatically. If you want to remove them after your scripts run, ensure your scripts perform clean-up operations as needed.
-
Deploy the scripts
To deploy and run the scripts, click to select Run Pre/Post Scripts on the Preferences Page of the Inventory Discovery Activity.
-
Results
To verify the script is deployed successfully, verify the script file is stored in the same directory as the scanner executable. For more information on the location of the scanner executable, see the section describing scanner file locations in Scanner File Locations.
We welcome your comments!
To open the configured email client on this computer, open an email window.
Otherwise, copy the information below to a web mail client, and send this email to ovdoc-asm@hpe.com.
Help Topic ID:
Product:
Topic Title:
Feedback: