0

We have to set policy in IAM for API users in order to be authorized. Other than this, any thing has to done?

Also in different ways of monitoring (REST API, Java SDK, using Oracle Cloud Agent), In which way we need to 'Enable Monitoring'?

karthik_varma_k
  • 353
  • 4
  • 26
  • Could you tell us what you have tried and what isn't working yet? – char Mar 28 '19 at 12:38
  • There's a topic [here](https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/enablingmonitoring.htm) that descirbes enable monitoring for compute instances. So, wanted to check if this needs to be done in all the ways of monitoring. – karthik_varma_k Mar 28 '19 at 13:52
  • You have two different kinds of keeping tabs on your VMs in this case, the general REST APIs, which allow you to send all kinds of requests to your OCI objects and the way of monitoring that is mentioned in your link. The second is for specific metrics like [these](https://docs.cloud.oracle.com/iaas/Content/Compute/References/computemetrics.htm). – char Mar 28 '19 at 14:05
  • For the second kind you need to enable monitoring (using the GUI or REST APIs, but not inside the VM). – char Mar 28 '19 at 14:06

1 Answers1

1

Yes, please see this doc for details on the required steps.

Here's an example that shows how to enable / disable instance monitoring from the Java SDK: link

Joe
  • 2,500
  • 1
  • 14
  • 12