Ad Widget

Collapse

zabbix 3.0 API Document improve

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • hardbone12
    Junior Member
    • Dec 2015
    • 6

    #1

    zabbix 3.0 API Document improve

    The itemprototype.create section of the zabbix 3.0 API documentation give us "Creating an item prototype" Example:

    Request:

    {
    "jsonrpc": "2.0",
    "method": "itemprototype.create",
    "params": {
    "name": "Free disk space on $1",
    "key_": "vfs.fs.size[{#FSNAME},free]",
    "hostid": "10197",
    "ruleid": "27665",
    "type": 0,
    "value_type": 3,
    "interfaceid": "112",
    "delay": 30
    },
    "auth": "038e1d7b1735c6a5436ee9eae095879e",
    "id": 1
    }

    I couldn't find "ruleid" parameter neither in "LLD rule object" nor "Item prototype object"
    So, What does this parameter stand for?
Working...