【问题标题】:For REST API monitoring in Oracle Cloud Compute VM, do we need to install the Oracle Cloud Agent?对于 Oracle Cloud Compute VM 中的 REST API 监控,我们是否需要安装 Oracle Cloud Agent?
【发布时间】:2019-03-27 09:11:28
【问题描述】:

我需要使用 REST API 或 Java SDK 监控 Oracle 云计算 VM。那么对于 REST API 监控,我们需要在 VM 中进行任何设置吗?

【问题讨论】:

    标签: oracle-cloud-infrastructure oci-java-sdk


    【解决方案1】:

    不,您不需要在 VM 内进行任何设置,但您确实需要 API 用户在 IAM 策略中获得授权。

    例如使用这样的策略(仅用于读取指标):

    Allow group <api_users> to read metrics in tenancy
    

    然后您就可以使用 API here

    【讨论】:

    • 感谢您的回复
    猜你喜欢
    • 1970-01-01
    • 2022-06-13
    • 2019-12-30
    • 2011-12-10
    • 1970-01-01
    • 2017-01-20
    • 2019-10-05
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多