In this tutorial we will see how we can check our monitoring agent status.
1-To see agent status use the following command:
Syntax: .../emctl status agent
You can see that the agent is up and running and as well some metrics regarding the local host status, user who has administrative rights on it.
heartbeat status.
2-To stop the agent
Syntax: .../emctl stop agent
3-To start the agent
Syntax: .../emctl start agent
4-To upload the agent
Use this command to force an immediate upload of the current management data from the managed host to the Management Service. Use this command instead of waiting until the next scheduled upload of the data.
Syntax: .../emctl upload
<
pre class="prettyprint linenums lang-sql"> ./emctl upload
Oracle Enterprise Manager Cloud Control 12c Release 3
Copyright (c) 1996, 2013 Oracle Corporation. All rights reserved.
EMD upload completed successfully
5-Check Agent OMS communication
Pings the OMS to check if the agent is able to connect to the OMS. Agent will wait for the reverse ping from the OMS so that agent can say the pingOMS is successful.
Syntax: .../emctl pingOMS