grafana / grafana-zabbix

Zabbix plugin for Grafana dashboard
http://play.grafana-zabbix.org
Apache License 2.0
2.07k stars 458 forks source link

Item don't translate macro of httptest #639

Open lsa1es opened 5 years ago

lsa1es commented 5 years ago
getItems(hostids, appids, itemtype) {
    var params = {
      output: [
        'name', 'key_',
        'value_type',
        'hostid',
        'status',
        'state'
      ],
      sortfield: 'name',
      webitems: true,
      filter: {},
      selectHosts: ['hostid', 'name']

getItemsByIDs(itemids) {
    var params = {
      itemids: itemids,
      output: [
        'name', 'key_',
        'value_type',
        'hostid',
        'status',
        'state'
      ],
      webitems: true,
      selectHosts: ['hostid', 'name']
    };

but the function httptest.get brings me the translated macro, I would like to do a function that joins the two .. would take webitem: true and would create an http function.

method": "httptest.get",
    "params": {
        "output": "extend",
        "selectSteps": "extend",
        "httptestids": "9",
        "expandName": 1 
        "expandStepName" : 1
lsa1es commented 5 years ago

screen shot 2018-10-30 at 14 19 40 screen shot 2018-10-30 at 14 21 05 screen shot 2018-10-30 at 14 22 11

lsa1es commented 5 years ago

screen shot 2018-10-30 at 14 25 10 screen shot 2018-10-30 at 14 25 29

github-actions[bot] commented 1 month ago

This issue has been automatically marked as stale because it has not had activity in the last 2 years. It will be closed in 60 days if no further activity occurs. Please feel free to leave a comment if you believe the issue is still relevant. Thank you for your contributions!