Exportd update/insert every all items and not the one

Hey all,
i use the Exportd (ExternalSystemExecuteScript) to propagate all changes from specified object to our zabbix instance.

the problem is that all objects and not the one that i created/edited is propagated to the script.

I have set the Execution settings, “Run Exportd Job on Event” and “Transfer subset” in the Job Settings, without any success.

Example: create object (only object_id: 24 is fresh created)

[
  {
    "object_id": "13",
    "event": "insert",
    "variables": {
      "hostname": "r2d2",
      "ip": "10.10.11.1",
      "ipmi-ip": "10.10.0.83"
    }
  },
  {
    "object_id": "19",
    "event": "insert",
    "variables": {
      "hostname": "proxmox1",
      "ip": "10.10.0.10",
      "ipmi-ip": "10.10.0.72"
    }
  },
  {
    "object_id": "24",
    "event": "insert",
    "variables": {
      "hostname": "test",
      "ip": "2.2.2.2",
      "ipmi-ip": "1.1.1.1"
    }
  },
  {
    "object_id": "21",
    "event": "insert",
    "variables": {
      "hostname": "ml-server",
      "ip": "10.10.10.42",
      "ipmi-ip": "10.10.0.74"
    }
  },
  {
    "object_id": "22",
    "event": "insert",
    "variables": {
      "hostname": "ml-server-2",
      "ip": "10.10.10.43",
      "ipmi-ip": "10.10.0.75"
    }
  },
  {
    "object_id": "20",
    "event": "insert",
    "variables": {
      "hostname": "proxmox2",
      "ip": "10.10.1.12",
      "ipmi-ip": "10.10.0.73"
    }
  }
]

Same with updated objects, only the “event” field is different and set to “update”.

Only when i delete an object is it working and the script execute with one object.

I hope my explanation are understandable an you can help me

Setup: official Docker Container
DataGerry Version 1.6.4
Database Version 20200512

Regards
Philipp

I found these document, but the “Transfer subset” checkbox is not working as explained.
The only difference is, that i have no condition in my exportd job.

Thank you for the information. We will take a look.

“Transfer subset” mode doesn’t appear to work at all with ExternalSystemExecuteScript, and after trying to modify/create/delete an object, I also don’t see any exportd logs. Interestingly, manual triggering works, in which case I get all objects (as I have no filter defined), whereas the documentation states that manual triggers should be ignored with ‘transfer’ subset’. So, there seems to be multiple issues here.

I have wrote a small ExternalSystemExecuteScript script, this write a simple log file for my tests.

#!/bin/bash
set -x
set -v

if ! command -v jq &> /dev/null
then
	yum install jq -y
fi

#STDIN FROM DATAGERRY
JSON=$(cat /dev/stdin)

echo "$JSON" | jq . >> /opt/scripts/log.log

when i modify/create/delete an item, my script become all items with the specified event state “insert/update/delete”.

https://youtu.be/y0HAO5WWdQM

The same here. This is an important feature for us.
Is it possible to move the topic to “Report a bug” category?