Ad Widget

Collapse

Web monitoring and itemid

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • fabrice4
    Junior Member
    • Jul 2015
    • 2

    #1

    Web monitoring and itemid

    Hello,

    I created a Web monitoring and it works. Now some items are available like :

    web.test.rspcode[scenario,step]

    And now I would like to create a Graph for this item. It works with the Gui but I don't know how to script it with the API because I can't get the itemid for this item..

    {
    "jsonrpc": "2.0",
    "method": "item.get",
    "params": {
    "hostids": "11578",
    "search": {
    "key_": "web.test.rspcode[scenario,step]"
    },
    "sortfield": "name"
    },
    "auth": "xxxx",
    "id": 1
    }
    {id=1, jsonrpc=2.0, result=[]}


    And when I check the Latest data page, the item exists but there is no link..

    Thanks for any help
    Fabrice
Working...