描述

The method allows to retrieve discovery checks according to the given parameters.

该方法可以根据给定的参数检索发现检查

(object) 定义希望输出的参数.

返回值

(integer/array) 返回:

  • 对象数组;

  • 如果使用了countOutput参数,将返回对象的计数.

Retrieve discovery checks for a discovery rule 获取发现规则的发现检查

获取被发现规则“6”使用的发现检查.

请求:

响应:

  1. {
  2. "result": [
  3. {
  4. "dcheckid": "6",
  5. "druleid": "4",
  6. "type": "3",
  7. "key_": "",
  8. "snmp_community": "",
  9. "ports": "21",
  10. "snmpv3_securityname": "",
  11. "snmpv3_authpassphrase": "",
  12. "snmpv3_privpassphrase": "",
  13. "uniq": "0",
  14. "snmpv3_authprotocol": "0",
  15. "snmpv3_privprotocol": "0"
  16. }
  17. ],
  18. "id": 1
  19. }

来源