SR 3-11030109811 : GC 12c OMS unable to obtain metrics from newly installed agent

Agent is up and running.

No data is uploaded to grid control.

Grid control can see the host but nothing else; i.,e. the databases, listeners etc can not be discovered.

The analysis was that the internal targets did not get added when the agent was installed. Manually adding the targets worked.

$AGENT_INST/bin/emctl status agent
$AGENT_INST/bin/emctl secure agent
$AGENT_INST/bin/emctl pingOMS
$AGENT_INST/bin/emctl upload agent
$AGENT_INST/bin/emctl config agent addinternaltargets
$AGENT_INST/bin/emctl status agent

SR 3-11063183161 : After adding agents on numerous hosts all listeners are shown as down

Agent is up and running.

Listener is up and running.

Grid control believes the agent is down.

The issue was that the hostname used as Machine Name under Grid Control “Oracle Listener” -> “Target Setup” -> “Monitoring Configuration” is linked to an ipv6 address based on the output of the ping command:

On the listener host:

# ping btemon2p.btexpedite.co.uk

Pinging BTEMON2P.btexpedite.co.uk [fe80::d79:a032:5bfc:3688%11] with 32 bytes of data:
Reply from fe80::d79:a032:5bfc:3688%11: time<1ms
Reply from fe80::d79:a032:5bfc:3688%11: time<1ms
Reply from fe80::d79:a032:5bfc:3688%11: time<1ms
Reply from fe80::d79:a032:5bfc:3688%11: time<1ms

Changing the Machine Name of the Listener in Grid Control “Oracle Listener” -> “Target Setup” -> “Monitoring Configuration” to the ip on which it is registered overcame the issue.