ALERT! The community will be read-only on April 19, 8am Pacific as the migration begins. Read more for important details.
ALERT! The community will be read-only on April 19, 8am Pacific as the migration begins.Read more for important details.
Cadet 3rd Class Cadet 3rd Class
Cadet 3rd Class
906 views

Registering a new created Policy before Upload into HPOM

I’m currently using opcpoltype -reg –xml fwEvent_data.xml command to register a policy after using the mib2policy command but am returned with error:

Policy type registration file fwEvent_header.xml is missing or invalid

Only 2 files were created after mib2policy (fwEvent_header.xml & fwEvent_data) . How can this error be fixed before I upload the new policy into HPOM?

OML Operating System: Linux

OML Version: HP Operations Manager 09.10.240 OML_00067 (04/11/13)

Thanks

Labels (1)
Tags (2)
0 Likes
3 Replies
Admiral
Admiral

Hello,

i doubt that mib2policy created a corrupted xml file, but in your command you don't specify the full path of your xml file.

I may suggest to test it with full path, because the error message seems indicate that opcpoltype just not find it, not that there is  an error with files or command syntax.

0 Likes
Cadet 3rd Class Cadet 3rd Class
Cadet 3rd Class

Unfortunately, even when putting the full pathname the error is still occurring. Does a policy NEED to be registered before uploading?

**correction to original post**:

I’m currently using opcpoltype -reg –xml fwEvent_header.xml command to register a policy after using the mib2policy command but am returned with error:

Policy type registration file fwEvent_header.xml is missing or invalid

0 Likes
Admiral
Admiral

Hello no need to register a policy before uploading and use it in your manager.

you can directly proceed with opcpolicy -upload and work with it immediatly.

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.