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
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