Uploaded image for project: 'ZABBIX FEATURE REQUESTS'
  1. ZABBIX FEATURE REQUESTS
  2. ZBXNEXT-1942

Create Windows dynamic link library with zabbix_sender functionality

XMLWordPrintable

    • Icon: New Feature Request New Feature Request
    • Resolution: Fixed
    • Icon: Major Major
    • 2.1.7
    • None
    • Agent (G)
    • None
    • Windows

      The dynamic link library must be named ZabbixSender.dll and will export two functions:

      int zbx_sender_send_values(const char *address, unsigned short port, const char *source, const zbx_sender_value_t *values, int count, char **result);
      Parameters:

      • address - the server address
      • port - the server port
      • source - the soruce ip address (optional)
      • values - an array of zabbix sender values
      • count - the number of items in values array
      • result - the server response or connection error message. The result must be freed with zbx_sender_result_free() function by the caller

      Return value: SUCCEED if the data was sent successfully, the result contains server response (failed/succeeded items)
      FAIL if the data sending failed, result contains an error message

      void zbx_sender_result_free(void *ptr);
      Parameters:

      • ptr - the result data allocated by zbx_sender_send_values() function

            Unassigned Unassigned
            wiper Andris Zeila
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: