HP Insight Manager 7 SNMP Extensions utility 7 SNMP Manuale Utente

Pagina di 34
 Insight Manager 7 SNMP Extensions utility 
a command line 
example 
 
The following shows the display of a mCompile command without parameters or switches. The 
single command presents all mCompile options. 
 
 
C:\Program Files\HP\Insight Manager 7>mcompile 
C:\Program Files\HP\Insight Manager 7>runtime\bin\ 
jre -ms8m -mx750m -cp 
lib\jgl3.1.0.jar;.;lib\swing.jar;lib\windows.jar;lib\msxml.jar;lib\ 
activation.jar;lib\mail.jar  
compaq.protocol.snmp.MibMgr.MibCompiler.MibCompilerShell 
Trying connection to database using property file: 
\config\database.props 
Database connection test successful for URL: jdbc:odbc:INSIGHT_DB_V2  
User: sa pwd: 
 Database 
Machine: 
  SERVER1 
 Database 
Version: 
 
Microsoft SQL Server  7.00 - 7.00.623 (Intel X86) 
 
 
Nov 27 1998 22:20:07 
 
 
Copyright (c) 1988-1998 Microsoft Corporation 
 
 
Standard Edition on Windows NT 4.0 (Build 1381: Service 
Pack 4) 
 Database 
Driver: 
 
JDBC-ODBC Bridge (SQLSRV32.DLL) 1.1001 (03.70.0623) 
Insight Manager 7 Command Line Compiler Usage: 
Use one of the following forms: 
------ 
(1) mCompile [-D][-L <logfile.txt>][-n "trapHandlerClass"] 
<mibfile.mib> 
(2) mCompile [-c [-n "trapHandlerClass"] (-C <mibfile.mib> | 
<mibfile.rev>) 
(3) mCompile |-g] [-C] <mibfile.mib> 
(4) mCompile -f <filelist.txt> 
(5) mCompile -d <mibfile.mib> 
(6) mCompile -l[<mibfile.mib> 
22