How to form messages for sending autodiscovery information to zabbix-server right?
For example for sending items I should send message this format:
{
"request":"sender data",
"data": [
{"host":"", "value":"", "key":""}
],
...
}
What should I send in case of autodiscovery message for active client?
data - is an array of hashes such as [ { "{#DISCOVERY1}":"VAL1" } ]. Is it right? What I need to specify as request?
For example for sending items I should send message this format:
{
"request":"sender data",
"data": [
{"host":"", "value":"", "key":""}
],
...
}
What should I send in case of autodiscovery message for active client?
data - is an array of hashes such as [ { "{#DISCOVERY1}":"VAL1" } ]. Is it right? What I need to specify as request?
Comment