trapd.conf
file into an HPOM for
Windows SNMP Interceptor policy. The tool is part of the HPOM
management server.
The ovtrap2opc command line tool supports several parameters with arguments, as shown:
ovtrap2opc -trap <trapd_conf_file> -pol <policy_name> [-out <policy_files_folder>] [-msgtype] [-c ASCII|-c UTF8|-c ISO81|-c ISO82|-c ISO85|-c ROMAN8| -c SJIS|-c EUCJP|-c GB2312|-c BIG5|-c EUCTW|-c EUCKR]
Using the ovtrap2opc tool, you can create an SNMP Interceptor
policy based on the HP NNM trap file trapd.conf
. The
SNMP interceptor policy is created in binary and text versions
(.data and .header files). Policy files are created and written to
the current directory if the ovtrap2opc tool parameter "-out" is
not specified.
The created policy (either binary or text version) can also be
manually uploaded with the ovpmutil
utility.
The binary policy version can be uploaded with this command:
ovpmutil.exe reg pol "<policy_name >"
The text policy version can be uploaded with this command:
ovpmutil pcv /c "<policy_name>"
(convert text
to binary policy)
ovpmutil reg pol "<policy_name> "
(upload
newly-created policy)
ovtrap2opc -trap "C:\Program Files\HP\HP BTO
Software\conf\C\trapd.conf" -pol "TestSNMPPolicy"
ovtrap2opc -trap "C:\Program Files\HP\HP BTO
Software\NNM\conf\Japanese_Japan.932/trapd.conf" -pol
"TestSNMPPol2" -c SJIS