HP Operations Manager for Windows

IOvReqCheck::GetRequirements


Return the list of prerequisites for the specified System.

HRESULT GetRequirements(
[in] BSTR System,
[in, defaultvalue(RP_TXT)] ReportFormat rpFormat,
[out, retval] BSTR* Requirements
);

Parameters

System
Identifies the System for which to return prerequisites. It directly relates to the [VER] tag in the prerequisite check configuration file.

rpFormat
Specifies the format of the returned list of prerequisites. For valid values, see CheckNode.

Returning Parameter

Requirements
String containing the list of prerequisites for the specified System.

HRESULT Return Values

If not ovrcNoError, IErrorInfo is created, and a detailed error description is traced.

ovrcNoError
Method executed successfully.

ovrcErrCannotOpenFile
Prerequisite check configuration file cannot be accessed.

ovrcErrCannotReadFile
Prerequisite check configuration file cannot be read.

ovrcErrCannotCloseFile
Prerequisite check configuration file cannot be closed.

ovrcErrMgmtServerNotSet
UseManagementServer method was not called. Each client should first call the UseManagementServer method to set the management server from which the prerequisite check configuration should be used.

ovrcErrConfigFileSyntax
Syntax of the prerequisite check configuration file is not valid.

(other FAILED)
Another type of error occurred.

Description

The GetRequirements method returns the list of prerequisites for the specified System as a string formatted (XML/TXT) according to the rpFormat parameter.

Note NOTE (since 8.00):
Variables AGENT_COMM_TYPE and AGENT_BINARY_FORMAT are defined as empty strings.

 

500 Internal Server Error

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator at webmaster@systemmanager.forsenergy.ru to inform them of the time this error occurred, and the actions you performed just before this error.

More information about this error may be available in the server error log.

Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.