Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-12521

Improve logging in external checks

    XMLWordPrintable

    Details

      Description

      get_value_external() prints item->key_orig (and calls it a "key") despite it is then processing item->key:

      zabbix_log(LOG_LEVEL_DEBUG, "In %s() key:'%s'", __function_name, item->key_orig);
      ...
      if (SUCCEED != parse_item_key(item->key, &request))
      

      It would be more useful to see item->key in the logs (or both item->key_orig and item->key).

        Attachments

          Activity

            People

            Assignee:
            vmurzins Valdis Murzins
            Reporter:
            glebs.ivanovskis Glebs Ivanovskis (Inactive)
            Votes:
            2 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: