Appendix d: batch utilities for thresholds, Batconf – HP NonStop G-Series User Manual
Page 95
Appendix D: Batch Utilities for Thresholds 95
Appendix D: Batch Utilities for Thresholds
OVNM provides the following command line utilities that assist in adding and deleting thresholds from the
database:
•
BATCONF
•
DELCONF
BATCONF
The BATCONF or the Batch Configuration utility allows you to add thresholds to the database in a batch mode.
This utility always lags behind the features in the Object Configuration Client, so there are some features
available in the Object Configuration Client that are not available in BATCONF. Please contact local HP support
for your specific requirements.
Use the following steps to add thresholds to the database using the BATCONF utility.
1.
Use the following command to start the utility at the TACL prompt.
RUN BATCONF
2.
Enter the location of the database file at the prompt.
SET DBSUBVOL
The utility will open the required database files using the location specified. If there are errors, it will
display a message explaining the problem.
3.
At the next prompt, specify the number of errors that the utility will process before it quits.
SET ERRORS
The default value is 5, which means that after encountering 5 errors, the utility will quit. This parameter
allows you to stop processing if there are lots of errors before it attempts to do unwarranted actions. The
maximum value for this parameter is 999.
4.
Specify the name of the LSTCOM process using the OPEN command.
OPEN
The LSTCOM process is used by the Object Configuration Client and the BATCONF utility to add the
objects to the database.
NOTE:
The SET DBSUBVOL and OPEN commands are mandatory before you can add any thresholds using
the BATCONF utility.
5.
There are a variety of commands that are supported by this utility. To add a threshold, enter the following
command at the prompt.
ADD
For example:
Add CPU, CPU, CPU IS DOWN, *
The first four fields are mandatory fields. These fields are used to create a key into the file that contains the
necessary edit information for each threshold. The other fields are optional, depending on the threshold. To
skip a field, just enter the separator character.
Commands that are longer than 132 characters can be entered on multiple lines as long as the initial lines
end with an ampersand (&).
NOTE:
You can enter Help