OVNPM 1.5.2 - Performance Agent for NonStop Server Monitoring Guide
Threshold Configuration  53 
4 Threshold Configuration 
This section how to manage threshold with the command line tools.  
4-1 Threshold Command Line Interface 
OVNPM provides the macro written to address the need for small and efficient command line utilities to export 
threshold in text file or import thresholds from a text file. In the OVNPM environment, the thresholds are defined 
using the Display Agent GUI. Offering a command line configuration tool allows the user to build thresholds from 
a TACL script. For example, a threshold template can be defined and applied on a large number of objects. 
With minor modifications, the threshold text file can be imported on several nodes. Exporting the thresholds can 
also serve as a backup procedure. 
4-1-1 Threshold Configuration Macro 
4-1-1-1 Locking Threshold Configuration 
The SV_THR_LOCK macro prevents threshold modification from the Display Agent. Once this macro is executed, 
the Display Agent cannot change the threshold configuration. To remove the lock, execute the 
SV_THR_UNCLOCK macro.  
Both SV_THR_LOCK and SV_THR_UNLOCK macros have no argument. 
NOTE:
 SV_THR_LOCK forbids access to the Display Agent only without affecting the SV_THR_EXPORT and 
SV_THR_IMPORT macros.
4-1-1-2 Exporting Threshold Configuration 
The SV_THR_EXPORT macro exports threshold configuration to a text file. 
Syntax: SV_THR_EXPORT [<txtFile>] 
Where, <textfile> is an optional argument defining the edit file containing the threshold definitions. 
If the argument <textfile> is omitted, SV_THR_EXPORT creates USERTHR text file in the OVNPM configuration 
subvolume.  
4-1-1-3 Importing Threshold Configurations 
The SV_THR_IMPORT macro imports threshold definition into the OVNPM configuration. 
Syntax: SV_THR_IMPORT [<txtFile>] 
If the argument <txtFile> is omitted, SV_THR_IMPORT reads threshold definitions from the USERTHR text file in the 
OVNPM configuration subvolume. 
NOTE:
 In the current version, SV_THR_IMPORT does not support the APPEND mode and the old thresholds in 
the configuration are deleted. Onl
y imported thresholds are available. 
Threshold Configuration 










