Cabletron Systems MRXI-2 Guide de l'utilisateur Page 114

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 116
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 113
SunNet Manager and Enterprise Manager Appendix 2: Defining Tables from Your Own
Schema Files
To read data logged by SunNet Manager using a schema file not supported by IT Service Vision, you must first create IT
Service Vision dictionary entries for the tables of metrics defined in the schema file using the %CSSNMSCH and %CPDDUTL
macros. Run these macros iteratively to create suitable definitions in your PDB for the tables in the schema file.
See the IT Service Vision Macro Reference documentation for instructions on using %CPDDUTL.
%CSSNMSCH Syntax
The %CSSNMSCH macro takes the following parameters:
%CSSNMSCH( schema=,
rpcids=,
snmnams=,
outfile= );
where:
schema= Name of input schema file to read
outfile= Name of output file to contain CPDDUTL statements
rpcids= Name of input file that contains RPC ID definitions
snmnams= Name of input file that contains SNM schema name definitions
Creating Dictionary Definitions from a Schema File
Creating IT Service Vision table definitions from a SunNet Manager schema file cannot be totally automated because of the
need for (sometimes) extensive input from the user. This input is in the form of interpretations of what the schema author had in
mind when he or she wrote the schema and provision of a mapping from long, schema variable names to short (less than 8
characters) IT Service Vision variable names. This sometimes results in the user having to edit the schema file and virtually
always means the user will have to manually enter the shortened variable names.
To create IT Service Vision dictionary definitions from a schema file, do the following:
1. Define RPC ids
RPC ids are used by SunNet Manager to map numbers to names (of tables). SunNet Manager uses the /etc/rpc file on
your system to determine how to log data.
Locate the /etc/rpc file on the host that runs SunNet Manager. Make a copy of it and edit it to make its format
resemble that of the example rpc id file !SASROOT/misc/cpe/csrpc.
Submit the %CSSNMSCH macro from the SAS PROGRAM EDITOR window to read your schema file
(presumably one not already supported by IT Service Vision) and the rpc file.
Again edit the copy of the rpc file to supply any missing values.
Loop through these steps until all ids are defined.
2. Map long variable names to short variable names
Schema files use names for tables and metrics. These names are too long for IT Service Vision. You must supply the file
that maps long names to short names and point the %CSSNMSCH macro to it.
Run the %CSSNMSCH macro against your schema file again. It will produce many messages about undefined
variable names.
Vue de la page 113
1 2 ... 109 110 111 112 113 114 115 116

Commentaires sur ces manuels

Pas de commentaire