My Oracle Support Banner

OCI Stack Monitoring Service : Apache HTTPS Server For Windows Discovery Fails (Doc ID 3019516.1)

Last updated on APRIL 27, 2024

Applies to:

OCI Stack Monitoring - Version N/A and later
Information in this document applies to any platform.

Symptoms

OCI Stack Monitoring, attempting the Resource Discovery for the Apache HTTPS Server fails with following error:

ERROR Failed while processing incoming results: Cannot invoke "java.util.Map.put(Object, Object)" because the return value of "com.oracle.pic.inframon.discovery.commons.model.resource.Resource.getProperties()" is null

Error stack observed from C:\Oracle\mgmt_agent\agent_inst\log\mgmt_agent.log file:

[SysExecutor.6 (apache_http_server.appmgmt-discovery)-126] INFO - Exception on discoveryItem appmgmt-discovery: Not uploading: action execution failure (caused by)
java.util.concurrent.ExecutionException [FetchletException: C:\Oracle\mgmt_agent\agent_inst\config\destinations\OCI\services\appmgmt\91\modules\ahs\scripts\discovery_apache_http_s
erver.ps1 : Error: Agent user is unable to execute C:\Apache24\conf\httpd.conf file.
At line:1 char:1
+ & C:\Oracle\mgmt_agent\agent_inst\config\destinations\OCI\services\ap ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException
+ FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,discovery_apache_http_server.ps1

Running the following command directly via PowerShell does not work.

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.