en-us	#### Proxies  In a [proxy](/manual/distributed_monitoring/proxies#configuration) configuration, user macros can be used in the following field:  |Location|<|Multiple macros/mix with text^[1](supported_by_location_user#footnotes)^| |-|------------------------------|----------| |Interface port (for passive proxy)|<|no|
fa	#### پروکسی ها  در یک [پروکسی](/دستی/distributed_monitoring/proxies#configuration) پیکربندی، ماکروهای کاربر را می توان در فیلد زیر استفاده کرد:  |موقعیت|<|چند ماکرو/میکس با متن^[1](پشتیبانی_شده توسط_location_user#footnotes)^| |-|-----------------------------|----------| |پورت رابط (برای پراکسی غیرفعال)|<|نه|

en-us	#### proxy  Changes:\ [ZBXNEXT-6889](https://support.zabbix.com/browse/ZBXNEXT-6889) `proxy.create`, `proxy.update`: dropped support of `interface.interfaceid` and `interface.hostid` properties.\
fa	#### پروکسی  تغییرات:\ [ZBXNEXT-6889](https://support.zabbix.com/browse/ZBXNEXT-6889) «proxy.create»، «proxy.update»: پشتیبانی از ویژگی‌های «interface.interfaceid» و «interface.hostid» قطع شد. \

en-us	##### Proxy config request  The `proxy config` request is sent by proxy to obtain proxy configuration data. This request is sent every `ConfigFrequency` (proxy configuration parameter) seconds.  |name|<|<|<|value type|description| |-|-|-|----------|----------|----------------------------------------| |proxy→server:|<|<|<|<|<| |**request**|<|<|<|*string*|'proxy config'| |**host**|<|<|<|*string*|Proxy name.| |**version**|<|<|<|*string*|Proxy version (<major>.<minor>.<build>).| |server→proxy:|<|<|<|<|<| |**request**|<|<|<|*string*|'proxy config'| |**<table>**|<|<|<|*object*|One or more objects with <table> data.| | |**fields**|<|<|*array*|Array of field names.| |^| |\-|<|*string*|Field name.| |^|**data**|<|<|*array*|Array of rows.| |^| |\-|<|*array*|Array of columns.| |^|^| |\-|*string*,*number*|Column value with type depending on the column type in database schema.| |proxy→server:|<|<|<|<|<| |**response**|<|<|<|*string*|Request success information ('success' or 'failed').|  Example:  proxy→server:  ``` {.javascript} {   "request": "proxy config",   "host": "Proxy #12",   "version":"5.4.0" } ```  server→proxy:  ``` {.javascript} {     "globalmacro":{         "fields":[             "globalmacroid",             "macro",             "value"         ],         "data":[             [                 2,                 "{$SNMP_COMMUNITY}",                 "public"             ]         ]     },     "hosts":{         "fields":[             "hostid",             "host",             "status",             "ipmi_authtype",             "ipmi_privilege",             "ipmi_username",             "ipmi_password",             "name",             "tls_connect",             "tls_accept",             "tls_issuer",             "tls_subject",             "tls_psk_identity",             "tls_psk"         ],         "data":[             [                 10001,                 "Linux",                 3,                 -1,                 2,                 "",                 "",                 "Linux",                 1,                 1,                 "",                 "",                 "",                 ""             ],             [                 10050,                 "Zabbix Agent",                 3,                 -1,                 2,                 "",                 "",                 "Zabbix Agent",                 1,                 1,                 "",                 "",                 "",                 ""             ],             [                 10105,                 "Logger",                 0,                 -1,                 2,                 "",                 "",                 "Logger",                 1,                 1,                 "",                 "",                 "",                 ""             ]         ]     },     "interface":{         "fields":[             "interfaceid",             "hostid",             "main",             "type",             "useip",             "ip",             "dns",             "port",             "bulk"         ],         "data":[             [                 2,                 10105,                 1,                 1,                 1,                 "127.0.0.1",                 "",                 "10050",                 1             ]         ]     },     ... } ```  proxy→server:  ``` {.javascript} {   "response": "success" } ```
fa	##### درخواست پیکربندی پروکسی  درخواست "پیکربندی پروکسی" توسط پراکسی برای دریافت پروکسی ارسال می شود داده های پیکربندی این درخواست در هر «ConfigFrequency» (پراکسی پارامتر پیکربندی) ثانیه.  |نام|<|<|<|نوع مقدار|توضیح| |-|-|-|----------|----------|-------------------- -------------------| |پروکسی→سرور:|<|<|<|<|<| |**درخواست**|<|<|<|*رشته*|'پیکربندی پروکسی'| |**میزبان**|<|<|<|*string*|نام پروکسی.| |**نسخه**|<|<|<|*string*|نسخه پروکسی (<مهد>.<مینور>.<ساخت>).| |سرور→پراکسی:|<|<|<|<|<| |**درخواست**|<|<|<|*رشته*|'پیکربندی پروکسی'| |**<table>**|<|<|<|*object*|یک یا چند شی با داده <table>.| | |**فیلدها**|<|<|*آرایه*|آرایه نام فیلدها.| |^| |\-|<|*string*|نام فیلد.| |^|**داده**|<|<|*آرایه*|آرایه سطرها.| |^| |\-|<|*آرایه*|آرایه ستون ها.| |^|^| |\-|*string*,*number*|مقدار ستون با نوع بسته به نوع ستون در طرح پایگاه داده.| |پروکسی→سرور:|<|<|<|<|<| |**پاسخ**|<|<|<|*string*|درخواست اطلاعات موفقیت ('موفقیت' یا 'شکست').|  مثال:  پروکسی← سرور:  ``` {.javascript} {   "درخواست": "پیکربندی پروکسی"،   "میزبان": "پراکسی شماره 12"،   "نسخه": "5.4.0" } ```  سرور → پروکسی:  ``` {.javascript} {     "globalmacro":{         "زمینه های":[             "گلوبال ماکروید"،             "کلان"،             "ارزش"         ]،         "داده ها":[             [                 2،                 «{$SNMP_COMMUNITY}»،                 "عمومی"             ]         ]     }،     "میزبان":{         "زمینه های":[             "میزبان"،             "میزبان"،             "وضعیت"،             "ipmi_authtype"،             "ipmi_privilege"،             "ipmi_username"،             "ipmi_password"،             "نام"،             "tls_connect"،             "tls_accept"،             "tls_issuer"،             "tls_subject"،             "tls_psk_identity"،             "tls_psk"         ]،         "داده ها":[             [                 10001،                 "لینوکس"،                 3،                 -1،                 2،                 ""،                 ""،                 "لینوکس"،                 1،                 1،                 ""،                 ""،                 ""،                 ""             ]،             [                 10050،                 "عامل Zabbix",                 3،                 -1،                 2،                 ""،                 ""،                 "عامل Zabbix",                 1،                 1،                 ""،                 ""،                 ""،                 ""             ]،             [                 10105،                 "متمرکز ساز"،                 0،                 -1،                 2،                 ""،                 ""،                 "متمرکز ساز"،                 1،                 1،                 ""،                 ""،                 ""،                 ""             ]         ]     }،     "رابط":{         "زمینه های":[             "رابط"،             "میزبان"،             "اصلی"،             "نوع"،             "useip"،             "IP"،             "dns"،             "بندر"،             "فله"         ]،         "داده ها":[             [                 2،                 10105،                 1،                 1،                 1،                 "127.0.0.1"،                 ""،                 "10050"،                 1             ]         ]     }،     ... } ```  پروکسی← سرور:  ``` {.javascript} {   "پاسخ": "موفقیت" } ```

en-us	##### Proxy config request  The `proxy config` request is sent by server to provide proxy configuration data. This request is sent every `ProxyConfigFrequency` (server configuration parameter) seconds.  |name|<|<|<|value type|description| |-|-|-|----------|----------|----------------------------------------| |server→proxy:|<|<|<|<|<| |**request**|<|<|<|*string*|'proxy config'| |**<table>**|<|<|<|*object*|One or more objects with <table> data.| | |**fields**|<|<|*array*|Array of field names.| |^| |\-|<|*string*|Field name.| |^|**data**|<|<|*array*|Array of rows.| |^| |\-|<|*array*|Array of columns.| |^|^| |\-|*string*,*number*|Column value with type depending on the column type in database schema.| |proxy→server:|<|<|<|<|<| |**response**|<|<|<|*string*|Request success information ('success' or 'failed').| |**version**|<|<|<|*string*|Proxy version (<major>.<minor>.<build>).|  Example:  server→proxy:  ``` {.javascript} {     "request": "proxy config",     "globalmacro":{         "fields":[             "globalmacroid",             "macro",             "value"         ],         "data":[             [                 2,                 "{$SNMP_COMMUNITY}",                 "public"             ]         ]     },     "hosts":{         "fields":[             "hostid",             "host",             "status",             "ipmi_authtype",             "ipmi_privilege",             "ipmi_username",             "ipmi_password",             "name",             "tls_connect",             "tls_accept",             "tls_issuer",             "tls_subject",             "tls_psk_identity",             "tls_psk"         ],         "data":[             [                 10001,                 "Linux",                 3,                 -1,                 2,                 "",                 "",                 "Linux",                 1,                 1,                 "",                 "",                 "",                 ""             ],             [                 10050,                 "Zabbix Agent",                 3,                 -1,                 2,                 "",                 "",                 "Zabbix Agent",                 1,                 1,                 "",                 "",                 "",                 ""             ],             [                 10105,                 "Logger",                 0,                 -1,                 2,                 "",                 "",                 "Logger",                 1,                 1,                 "",                 "",                 "",                 ""             ]         ]     },     "interface":{         "fields":[             "interfaceid",             "hostid",             "main",             "type",             "useip",             "ip",             "dns",             "port",             "bulk"         ],         "data":[             [                 2,                 10105,                 1,                 1,                 1,                 "127.0.0.1",                 "",                 "10050",                 1             ]         ]     },     ... } ```  proxy→server:  ``` {.javascript} {   "response": "success",   "version": "6.0.0" } ```
fa	##### درخواست پیکربندی پروکسی  درخواست "پیکربندی پروکسی" توسط سرور برای ارائه پروکسی ارسال می شود داده های پیکربندی این درخواست در هر «ProxyConfigFrequency» ارسال می‌شود (پارامتر پیکربندی سرور) ثانیه.  |نام|<|<|<|نوع مقدار|توضیح| |-|-|-|----------|----------|-------------------- -------------------| |سرور→پراکسی:|<|<|<|<|<| |**درخواست**|<|<|<|*رشته*|'پیکربندی پروکسی'| |**<table>**|<|<|<|*object*|یک یا چند شی با داده <table>.| | |**فیلدها**|<|<|*آرایه*|آرایه نام فیلدها.| |^| |\-|<|*string*|نام فیلد.| |^|**داده**|<|<|*آرایه*|آرایه سطرها.| |^| |\-|<|*آرایه*|آرایه ستون ها.| |^|^| |\-|*string*,*number*|مقدار ستون با نوع بسته به نوع ستون در طرح پایگاه داده.| |پروکسی→سرور:|<|<|<|<|<| |**پاسخ**|<|<|<|*string*|درخواست اطلاعات موفقیت ('موفقیت' یا 'شکست').| |**نسخه**|<|<|<|*string*|نسخه پروکسی (<مهد>.<مینور>.<ساخت>).|  مثال:  سرور → پروکسی:  ``` {.javascript} {     "درخواست": "پیکربندی پروکسی"،     "globalmacro":{         "زمینه های":[             "گلوبال ماکروید"،             "کلان"،             "ارزش"         ]،         "داده ها":[             [                 2،                 «{$SNMP_COMMUNITY}»،                 "عمومی"             ]         ]     }،     "میزبان":{         "زمینه های":[             "میزبان"،             "میزبان"،             "وضعیت"،             "ipmi_authtype"،             "ipmi_privilege"،             "ipmi_username"،             "ipmi_password"،             "نام"،             "tls_connect"،             "tls_accept"،             "tls_issuer"،             "tls_subject"،             "tls_psk_identity"،             "tls_psk"         ]،         "داده ها":[             [                 10001،                 "لینوکس"،                 3،                 -1،                 2،                 ""،                 ""،                 "لینوکس"،                 1،                 1،                 ""،                 ""،                 ""،                 ""             ]،             [                 10050،                 "عامل Zabbix",                 3،                 -1،                 2،                 ""،                 ""،                 "عامل Zabbix",                 1،                 1،                 ""،                 ""،                 ""،                 ""             ]،             [                 10105،                 "متمرکز ساز"،                 0،                 -1،                 2،                 ""،                 ""،                 "متمرکز ساز"،                 1،                 1،                 ""،                 ""،                 ""،                 ""             ]         ]     }،     "رابط":{         "زمینه های":[             "رابط"،             "میزبان"،             "اصلی"،             "نوع"،             "useip"،             "IP"،             "dns"،             "بندر"،             "فله"         ]،         "داده ها":[             [                 2،                 10105،                 1،                 1،                 1،                 "127.0.0.1"،                 ""،                 "10050"،                 1             ]         ]     }،     ... } ```  پروکسی → سرور:  ``` {.javascript} {   "پاسخ": "موفقیت"،   "نسخه": "6.0.0" } ```

en-us	##### Proxy configuration  HA cluster nodes (servers) must be listed in the configuration of either  passive or active Zabbix proxy.  For a passive proxy, the node names must be listed in the Server [parameter](/manual/appendix/config/zabbix_proxy) of the proxy,  separated by a **comma**.  ``` Server=zabbix-node-01,zabbix-node-02 ```  For an active proxy, the node names must be listed in the Server [parameter](/manual/appendix/config/zabbix_proxy) of the proxy,  separated by a **semicolon**. ``` Server=zabbix-node-01;zabbix-node-02 ```
fa	##### پیکربندی پروکسی  گره های خوشه HA (سرورها) باید در پیکربندی هر کدام فهرست شوند پراکسی Zabbix غیرفعال یا فعال  برای یک پروکسی غیرفعال، نام گره ها باید در سرور ذکر شوند [پارامتر](/manual/appendix/config/zabbix_proxy) پروکسی، با **کاما** از هم جدا می شوند.  ``` سرور=zabbix-node-01,zabbix-node-02 ```  برای یک پروکسی فعال، نام گره ها باید در سرور فهرست شوند [پارامتر](/manual/appendix/config/zabbix_proxy) پروکسی، با **نقطه ویرگول** از هم جدا شده است. ``` سرور=zabbix-node-01;zabbix-node-02 ```

en-us	# proxy.create
fa	# proxy.update

en-us	##### Proxy data request  The `proxy data` request is sent by proxy to provide host interface availability, history, discovery and autoregistration data. This request is sent every `DataSenderFrequency` (proxy configuration parameter) seconds. Note that active proxy will still poll Zabbix server every second for remote command tasks (with an empty `proxy data` request).  |name|<|value type|description| |-|----------|----------|----------------------------------------| |proxy→server:|<|<|<| |**request**|<|*string*|'proxy data'| |**host**|<|*string*|Proxy name.| |**session**|<|*string*|Data session token.| |**interface availability**|<|*array*|*(optional)* Array of interface availability data objects.| | |**interfaceid**|*number*|Interface identifier.| |^|**available**|*number*|Interface availability:<br><br>**0**, *INTERFACE\_AVAILABLE\_UNKNOWN* - unknown<br>**1**, *INTERFACE\_AVAILABLE\_TRUE* - available<br>**2**, *INTERFACE\_AVAILABLE\_FALSE* - unavailable| |^|**error**|*string*|Interface error message or empty string.| |**history data**|<|*array*|*(optional)* Array of history data objects.| | |**itemid**|*number*|Item identifier.| |^|**clock**|*number*|Item value timestamp (seconds).| |^|**ns**|*number*|Item value timestamp (nanoseconds).| |^|**value**|*string*|*(optional)* Item value.| |^|**id**|*number*|Value identifier (ascending counter, unique within one data session).| |^|**timestamp**|*number*|*(optional)* Timestamp of log type items.| |^|**source**|*string*|*(optional)* Eventlog item source value.| |^|**severity**|*number*|*(optional)* Eventlog item severity value.| |^|**eventid**|*number*|*(optional)* Eventlog item eventid value.| |^|**state**|*string*|*(optional)* Item state:<br>**0**, *ITEM\_STATE\_NORMAL*<br>**1**, *ITEM\_STATE\_NOTSUPPORTED*| |^|**lastlogsize**|*number*|*(optional)* Last log size of log type items.| |^|**mtime**|*number*|*(optional)* Modification time of log type items.| |**discovery data**|<|*array*|*(optional)* Array of discovery data objects.| | |**clock**|*number*|Discovery data timestamp.| |^|**druleid**|*number*|Discovery rule identifier.| |^|**dcheckid**|*number*|Discovery check identifier or null for discovery rule data.| |^|**type**|*number*|Discovery check type:<br><br>**-1** discovery rule data<br>**0**, *SVC\_SSH* - SSH service check<br>**1**, *SVC\_LDAP* - LDAP service check<br>**2**, *SVC\_SMTP* - SMTP service check<br>**3**, *SVC\_FTP* - FTP service check<br>**4**, *SVC\_HTTP* - HTTP service check<br>**5**, *SVC\_POP* - POP service check<br>**6**, *SVC\_NNTP* - NNTP service check<br>**7**, *SVC\_IMAP* - IMAP service check<br>**8**, *SVC\_TCP* - TCP port availability check<br>**9**, *SVC\_AGENT* - Zabbix agent<br>**10**, *SVC\_SNMPv1* - SNMPv1 agent<br>**11**, *SVC\_SNMPv2* - SNMPv2 agent<br>**12**, *SVC\_ICMPPING* - ICMP ping<br>**13**, *SVC\_SNMPv3* - SNMPv3 agent<br>**14**, *SVC\_HTTPS* - HTTPS service check<br>**15**, *SVC\_TELNET* - Telnet availability check| |^|**ip**|*string*|Host IP address.| |^|**dns**|*string*|Host DNS name.| |^|**port**|*number*|*(optional)* Service port number.| |^|**key\_**|*string*|*(optional)* Item key for discovery check of type **9** *SVC\_AGENT*| |^|**value**|*string*|*(optional)* Value received from the service, can be empty for most services.| |^|**status**|*number*|*(optional)* Service status:<br><br>**0**, *DOBJECT\_STATUS\_UP* - Service UP<br>**1**, *DOBJECT\_STATUS\_DOWN* - Service DOWN| |**autoregistration**|<|*array*|*(optional)* Array of autoregistration data objects.| | |**clock**|*number*|Autoregistration data timestamp.| |^|**host**|*string*|Host name.| |^|**ip**|*string*|*(optional)* Host IP address.| |^|**dns**|*string*|*(optional)* Resolved DNS name from IP address.| |^|**port**|*string*|*(optional)* Host port.| |^|**host\_metadata**|*string*|*(optional)* Host metadata sent by the agent (based on HostMetadata or HostMetadataItem agent configuration parameter).| |**tasks**|<|*array*|*(optional)* Array of tasks.| | |**type**|*number*|Task type:<br><br>**0**, *ZBX\_TM\_TASK\_PROCESS\_REMOTE\_COMMAND\_RESULT* - remote command result| |^|**status**|*number*|Remote-command execution status:<br><br>**0**, *ZBX\_TM\_REMOTE\_COMMAND\_COMPLETED* - remote command completed successfully<br>**1**, *ZBX\_TM\_REMOTE\_COMMAND\_FAILED* - remote command failed| |^|**error**|*string*|*(optional)* Error message.| |^|**parent\_taskid**|*number*|Parent task ID.| |**more**|<|*number*|*(optional)* 1 - there are more history data to send.| |**clock**|<|*number*|*(optional)* Data transfer timestamp (seconds).| |**ns**|<|*number*|*(optional)* Data transfer timestamp (nanoseconds).| |**version**|<|*string*|Proxy version (<major>.<minor>.<build>).| |server→proxy:|<|<|<| |**response**|<|*string*|Request success information ('success' or 'failed').| |**upload**|<|*string*|Upload control for historical data (history, autoregistration, host availability, network discovery).<br><br>Possible values:<br>**enabled** - normal operation<br>**disabled** - server is not accepting data (possibly due to internal cache over limit)| |**tasks**|<|*array*|*(optional)* Array of tasks.| | |**type**|*number*|Task type:<br><br>**1**, *ZBX\_TM\_TASK\_PROCESS\_REMOTE\_COMMAND* - remote command| |^|**clock**|*number*|Task creation time.| |^|**ttl**|*number*|Time in seconds after which the task expires.| |^|**commandtype**|*number*|Remote-command type:<br><br>**0**, *ZBX\_SCRIPT\_TYPE\_CUSTOM\_SCRIPT* - use custom script<br>**1**, *ZBX\_SCRIPT\_TYPE\_IPMI* - use IPMI<br>**2**, *ZBX\_SCRIPT\_TYPE\_SSH* - use SSH<br>**3**, *ZBX\_SCRIPT\_TYPE\_TELNET* - use Telnet<br>**4**, *ZBX\_SCRIPT\_TYPE\_GLOBAL\_SCRIPT* - use global script (currently functionally equivalent to custom script)| |^|**command**|*string*|Remote command to execute.| |^|**execute\_on**|*number*|Execution target for custom scripts:<br><br>**0**, *ZBX\_SCRIPT\_EXECUTE\_ON\_AGENT* - execute script on agent<br>**1**, *ZBX\_SCRIPT\_EXECUTE\_ON\_SERVER* - execute script on server<br>**2**, *ZBX\_SCRIPT\_EXECUTE\_ON\_PROXY* - execute script on proxy| |^|**port**|*number*|*(optional)* Port for Telnet and SSH commands.| |^|**authtype**|*number*|*(optional)* Authentication type for SSH commands.| |^|**username**|*string*|*(optional)* User name for Telnet and SSH commands.| |^|**password**|*string*|*(optional)* Password for Telnet and SSH commands.| |^|**publickey**|*string*|*(optional)* Public key for SSH commands.| |^|**privatekey**|*string*|*(optional)* Private key for SSH commands.| |^|**parent\_taskid**|*number*|Parent task ID.| |^|**hostid**|*number*|Target host ID.|  Example:  proxy→server:  ``` {.javascript} {     "request": "proxy data",     "host": "Proxy #12",      "session": "12345678901234567890123456789012",     "interface availability": [         {             "interfaceid": 1,             "available": 1,             "error": ""     },         {             "interfaceid": 2,             "available": 2,             "error": "Get value from agent failed: cannot connect to [[127.0.0.1]:10049]: [111] Connection refused"     },         {             "interfaceid": 3,             "available": 1,             "error": ""     },         {             "interfaceid": 4,             "available": 1,             "error": ""     }     ],     "history data":[         {             "itemid":"12345",             "clock":1478609647,             "ns":332510044,             "value":"52956612",             "id": 1         },         {             "itemid":"12346",             "clock":1478609647,             "ns":330690279,             "state":1,             "value":"Cannot find information for this network interface in /proc/net/dev.",             "id": 2         }     ],     "discovery data":[         {             "clock":1478608764,             "drule":2,             "dcheck":3,             "type":12,             "ip":"10.3.0.10",             "dns":"vdebian",             "status":1         },         {             "clock":1478608764,             "drule":2,             "dcheck":null,             "type":-1,             "ip":"10.3.0.10",             "dns":"vdebian",             "status":1         }     ],     "auto registration":[         {             "clock":1478608371,             "host":"Logger1",             "ip":"10.3.0.1",             "dns":"localhost",             "port":"10050"         },         {             "clock":1478608381,             "host":"Logger2",             "ip":"10.3.0.2",             "dns":"localhost",             "port":"10050"         }     ],     "tasks":[         {             "type": 2,             "clock":1478608371,             "ttl": 600,             "commandtype": 2,             "command": "restart_service1.sh",             "execute_on": 2,             "port": 80,             "authtype": 0,             "username": "userA",             "password": "password1",             "publickey": "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCqGKukO1De7zhZj6+H0qtjTkVxwTCpvKe",             "privatekey": "lsuusFncCzWBQ7RKNUSesmQRMSGkVb1/3j+skZ6UtW+5u09lHNsj6tQ5QCqGKukO1De7zhd",             "parent_taskid": 10,             "hostid": 10070         },         {             "type": 2,             "clock":1478608381,             "ttl": 600,             "commandtype": 1,             "command": "restart_service2.sh",             "execute_on": 0,             "authtype": 0,             "username": "",             "password": "",             "publickey": "",             "privatekey": "",             "parent_taskid": 20,             "hostid": 10084         }     ],     "tasks":[         {             "type": 0,             "status": 0,             "parent_taskid": 10         },         {             "type": 0,             "status": 1,             "error": "No permissions to execute task.",             "parent_taskid": 20         }     ],      "version":"5.4.0" } ```  server→proxy:  ``` {.javascript} {   "response": "success",   "upload": "enabled",   "tasks":[       {          "type": 1,          "clock": 1478608371,          "ttl": 600,          "commandtype": 2,          "command": "restart_service1.sh",          "execute_on": 2,          "port": 80,          "authtype": 0,          "username": "userA",          "password": "password1",          "publickey": "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCqGKukO1De7zhZj6+H0qtjTkVxwTCpvKe",          "privatekey": "lsuusFncCzWBQ7RKNUSesmQRMSGkVb1/3j+skZ6UtW+5u09lHNsj6tQ5QCqGKukO1De7zhd",          "parent_taskid": 10,          "hostid": 10070       },       {          "type": 1,          "clock": 1478608381,          "ttl": 600,          "commandtype": 1,          "command": "restart_service2.sh",          "execute_on": 0,          "authtype": 0,          "username": "",          "password": "",          "publickey": "",          "privatekey": "",          "parent_taskid": 20,          "hostid": 10084       }   ] } ```
fa	##### Proxy data request  The `proxy data` request is sent by proxy to provide host interface availability, history, discovery and autoregistration data. This request is sent every `DataSenderFrequency` (proxy configuration parameter) seconds. Note that active proxy will still poll Zabbix server every second for remote command tasks (with an empty `proxy data` request).  |name|<|value type|description| |-|----------|----------|----------------------------------------| |proxy→server:|<|<|<| |**request**|<|*string*|'proxy data'| |**host**|<|*string*|Proxy name.| |**session**|<|*string*|Data session token.| |**interface availability**|<|*array*|*(optional)* Array of interface availability data objects.| | |**interfaceid**|*number*|Interface identifier.| |^|**available**|*number*|Interface availability:<br><br>**0**, *INTERFACE\_AVAILABLE\_UNKNOWN* - unknown<br>**1**, *INTERFACE\_AVAILABLE\_TRUE* - available<br>**2**, *INTERFACE\_AVAILABLE\_FALSE* - unavailable| |^|**error**|*string*|Interface error message or empty string.| |**history data**|<|*array*|*(optional)* Array of history data objects.| | |**itemid**|*number*|Item identifier.| |^|**clock**|*number*|Item value timestamp (seconds).| |^|**ns**|*number*|Item value timestamp (nanoseconds).| |^|**value**|*string*|*(optional)* Item value.| |^|**id**|*number*|Value identifier (ascending counter, unique within one data session).| |^|**timestamp**|*number*|*(optional)* Timestamp of log type items.| |^|**source**|*string*|*(optional)* Eventlog item source value.| |^|**severity**|*number*|*(optional)* Eventlog item severity value.| |^|**eventid**|*number*|*(optional)* Eventlog item eventid value.| |^|**state**|*string*|*(optional)* Item state:<br>**0**, *ITEM\_STATE\_NORMAL*<br>**1**, *ITEM\_STATE\_NOTSUPPORTED*| |^|**lastlogsize**|*number*|*(optional)* Last log size of log type items.| |^|**mtime**|*number*|*(optional)* Modification time of log type items.| |**discovery data**|<|*array*|*(optional)* Array of discovery data objects.| | |**clock**|*number*|Discovery data timestamp.| |^|**druleid**|*number*|Discovery rule identifier.| |^|**dcheckid**|*number*|Discovery check identifier or null for discovery rule data.| |^|**type**|*number*|Discovery check type:<br><br>**-1** discovery rule data<br>**0**, *SVC\_SSH* - SSH service check<br>**1**, *SVC\_LDAP* - LDAP service check<br>**2**, *SVC\_SMTP* - SMTP service check<br>**3**, *SVC\_FTP* - FTP service check<br>**4**, *SVC\_HTTP* - HTTP service check<br>**5**, *SVC\_POP* - POP service check<br>**6**, *SVC\_NNTP* - NNTP service check<br>**7**, *SVC\_IMAP* - IMAP service check<br>**8**, *SVC\_TCP* - TCP port availability check<br>**9**, *SVC\_AGENT* - Zabbix agent<br>**10**, *SVC\_SNMPv1* - SNMPv1 agent<br>**11**, *SVC\_SNMPv2* - SNMPv2 agent<br>**12**, *SVC\_ICMPPING* - ICMP ping<br>**13**, *SVC\_SNMPv3* - SNMPv3 agent<br>**14**, *SVC\_HTTPS* - HTTPS service check<br>**15**, *SVC\_TELNET* - Telnet availability check| |^|**ip**|*string*|Host IP address.| |^|**dns**|*string*|Host DNS name.| |^|**port**|*number*|*(optional)* Service port number.| |^|**key\_**|*string*|*(optional)* Item key for discovery check of type **9** *SVC\_AGENT*| |^|**value**|*string*|*(optional)* Value received from the service, can be empty for most services.| |^|**status**|*number*|*(optional)* Service status:<br><br>**0**, *DOBJECT\_STATUS\_UP* - Service UP<br>**1**, *DOBJECT\_STATUS\_DOWN* - Service DOWN| |**autoregistration**|<|*array*|*(optional)* Array of autoregistration data objects.| | |**clock**|*number*|Autoregistration data timestamp.| |^|**host**|*string*|Host name.| |^|**ip**|*string*|*(optional)* Host IP address.| |^|**dns**|*string*|*(optional)* Resolved DNS name from IP address.| |^|**port**|*string*|*(optional)* Host port.| |^|**host\_metadata**|*string*|*(optional)* Host metadata sent by the agent (based on HostMetadata or HostMetadataItem agent configuration parameter).| |**tasks**|<|*array*|*(optional)* Array of tasks.| | |**type**|*number*|Task type:<br><br>**0**, *ZBX\_TM\_TASK\_PROCESS\_REMOTE\_COMMAND\_RESULT* - remote command result| |^|**status**|*number*|Remote-command execution status:<br><br>**0**, *ZBX\_TM\_REMOTE\_COMMAND\_COMPLETED* - remote command completed successfully<br>**1**, *ZBX\_TM\_REMOTE\_COMMAND\_FAILED* - remote command failed| |^|**error**|*string*|*(optional)* Error message.| |^|**parent\_taskid**|*number*|Parent task ID.| |**more**|<|*number*|*(optional)* 1 - there are more history data to send.| |**clock**|<|*number*|*(optional)* Data transfer timestamp (seconds).| |**ns**|<|*number*|*(optional)* Data transfer timestamp (nanoseconds).| |**version**|<|*string*|Proxy version (<major>.<minor>.<build>).| |server→proxy:|<|<|<| |**response**|<|*string*|Request success information ('success' or 'failed').| |**upload**|<|*string*|Upload control for historical data (history, autoregistration, host availability, network discovery).<br><br>Possible values:<br>**enabled** - normal operation<br>**disabled** - server is not accepting data (possibly due to internal cache over limit)| |**tasks**|<|*array*|*(optional)* Array of tasks.| | |**type**|*number*|Task type:<br><br>**1**, *ZBX\_TM\_TASK\_PROCESS\_REMOTE\_COMMAND* - remote command| |^|**clock**|*number*|Task creation time.| |^|**ttl**|*number*|Time in seconds after which the task expires.| |^|**commandtype**|*number*|Remote-command type:<br><br>**0**, *ZBX\_SCRIPT\_TYPE\_CUSTOM\_SCRIPT* - use custom script<br>**1**, *ZBX\_SCRIPT\_TYPE\_IPMI* - use IPMI<br>**2**, *ZBX\_SCRIPT\_TYPE\_SSH* - use SSH<br>**3**, *ZBX\_SCRIPT\_TYPE\_TELNET* - use Telnet<br>**4**, *ZBX\_SCRIPT\_TYPE\_GLOBAL\_SCRIPT* - use global script (currently functionally equivalent to custom script)| |^|**command**|*string*|Remote command to execute.| |^|**execute\_on**|*number*|Execution target for custom scripts:<br><br>**0**, *ZBX\_SCRIPT\_EXECUTE\_ON\_AGENT* - execute script on agent<br>**1**, *ZBX\_SCRIPT\_EXECUTE\_ON\_SERVER* - execute script on server<br>**2**, *ZBX\_SCRIPT\_EXECUTE\_ON\_PROXY* - execute script on proxy| |^|**port**|*number*|*(optional)* Port for Telnet and SSH commands.| |^|**authtype**|*number*|*(optional)* Authentication type for SSH commands.| |^|**username**|*string*|*(optional)* User name for Telnet and SSH commands.| |^|**password**|*string*|*(optional)* Password for Telnet and SSH commands.| |^|**publickey**|*string*|*(optional)* Public key for SSH commands.| |^|**privatekey**|*string*|*(optional)* Private key for SSH commands.| |^|**parent\_taskid**|*number*|Parent task ID.| |^|**hostid**|*number*|Target host ID.|  Example:  proxy→server:  ``` {.javascript} {     "request": "proxy data",     "host": "Proxy #12",      "session": "12345678901234567890123456789012",     "interface availability": [         {             "interfaceid": 1,             "available": 1,             "error": ""     },         {             "interfaceid": 2,             "available": 2,             "error": "Get value from agent failed: cannot connect to [[127.0.0.1]:10049]: [111] Connection refused"     },         {             "interfaceid": 3,             "available": 1,             "error": ""     },         {             "interfaceid": 4,             "available": 1,             "error": ""     }     ],     "history data":[         {             "itemid":"12345",             "clock":1478609647,             "ns":332510044,             "value":"52956612",             "id": 1         },         {             "itemid":"12346",             "clock":1478609647,             "ns":330690279,             "state":1,             "value":"Cannot find information for this network interface in /proc/net/dev.",             "id": 2         }     ],     "discovery data":[         {             "clock":1478608764,             "drule":2,             "dcheck":3,             "type":12,             "ip":"10.3.0.10",             "dns":"vdebian",             "status":1         },         {             "clock":1478608764,             "drule":2,             "dcheck":null,             "type":-1,             "ip":"10.3.0.10",             "dns":"vdebian",             "status":1         }     ],     "auto registration":[         {             "clock":1478608371,             "host":"Logger1",             "ip":"10.3.0.1",             "dns":"localhost",             "port":"10050"         },         {             "clock":1478608381,             "host":"Logger2",             "ip":"10.3.0.2",             "dns":"localhost",             "port":"10050"         }     ],     "tasks":[         {             "type": 2,             "clock":1478608371,             "ttl": 600,             "commandtype": 2,             "command": "restart_service1.sh",             "execute_on": 2,             "port": 80,             "authtype": 0,             "username": "userA",             "password": "password1",             "publickey": "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCqGKukO1De7zhZj6+H0qtjTkVxwTCpvKe",             "privatekey": "lsuusFncCzWBQ7RKNUSesmQRMSGkVb1/3j+skZ6UtW+5u09lHNsj6tQ5QCqGKukO1De7zhd",             "parent_taskid": 10,             "hostid": 10070         },         {             "type": 2,             "clock":1478608381,             "ttl": 600,             "commandtype": 1,             "command": "restart_service2.sh",             "execute_on": 0,             "authtype": 0,             "username": "",             "password": "",             "publickey": "",             "privatekey": "",             "parent_taskid": 20,             "hostid": 10084         }     ],     "tasks":[         {             "type": 0,             "status": 0,             "parent_taskid": 10         },         {             "type": 0,             "status": 1,             "error": "No permissions to execute task.",             "parent_taskid": 20         }     ],      "version":"5.4.0" } ```  server→proxy:  ``` {.javascript} {   "response": "success",   "upload": "enabled",   "tasks":[       {          "type": 1,          "clock": 1478608371,          "ttl": 600,          "commandtype": 2,          "command": "restart_service1.sh",          "execute_on": 2,          "port": 80,          "authtype": 0,          "username": "userA",          "password": "password1",          "publickey": "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCqGKukO1De7zhZj6+H0qtjTkVxwTCpvKe",          "privatekey": "lsuusFncCzWBQ7RKNUSesmQRMSGkVb1/3j+skZ6UtW+5u09lHNsj6tQ5QCqGKukO1De7zhd",          "parent_taskid": 10,          "hostid": 10070       },       {          "type": 1,          "clock": 1478608381,          "ttl": 600,          "commandtype": 1,          "command": "restart_service2.sh",          "execute_on": 0,          "authtype": 0,          "username": "",          "password": "",          "publickey": "",          "privatekey": "",          "parent_taskid": 20,          "hostid": 10084       }   ] } ```

en-us	# proxy.delete
fa	#حذف هاست 

en-us	##### Proxy heartbeat request  The `proxy heartbeat` request is sent by proxy to report that proxy is running. This request is sent every `HeartbeatFrequency` (proxy configuration parameter) seconds.  |name|value type|description| |----------|----------|----------------------------------------| |proxy→server:|<|<| |**request**|*string*|'proxy heartbeat'| |**host**|*string*|Proxy name.| |**version**|*string*|Proxy version (<major>.<minor>.<build>).| |server→proxy:|<|<| |**response**|*string*|Request success information ('success' or 'failed').|  proxy→server:  ``` {.javascript} {    "request": "proxy heartbeat",    "host": "Proxy #12",    "version": "5.4.0" } ```  server→proxy:  ``` {.javascript} {   "response": "success" } ```
fa	##### درخواست ضربان قلب پروکسی  درخواست «پراکسی ضربان قلب» توسط پراکسی ارسال می‌شود تا آن پروکسی را گزارش کند در حال اجرا این درخواست در هر «HeartbeatFrequency» (پراکسی پارامتر پیکربندی) ثانیه.  |نام|نوع مقدار|توضیحات| |----------|----------|-------------------------- -------------| |پراکسی→سرور:|<|<| |**درخواست**|*رشته*|'پراکسی ضربان قلب'| |**میزبان**|*رشته*|نام پروکسی.| |**نسخه**|*string*|نسخه پروکسی (<major>.<minor>.<build>).| |سرور→پراکسی:|<|<| |**پاسخ**|*string*|اطلاعات موفقیت را درخواست کنید ('موفقیت' یا 'شکست').|  پروکسی← سرور:  ``` {.javascript} {    "درخواست": "تپش قلب پروکسی"،    "میزبان": "پراکسی شماره 12"،    "نسخه": "5.4.0" } ```  سرور → پروکسی:  ``` {.javascript} {   "پاسخ": "موفقیت" } ```

en-us	### Proxy history housekeeping  The limitation on the amount of outdated information deleted from the proxy database per proxy history housekeeping cycle has been removed.  Previously the [housekeeper](/manual/web_interface/frontend_sections/administration/general#housekeeper) deleted only no more than 4 times the [`HousekeepingFrequency`](/manual/appendix/config/zabbix_proxy) hours of outdated information. For example, if `HousekeepingFrequency` was set to "1", no more than 4 hours of outdated information (starting from the oldest entry) was deleted. In cases when a proxy would constantly receive data older than set in [`ProxyOfflineBuffer`](/manual/appendix/config/zabbix_proxy), this could result in excessive data accumulation.  Now this limitation has been removed, providing a more effective proxy history housekeeping solution.
fa	### خانه داری تاریخچه پروکسی  محدودیت در مقدار اطلاعات قدیمی حذف شده از پایگاه داده پروکسی در هر چرخه خانه داری تاریخچه پروکسی حذف شده است.  قبلاً [housekeeper](/manual/web_interface/frontend_sections/administration/general#housekeeper) تنها بیش از 4 برابر ['HousekeepingFrequency'](/manual/appendix/config/zabbix_proxy) ساعت اطلاعات قدیمی را حذف می‌کرد. به عنوان مثال، اگر "فرکانس خانه" روی "1" تنظیم شده بود، بیش از 4 ساعت اطلاعات قدیمی (از قدیمی ترین ورودی شروع می شود) حذف نمی شود. در مواردی که یک پروکسی دائماً داده‌های قدیمی‌تر از تنظیم‌شده در [`ProxyOfflineBuffer`](/manual/appendix/config/zabbix_proxy) را دریافت می‌کند، این می‌تواند منجر به تجمع بیش از حد داده شود.  اکنون این محدودیت برداشته شده است و راه حل کارآمدتری برای خانه داری تاریخچه پروکسی ارائه می دهد.

en-us	#### Proxy process types  -   `availability manager` - process for host availability updates -   `configuration syncer` - process for managing in-memory cache of     configuration data -   `data sender` - proxy data sender -   `discoverer` - process for discovery of devices -   `heartbeat sender` - proxy heartbeat sender -   `history poller` - process for handling calculated, aggregated and     internal checks requiring a database connection -   `history syncer` - history DB writer -   `housekeeper` - process for removal of old historical data -   `http poller` - web monitoring poller -   `icmp pinger` - poller for icmpping checks -   `ipmi manager` - IPMI poller manager -   `ipmi poller` - poller for IPMI checks -   `java poller` - poller for Java checks -   `odbc poller` - poller for ODBC checks -   `poller` - normal poller for passive checks -   `preprocessing manager` - manager of preprocessing tasks -   `preprocessing worker` - process for data preprocessing -   `self-monitoring` - process for collecting internal server     statistics -   `snmp trapper` - trapper for SNMP traps -   `task manager` - process for remote execution of tasks requested by     other components (e.g. close problem, acknowledge problem, check     item value now, remote command functionality) -   `trapper` - trapper for active checks, traps, proxy communication -   `unreachable poller` - poller for unreachable devices -   `vmware collector` - VMware data collector responsible for data     gathering from VMware services  The proxy log file can be used to observe these process types.  Various types of Zabbix proxy processes can be monitored using the **zabbix\[process,<type>,<mode>,<state>\]** internal [item](/manual/config/items/itemtypes/internal).
fa	#### انواع فرآیند پروکسی  - "مدیر در دسترس بودن" - فرآیند به روز رسانی در دسترس بودن میزبان - "همگام سازی پیکربندی" - فرآیند مدیریت کش درون حافظه     داده های پیکربندی - "فرستنده داده" - فرستنده داده پروکسی - "کاشف" - فرآیند کشف دستگاه ها - "فرستنده ضربان قلب" - فرستنده ضربان قلب پروکسی - "History Poller" - فرآیندی برای مدیریت محاسبه شده، تجمیع و     بررسی های داخلی که نیاز به اتصال پایگاه داده دارند - "همگام سازی تاریخ" - نویسنده DB تاریخ - "خانه دار" - فرآیند حذف داده های تاریخی قدیمی - "http poller" - نظرسنجی نظارت بر وب - "icmp pinger" - نظرسنجی برای icmpping چک - `IPMI manager` - مدیر نظرسنجی IPMI - "IPMI poller" - نظرسنجی برای چک های IPMI - "جاوا poller" - نظرسنجی برای چک های جاوا - "odbc poller" - نظرسنجی برای چک های ODBC - "نظرسنجی" - نظرسنجی معمولی برای چک های غیرفعال - "مدیر پیش پردازش" - مدیر وظایف پیش پردازش - "کارگر پیش پردازش" - فرآیندی برای پیش پردازش داده ها - "خود نظارتی" - فرآیند جمع آوری سرور داخلی     آمار - تله snmp - تله برای تله های SNMP - "مدیر وظیفه" - فرآیندی برای اجرای از راه دور وظایف درخواست شده توسط     اجزای دیگر (به عنوان مثال بستن مشکل، تصدیق مشکل، بررسی     مقدار مورد اکنون، عملکرد فرمان از راه دور) - تله - تله برای چک های فعال، تله ها، ارتباطات پروکسی - "نظرسنجی غیرقابل دسترس" - نظرسنجی برای دستگاه های غیرقابل دسترسی - `vmware collector` - جمع آوری کننده داده VMware مسئول داده ها     جمع آوری از سرویس های VMware  فایل لاگ پروکسی را می توان برای مشاهده این انواع فرآیند استفاده کرد.  انواع مختلفی از فرآیندهای پروکسی Zabbix را می توان با استفاده از آن مانیتور کرد **zabbix\[process،<type>،<mode>،<state>\]** داخلی [مورد](/دستی/پیکربندی/آیتم/تایپ‌های/داخلی).

en-us	##### Proxy request  The `proxy data` request is used to obtain host interface availability, historical, discovery and autoregistration data from proxy. This request is sent every `ProxyDataFrequency` (server configuration parameter) seconds.  |name|<|value type|description| |-|----------|----------|----------------------------------------| |server→proxy:|<|<|<| |**request**|<|*string*|'proxy data'| |proxy→server:|<|<|<| |**session**|<|*string*|Data session token.| |**interface availability**|<|*array*|*(optional)* Array of interface availability data objects.| | |**interfaceid**|*number*|Interface identifier.| |^|**available**|*number*|Interface availability:<br><br>**0**, *INTERFACE\_AVAILABLE\_UNKNOWN* - unknown<br>**1**, *INTERFACE\_AVAILABLE\_TRUE* - available<br>**2**, *INTERFACE\_AVAILABLE\_FALSE* - unavailable| |^|**error**|*string*|Interface error message or empty string.| |**history data**|<|*array*|*(optional)* Array of history data objects.| | |**itemid**|*number*|Item identifier.| |^|**clock**|*number*|Item value timestamp (seconds).| |^|**ns**|*number*|Item value timestamp (nanoseconds).| |^|**value**|*string*|*(optional)* Item value.| |^|**id**|*number*|Value identifier (ascending counter, unique within one data session).| |^|**timestamp**|*number*|*(optional)* Timestamp of log type items.| |^|**source**|*string*|*(optional)* Eventlog item source value.| |^|**severity**|*number*|*(optional)* Eventlog item severity value.| |^|**eventid**|*number*|*(optional)* Eventlog item eventid value.| |^|**state**|*string*|*(optional)* Item state:<br>**0**, *ITEM\_STATE\_NORMAL*<br>**1**, *ITEM\_STATE\_NOTSUPPORTED*| |^|**lastlogsize**|*number*|*(optional)* Last log size of log type items.| |^|**mtime**|*number*|*(optional)* Modification time of log type items.| |**discovery data**|<|*array*|*(optional)* Array of discovery data objects.| | |**clock**|*number*|Discovery data timestamp.| |^|**druleid**|*number*|Discovery rule identifier.| |^|**dcheckid**|*number*|Discovery check identifier or null for discovery rule data.| |^|**type**|*number*|Discovery check type:<br><br>**-1** discovery rule data<br>**0**, *SVC\_SSH* - SSH service check<br>**1**, *SVC\_LDAP* - LDAP service check<br>**2**, *SVC\_SMTP* - SMTP service check<br>**3**, *SVC\_FTP* - FTP service check<br>**4**, *SVC\_HTTP* - HTTP service check<br>**5**, *SVC\_POP* - POP service check<br>**6**, *SVC\_NNTP* - NNTP service check<br>**7**, *SVC\_IMAP* - IMAP service check<br>**8**, *SVC\_TCP* - TCP port availability check<br>**9**, *SVC\_AGENT* - Zabbix agent<br>**10**, *SVC\_SNMPv1* - SNMPv1 agent<br>**11**, *SVC\_SNMPv2* - SNMPv2 agent<br>**12**, *SVC\_ICMPPING* - ICMP ping<br>**13**, *SVC\_SNMPv3* - SNMPv3 agent<br>**14**, *SVC\_HTTPS* - HTTPS service check<br>**15**, *SVC\_TELNET* - Telnet availability check| |^|**ip**|*string*|Host IP address.| |^|**dns**|*string*|Host DNS name.| |^|**port**|*number*|*(optional)* Service port number.| |^|**key\_**|*string*|*(optional)* Item key for discovery check of type **9** *SVC\_AGENT*| |^|**value**|*string*|*(optional)* Value received from the service, can be empty for most services.| |^|**status**|*number*|*(optional)* Service status:<br><br>**0**, *DOBJECT\_STATUS\_UP* - Service UP<br>**1**, *DOBJECT\_STATUS\_DOWN* - Service DOWN| |**auto registration**|<|*array*|*(optional)* Array of autoregistration data objects.| | |**clock**|*number*|Autoregistration data timestamp.| |^|**host**|*string*|Host name.| |^|**ip**|*string*|*(optional)* Host IP address.| |^|**dns**|*string*|*(optional)* Resolved DNS name from IP address.| |^|**port**|*string*|*(optional)* Host port.| |^|**host\_metadata**|*string*|*(optional)* Host metadata sent by the agent (based on HostMetadata or HostMetadataItem agent configuration parameter).| |**tasks**|<|*array*|*(optional)* Array of tasks.| | |**type**|*number*|Task type:<br><br>**0**, *ZBX\_TM\_TASK\_PROCESS\_REMOTE\_COMMAND\_RESULT* - remote command result| |^|**status**|*number*|Remote-command execution status:<br><br>**0**, *ZBX\_TM\_REMOTE\_COMMAND\_COMPLETED* - remote command completed successfully<br>**1**, *ZBX\_TM\_REMOTE\_COMMAND\_FAILED* - remote command failed| |^|**error**|*string*|*(optional)* Error message.| |^|**parent\_taskid**|*number*|Parent task ID.| |**more**|<|*number*|*(optional)* 1 - there are more history data to send.| |**clock**|<|*number*|*(optional)* Data transfer timestamp (seconds).| |**ns**|<|*number*|*(optional)* Data transfer timestamp (nanoseconds).| |**version**|<|*string*|Proxy version (<major>.<minor>.<build>).| |server→proxy:|<|<|<| |**response**|<|*string*|Request success information ('success' or 'failed').| |**tasks**|<|*array*|*(optional)* Array of tasks.| | |**type**|*number*|Task type:<br><br>**1**, *ZBX\_TM\_TASK\_PROCESS\_REMOTE\_COMMAND* - remote command| |^|**clock**|*number*|Task creation time.| |^|**ttl**|*number*|Time in seconds after which the task expires.| |^|**commandtype**|*number*|Remote-command type:<br><br>**0**, *ZBX\_SCRIPT\_TYPE\_CUSTOM\_SCRIPT* - use custom script<br>**1**, *ZBX\_SCRIPT\_TYPE\_IPMI* - use IPMI<br>**2**, *ZBX\_SCRIPT\_TYPE\_SSH* - use SSH<br>**3**, *ZBX\_SCRIPT\_TYPE\_TELNET* - use Telnet<br>**4**, *ZBX\_SCRIPT\_TYPE\_GLOBAL\_SCRIPT* - use global script (currently functionally equivalent to custom script)| |^|**command**|*string*|Remote command to execute.| |^|**execute\_on**|*number*|Execution target for custom scripts:<br><br>**0**, *ZBX\_SCRIPT\_EXECUTE\_ON\_AGENT* - execute script on agent<br>**1**, *ZBX\_SCRIPT\_EXECUTE\_ON\_SERVER* - execute script on server<br>**2**, *ZBX\_SCRIPT\_EXECUTE\_ON\_PROXY* - execute script on proxy| |^|**port**|*number*|*(optional)* Port for Telnet and SSH commands.| |^|**authtype**|*number*|*(optional)* Authentication type for SSH commands.| |^|**username**|*string*|*(optional)* User name for Telnet and SSH commands.| |^|**password**|*string*|*(optional)* Password for Telnet and SSH commands.| |^|**publickey**|*string*|*(optional)* Public key for SSH commands.| |^|**privatekey**|*string*|*(optional)* Private key for SSH commands.| |^|**parent\_taskid**|*number*|Parent task ID.| |^|**hostid**|*number*|Target host ID.|  Example:  server→proxy:  ``` {.javascript} {   "request": "proxy data" } ```  proxy→server:  ``` {.javascript} {     "session": "12345678901234567890123456789012"     "interface availability": [         {             "interfaceid": 1,             "available": 1,             "error": ""     },         {             "interfaceid": 2,             "available": 2,             "error": "Get value from agent failed: cannot connect to [[127.0.0.1]:10049]: [111] Connection refused"     },         {             "interfaceid": 3,             "available": 1,             "error": ""     },         {             "interfaceid": 4,             "available": 1,             "error": ""     }     ],     "history data":[         {             "itemid":"12345",             "clock":1478609647,             "ns":332510044,             "value":"52956612",             "id": 1         },         {             "itemid":"12346",             "clock":1478609647,             "ns":330690279,             "state":1,             "value":"Cannot find information for this network interface in /proc/net/dev.",             "id": 2         }     ],     "discovery data":[         {             "clock":1478608764,             "drule":2,             "dcheck":3,             "type":12,             "ip":"10.3.0.10",             "dns":"vdebian",             "status":1         },         {             "clock":1478608764,             "drule":2,             "dcheck":null,             "type":-1,             "ip":"10.3.0.10",             "dns":"vdebian",             "status":1         }     ],     "auto registration":[         {             "clock":1478608371,             "host":"Logger1",             "ip":"10.3.0.1",             "dns":"localhost",             "port":"10050"         },         {             "clock":1478608381,             "host":"Logger2",             "ip":"10.3.0.2",             "dns":"localhost",             "port":"10050"         }     ],     "tasks":[         {             "type": 0,             "status": 0,             "parent_taskid": 10         },         {             "type": 0,             "status": 1,             "error": "No permissions to execute task.",             "parent_taskid": 20         }     ],         "version":"5.4.0" } ```  server→proxy:  ``` {.javascript} {   "response": "success",   "tasks":[       {          "type": 1,          "clock": 1478608371,          "ttl": 600,          "commandtype": 2,          "command": "restart_service1.sh",          "execute_on": 2,          "port": 80,          "authtype": 0,          "username": "userA",          "password": "password1",          "publickey": "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCqGKukO1De7zhZj6+H0qtjTkVxwTCpvKe",          "privatekey": "lsuusFncCzWBQ7RKNUSesmQRMSGkVb1/3j+skZ6UtW+5u09lHNsj6tQ5QCqGKukO1De7zhd",          "parent_taskid": 10,          "hostid": 10070       },       {          "type": 1,          "clock": 1478608381,          "ttl": 600,          "commandtype": 1,          "command": "restart_service2.sh",          "execute_on": 0,          "authtype": 0,          "username": "",          "password": "",          "publickey": "",          "privatekey": "",          "parent_taskid": 20,          "hostid": 10084       }   ] } ```
fa	##### Proxy request  The `proxy data` request is used to obtain host interface availability, historical, discovery and autoregistration data from proxy. This request is sent every `ProxyDataFrequency` (server configuration parameter) seconds.  |name|<|value type|description| |-|----------|----------|----------------------------------------| |server→proxy:|<|<|<| |**request**|<|*string*|'proxy data'| |proxy→server:|<|<|<| |**session**|<|*string*|Data session token.| |**interface availability**|<|*array*|*(optional)* Array of interface availability data objects.| | |**interfaceid**|*number*|Interface identifier.| |^|**available**|*number*|Interface availability:<br><br>**0**, *INTERFACE\_AVAILABLE\_UNKNOWN* - unknown<br>**1**, *INTERFACE\_AVAILABLE\_TRUE* - available<br>**2**, *INTERFACE\_AVAILABLE\_FALSE* - unavailable| |^|**error**|*string*|Interface error message or empty string.| |**history data**|<|*array*|*(optional)* Array of history data objects.| | |**itemid**|*number*|Item identifier.| |^|**clock**|*number*|Item value timestamp (seconds).| |^|**ns**|*number*|Item value timestamp (nanoseconds).| |^|**value**|*string*|*(optional)* Item value.| |^|**id**|*number*|Value identifier (ascending counter, unique within one data session).| |^|**timestamp**|*number*|*(optional)* Timestamp of log type items.| |^|**source**|*string*|*(optional)* Eventlog item source value.| |^|**severity**|*number*|*(optional)* Eventlog item severity value.| |^|**eventid**|*number*|*(optional)* Eventlog item eventid value.| |^|**state**|*string*|*(optional)* Item state:<br>**0**, *ITEM\_STATE\_NORMAL*<br>**1**, *ITEM\_STATE\_NOTSUPPORTED*| |^|**lastlogsize**|*number*|*(optional)* Last log size of log type items.| |^|**mtime**|*number*|*(optional)* Modification time of log type items.| |**discovery data**|<|*array*|*(optional)* Array of discovery data objects.| | |**clock**|*number*|Discovery data timestamp.| |^|**druleid**|*number*|Discovery rule identifier.| |^|**dcheckid**|*number*|Discovery check identifier or null for discovery rule data.| |^|**type**|*number*|Discovery check type:<br><br>**-1** discovery rule data<br>**0**, *SVC\_SSH* - SSH service check<br>**1**, *SVC\_LDAP* - LDAP service check<br>**2**, *SVC\_SMTP* - SMTP service check<br>**3**, *SVC\_FTP* - FTP service check<br>**4**, *SVC\_HTTP* - HTTP service check<br>**5**, *SVC\_POP* - POP service check<br>**6**, *SVC\_NNTP* - NNTP service check<br>**7**, *SVC\_IMAP* - IMAP service check<br>**8**, *SVC\_TCP* - TCP port availability check<br>**9**, *SVC\_AGENT* - Zabbix agent<br>**10**, *SVC\_SNMPv1* - SNMPv1 agent<br>**11**, *SVC\_SNMPv2* - SNMPv2 agent<br>**12**, *SVC\_ICMPPING* - ICMP ping<br>**13**, *SVC\_SNMPv3* - SNMPv3 agent<br>**14**, *SVC\_HTTPS* - HTTPS service check<br>**15**, *SVC\_TELNET* - Telnet availability check| |^|**ip**|*string*|Host IP address.| |^|**dns**|*string*|Host DNS name.| |^|**port**|*number*|*(optional)* Service port number.| |^|**key\_**|*string*|*(optional)* Item key for discovery check of type **9** *SVC\_AGENT*| |^|**value**|*string*|*(optional)* Value received from the service, can be empty for most services.| |^|**status**|*number*|*(optional)* Service status:<br><br>**0**, *DOBJECT\_STATUS\_UP* - Service UP<br>**1**, *DOBJECT\_STATUS\_DOWN* - Service DOWN| |**auto registration**|<|*array*|*(optional)* Array of autoregistration data objects.| | |**clock**|*number*|Autoregistration data timestamp.| |^|**host**|*string*|Host name.| |^|**ip**|*string*|*(optional)* Host IP address.| |^|**dns**|*string*|*(optional)* Resolved DNS name from IP address.| |^|**port**|*string*|*(optional)* Host port.| |^|**host\_metadata**|*string*|*(optional)* Host metadata sent by the agent (based on HostMetadata or HostMetadataItem agent configuration parameter).| |**tasks**|<|*array*|*(optional)* Array of tasks.| | |**type**|*number*|Task type:<br><br>**0**, *ZBX\_TM\_TASK\_PROCESS\_REMOTE\_COMMAND\_RESULT* - remote command result| |^|**status**|*number*|Remote-command execution status:<br><br>**0**, *ZBX\_TM\_REMOTE\_COMMAND\_COMPLETED* - remote command completed successfully<br>**1**, *ZBX\_TM\_REMOTE\_COMMAND\_FAILED* - remote command failed| |^|**error**|*string*|*(optional)* Error message.| |^|**parent\_taskid**|*number*|Parent task ID.| |**more**|<|*number*|*(optional)* 1 - there are more history data to send.| |**clock**|<|*number*|*(optional)* Data transfer timestamp (seconds).| |**ns**|<|*number*|*(optional)* Data transfer timestamp (nanoseconds).| |**version**|<|*string*|Proxy version (<major>.<minor>.<build>).| |server→proxy:|<|<|<| |**response**|<|*string*|Request success information ('success' or 'failed').| |**tasks**|<|*array*|*(optional)* Array of tasks.| | |**type**|*number*|Task type:<br><br>**1**, *ZBX\_TM\_TASK\_PROCESS\_REMOTE\_COMMAND* - remote command| |^|**clock**|*number*|Task creation time.| |^|**ttl**|*number*|Time in seconds after which the task expires.| |^|**commandtype**|*number*|Remote-command type:<br><br>**0**, *ZBX\_SCRIPT\_TYPE\_CUSTOM\_SCRIPT* - use custom script<br>**1**, *ZBX\_SCRIPT\_TYPE\_IPMI* - use IPMI<br>**2**, *ZBX\_SCRIPT\_TYPE\_SSH* - use SSH<br>**3**, *ZBX\_SCRIPT\_TYPE\_TELNET* - use Telnet<br>**4**, *ZBX\_SCRIPT\_TYPE\_GLOBAL\_SCRIPT* - use global script (currently functionally equivalent to custom script)| |^|**command**|*string*|Remote command to execute.| |^|**execute\_on**|*number*|Execution target for custom scripts:<br><br>**0**, *ZBX\_SCRIPT\_EXECUTE\_ON\_AGENT* - execute script on agent<br>**1**, *ZBX\_SCRIPT\_EXECUTE\_ON\_SERVER* - execute script on server<br>**2**, *ZBX\_SCRIPT\_EXECUTE\_ON\_PROXY* - execute script on proxy| |^|**port**|*number*|*(optional)* Port for Telnet and SSH commands.| |^|**authtype**|*number*|*(optional)* Authentication type for SSH commands.| |^|**username**|*string*|*(optional)* User name for Telnet and SSH commands.| |^|**password**|*string*|*(optional)* Password for Telnet and SSH commands.| |^|**publickey**|*string*|*(optional)* Public key for SSH commands.| |^|**privatekey**|*string*|*(optional)* Private key for SSH commands.| |^|**parent\_taskid**|*number*|Parent task ID.| |^|**hostid**|*number*|Target host ID.|  Example:  server→proxy:  ``` {.javascript} {   "request": "proxy data" } ```  proxy→server:  ``` {.javascript} {     "session": "12345678901234567890123456789012"     "interface availability": [         {             "interfaceid": 1,             "available": 1,             "error": ""     },         {             "interfaceid": 2,             "available": 2,             "error": "Get value from agent failed: cannot connect to [[127.0.0.1]:10049]: [111] Connection refused"     },         {             "interfaceid": 3,             "available": 1,             "error": ""     },         {             "interfaceid": 4,             "available": 1,             "error": ""     }     ],     "history data":[         {             "itemid":"12345",             "clock":1478609647,             "ns":332510044,             "value":"52956612",             "id": 1         },         {             "itemid":"12346",             "clock":1478609647,             "ns":330690279,             "state":1,             "value":"Cannot find information for this network interface in /proc/net/dev.",             "id": 2         }     ],     "discovery data":[         {             "clock":1478608764,             "drule":2,             "dcheck":3,             "type":12,             "ip":"10.3.0.10",             "dns":"vdebian",             "status":1         },         {             "clock":1478608764,             "drule":2,             "dcheck":null,             "type":-1,             "ip":"10.3.0.10",             "dns":"vdebian",             "status":1         }     ],     "auto registration":[         {             "clock":1478608371,             "host":"Logger1",             "ip":"10.3.0.1",             "dns":"localhost",             "port":"10050"         },         {             "clock":1478608381,             "host":"Logger2",             "ip":"10.3.0.2",             "dns":"localhost",             "port":"10050"         }     ],     "tasks":[         {             "type": 0,             "status": 0,             "parent_taskid": 10         },         {             "type": 0,             "status": 1,             "error": "No permissions to execute task.",             "parent_taskid": 20         }     ],         "version":"5.4.0" } ```  server→proxy:  ``` {.javascript} {   "response": "success",   "tasks":[       {          "type": 1,          "clock": 1478608371,          "ttl": 600,          "commandtype": 2,          "command": "restart_service1.sh",          "execute_on": 2,          "port": 80,          "authtype": 0,          "username": "userA",          "password": "password1",          "publickey": "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCqGKukO1De7zhZj6+H0qtjTkVxwTCpvKe",          "privatekey": "lsuusFncCzWBQ7RKNUSesmQRMSGkVb1/3j+skZ6UtW+5u09lHNsj6tQ5QCqGKukO1De7zhd",          "parent_taskid": 10,          "hostid": 10070       },       {          "type": 1,          "clock": 1478608381,          "ttl": 600,          "commandtype": 1,          "command": "restart_service2.sh",          "execute_on": 0,          "authtype": 0,          "username": "",          "password": "",          "publickey": "",          "privatekey": "",          "parent_taskid": 20,          "hostid": 10084       }   ] } ```

en-us	# proxy.update
fa	# proxy.update

en-us	##### Purpose of persistent files  When Zabbix agent is started it receives a list of active checks from Zabbix server or proxy.  For log\*\[\] metrics it receives the processed log size and the modification time for finding where to start log file monitoring from. Depending on the actual log file size and modification time reported by file system the agent decides either to continue log file monitoring from the processed log size or re\-analyze the log file from the beginning.  A running agent maintains a larger set of attributes for tracking all monitored log files between checks.  This in\-memory state is lost when the agent is stopped.  The new optional parameter **persistent\_dir** specifies a directory for storing this state of log\[\], log.count\[\], logrt\[\] or logrt.count\[\] item in a file. The state of log item is restored from the persistent file after the Zabbix agent is restarted.  The primary use\-case is monitoring of log file located on a mirrored file system. Until some moment in time the log file is written to both mirrors. Then mirrors are split.  On the active copy the log file is still growing, getting new records. Zabbix agent analyzes it and sends processed logs size and modification time to server. On the passive copy the log file stays the same, well behind the active copy. Later the operating system and Zabbix agent are rebooted from the passive copy. The processed log size and modification time the Zabbix agent receives from server may not be valid for situation on the passive copy.  To continue log file monitoring from the place the agent left off at the moment of file system mirror split the agent restores its state from the persistent file.
fa	##### هدف از فایل های ماندگار  هنگامی که عامل Zabbix راه اندازی می شود، لیستی از چک های فعال را از Zabbix دریافت می کند سرور یا پروکسی برای معیارهای log\*\[\] اندازه گزارش پردازش شده و زمان اصلاح برای یافتن اینکه نظارت بر فایل لاگ از کجا شروع شود. بسته به اندازه واقعی فایل لاگ و زمان اصلاح گزارش شده توسط فایل سیستم عامل تصمیم می گیرد یا به نظارت بر فایل ورود به سیستم ادامه دهد اندازه گزارش پردازش شده یا فایل گزارش را از ابتدا دوباره تجزیه و تحلیل کنید.  یک عامل در حال اجرا مجموعه بزرگتری از ویژگی ها را برای ردیابی همه نظارت شده حفظ می کند لاگ فایل ها بین چک ها این حالت در حافظه زمانی که عامل باشد از بین می رود متوقف شد.  پارامتر اختیاری جدید **persistent\_dir** یک دایرکتوری را برای آن مشخص می کند ذخیره این حالت log\[\]، log.count\[\]، logrt\[\] یا logrt.count\[\] مورد در یک فایل وضعیت آیتم گزارش از فایل پایدار پس از بازیابی می شود عامل Zabbix دوباره راه اندازی می شود.  مورد استفاده اولیه، نظارت بر فایل گزارش است که بر روی یک فایل آینه‌ای قرار دارد سیستم. تا زمانی که فایل log در هر دو آینه نوشته می شود. سپس آینه ها تقسیم می شوند در کپی فعال، فایل گزارش همچنان در حال رشد است و دریافت می‌شود رکوردهای جدید عامل Zabbix آن را تجزیه و تحلیل می کند و اندازه لاگ های پردازش شده را ارسال می کند زمان تغییر به سرور در کپی غیرفعال، فایل log یکسان می ماند، به خوبی پشت نسخه فعال است. بعدها سیستم عامل و عامل Zabbix هستند از کپی غیرفعال ریبوت شد. اندازه گزارش پردازش شده و زمان اصلاح عامل Zabbix که از سرور دریافت می کند ممکن است برای وضعیت موجود در سرور معتبر نباشد کپی غیرفعال برای ادامه نظارت بر فایل گزارش از جایی که عامل ترک کرده است خاموش در لحظه تقسیم آینه فایل سیستم عامل حالت خود را از آن بازیابی می کند فایل پایدار

en-us	##### Readable summary in maps  A hidden "aria-label" property is available allowing map information to be read with a screen reader. Both general map description and individual element description is available, in the following format:  -   for map description:     `<Map name>, <* of * items in problem state>, <* problems in total>.` -   for describing one element with one problem:     `<Element type>, Status <Element status>, <Element name>, <Problem description>.` -   for describing one element with multiple problems:     `<Element type>, Status <Element status>, <Element name>, <* problems>.` -   for describing one element without problems:     `<Element type>, Status <Element status>, <Element name>.`  For example, this description is available:      'Local network, 1 of 6 elements in problem state, 1 problem in total. Host, Status problem, My host, Free disk space is less than 20% on volume \/. Host group, Status ok, Virtual servers. Host, Status ok, Server 1. Host, Status ok, Server 2. Host, Status ok, Server 3. Host, Status ok, Server 4. '  for the following map:  ![](../../../../../assets/en/manual/web_interface/map_aria_label.png){width="600"}
fa	##### خلاصه قابل خواندن در نقشه ها  یک ویژگی پنهان "aria-label" در دسترس است که به اطلاعات نقشه اجازه می دهد با صفحه خوان خوانده شود هم توضیحات کلی نقشه و هم توضیحات عنصر فردی در قالب زیر موجود است:  - برای توضیحات نقشه:     "<نام نقشه>، <* از * موارد در وضعیت مشکل>، <* در مجموع مشکلات>." - برای توصیف یک عنصر با یک مشکل:     "<نوع عنصر>، وضعیت <وضعیت عنصر>، <نام عنصر>، <شرح مشکل>." - برای توصیف یک عنصر با چندین مشکل:     "<نوع عنصر>، وضعیت <وضعیت عنصر>، <نام عنصر>، <* مشکلات>." - برای توصیف یک عنصر بدون مشکل:     "<نوع عنصر>، وضعیت <وضعیت عنصر>، <نام عنصر>."  به عنوان مثال، این توضیحات در دسترس است:      شبکه محلی، 1 عنصر از 6 عنصر در وضعیت مشکل، 1 مشکل در کل. میزبان، مشکل وضعیت، میزبان من، فضای دیسک رایگان کمتر از 20٪ در حجم \/ است. گروه میزبان، وضعیت خوب، سرورهای مجازی. میزبان، وضعیت اوکی، سرور 1. میزبان، وضعیت خوب، سرور 2. میزبان، وضعیت خوب، سرور 3. میزبان، وضعیت خوب، سرور 4. '  برای نقشه زیر:  ![](../../../../../assets/en/manual/web_interface/map_aria_label.png){width="600"}

en-us	##### Recent change markers  Inward pointing red triangles around an element indicate a recent trigger status change - one that's happened within the last 30 minutes. These triangles are shown if the *Mark elements on trigger status change* check-box is marked in map [configuration](/manual/config/visualization/maps/map#creating_a_map).
fa	##### نشانگرهای تغییر اخیر  مثلث های قرمز رو به داخل در اطراف یک عنصر نشان دهنده یک اخیر است تغییر وضعیت ماشه - موردی که در 30 دقیقه گذشته اتفاق افتاده است. این مثلث ها در صورتی نشان داده می شوند که عناصر * علامت گذاری بر روی وضعیت ماشه چک باکس تغییر* در نقشه مشخص شده است [پیکربندی](/manual/config/visualization/maps/map#creating_a_map).

en-us	##### Referencing a network map  Network maps can be referenced by both `sysmapid` and `mapname` GET parameters. For example,      http://zabbix/zabbix/zabbix.php?action=map.view&mapname=Local%20network  will open the map with that name (Local network).  If both `sysmapid` (map ID) and `mapname` (map name) are specified, `mapname` has higher priority.
fa	##### ارجاع به نقشه شبکه  نقشه های شبکه را می توان با «sysmapid» و «mapname» GET ارجاع داد مولفه های. مثلا،      http://zabbix/zabbix/zabbix.php?action=map.view&mapname=Local%20network  نقشه را با آن نام باز می کند (شبکه محلی).  اگر هر دو «sysmapid» (شناسه نقشه) و «نام نقشه» (نام نقشه) مشخص شده باشند، «نام نقشه» اولویت بیشتری دارد.

en-us	#### regexp  Changes:\ [ZBXNEXT-6717](https://support.zabbix.com/browse/ZBXNEXT-6717) added `regexp.get`, `regexp.create`, `regexp.update` and `regexp.delete` API.\
fa	#### regexp  تغییرات:\ [ZBXNEXT-6717](https://support.zabbix.com/browse/ZBXNEXT-6717) «regexp.get»، «regexp.create»، «regexp.update» و «regexp.delete» API را اضافه کرد.

en-us	# regexp.create
fa	# regexp.create

en-us	# regexp.delete
fa	پاک کردن قانون جست وجو 

en-us	# regexp.get
fa	# role.get

en-us	# regexp.update
fa	# regexp.create

en-us	 ###### Register request  A request sent by the agent during the agent startup phase to obtain provided metrics to register a plugin.  |   |   | |---|---| |direction|agent → plugin| |response|yes|  Parameters specific to register requests:  |Name|Type|Comments| |---------|--------|----------| |version|string|The protocol version <major>.<minor>|  *Example:*      {"id":1,"type":2,"version":"1.0"}
fa	 ###### درخواست ثبت نام  درخواستی که توسط نماینده در مرحله راه‌اندازی نماینده برای به دست آوردن معیارهای ارائه شده برای ثبت یک افزونه ارسال شده است.  | | | |---|---| |جهت|عامل → افزونه| |پاسخ|بله|  پارامترهای خاص برای ثبت درخواست ها:  |نام|نوع|نظر| |---------|--------|----------| |version|string|نسخه پروتکل <major>.<minor>|  *مثال:*      {"id":1,"type":2," version":"1.0"}

en-us	 ###### Register response  Plugin's response to the register request.  |   |   | |---|---| |direction|plugin → agent| |response|n/a|  Parameters specific to register responses:  |Name|Type|Comments| |---------|--------|----------| |name|string|The plugin name.| |metrics|array of strings (optional)|The metrics with descriptions as used in the plugin. Returns RegisterMetrics(). Absent if error is returned.| |interfaces|uint32 (optional)|The bit mask of plugin's supported interfaces. Absent if error is returned.| |error|string (optional)|An error message returned if a plugin cannot be started. Absent, if metrics are returned.|  *Examples:*      {"id":2,"type":3,"metrics":["external.test", "External exporter Test."], "interfaces": 4}  or      {"id":2,"type":3,"error":"error message"}
fa	 ###### ثبت پاسخ  پاسخ پلاگین به درخواست ثبت نام.  | | | |---|---| |جهت|پلاگین → عامل| |پاسخ|عدم|  پارامترهای خاص برای ثبت پاسخ ها:  |نام|نوع|نظر| |---------|--------|----------| |name|string|نام افزونه.| |metrics|آرایه رشته ها (اختیاری)|متریک با توضیحات همانطور که در افزونه استفاده می شود. RegisterMetrics() را برمی گرداند. در صورت برگشت خطا وجود ندارد.| |واسط|uint32 (اختیاری)|بیت ماسک رابط های پشتیبانی شده افزونه. در صورت برگشت خطا وجود ندارد.| |error|string (اختیاری)|اگر پلاگینی راه اندازی نشود، پیغام خطا برگردانده می شود. وجود ندارد، در صورت بازگشت معیارها.|  *مثال ها:*      {"id":2,"type":3,"metrics":["external.test", "External exporter test."], "interfaces": 4}  یا      {"id":2,"type":3,"error":"پیام خطا"}

en-us	# Regular expression  This class is designed to work with global regular expressions.  Object references:\  -   [Regular expression](/manual/api/reference/regexp/object)  Available methods:\  -   [regexp.create](/manual/api/reference/regexp/create) - creating new     regular expressions -   [regexp.delete](/manual/api/reference/regexp/delete) - deleting     regular expressions -   [regexp.get](/manual/api/reference/regexp/get) - retrieving regular     expressions -   [regexp.update](/manual/api/reference/regexp/update) - updating     regular expressions
fa	# نمونه اولیه گراف   This class is designed to work with graph prototypes.  Object references:\  -   [Graph     prototype](/manual/api/reference/graphprototype/object#graph_prototype)  Available methods:\  -   [graphprototype.create](/manual/api/reference/graphprototype/create) -     creating new graph prototypes -   [graphprototype.delete](/manual/api/reference/graphprototype/delete) -     deleting graph prototypes -   [graphprototype.get](/manual/api/reference/graphprototype/get) -     retrieving graph prototypes -   [graphprototype.update](/manual/api/reference/graphprototype/update) -     updating graph prototypes

en-us	#### Removing hosts from host groups  Remove two hosts from the given host groups.  Request:  ```json {     "jsonrpc": "2.0",     "method": "hostgroup.massremove",     "params": {         "groupids": [             "5",             "6"         ],         "hostids": [             "30050",             "30001"         ]     },     "auth": "038e1d7b1735c6a5436ee9eae095879e",     "id": 1 } ```  Response:  ```json {     "jsonrpc": "2.0",     "result": {         "groupids": [             "5",             "6"         ]     },     "id": 1 } ```
fa	#### حذف هاست از گروه هاستی   Remove two hosts from the given host groups.  Request:  ```json {     "jsonrpc": "2.0",     "method": "hostgroup.massremove",     "params": {         "groupids": [             "5",             "6"         ],         "hostids": [             "30050",             "30001"         ]     },     "auth": "038e1d7b1735c6a5436ee9eae095879e",     "id": 1 } ```  Response:  ```json {     "jsonrpc": "2.0",     "result": {         "groupids": [             "5",             "6"         ]     },     "id": 1 } ```

en-us	#### Removing interfaces  Remove the "127.0.0.1" SNMP interface from two hosts.  Request:  ```json {     "jsonrpc": "2.0",     "method": "hostinterface.massremove",     "params": {         "hostids": [             "30050",             "30052"         ],         "interfaces": {             "dns": "",             "ip": "127.0.0.1",             "port": "161"         }     },     "auth": "038e1d7b1735c6a5436ee9eae095879e",     "id": 1 } ```  Response:  ```json {     "jsonrpc": "2.0",     "result": {         "interfaceids": [             "30069",             "30070"         ]     },     "id": 1 } ```
fa	#### حذف اینترفیس ها   Remove the "127.0.0.1" SNMP interface from two hosts.  Request:  ```json {     "jsonrpc": "2.0",     "method": "hostinterface.massremove",     "params": {         "hostids": [             "30050",             "30052"         ],         "interfaces": {             "dns": "",             "ip": "127.0.0.1",             "port": "161"         }     },     "auth": "038e1d7b1735c6a5436ee9eae095879e",     "id": 1 } ```  Response:  ```json {     "jsonrpc": "2.0",     "result": {         "interfaceids": [             "30069",             "30070"         ]     },     "id": 1 } ```

en-us	#### Removing templates from a group  Remove two templates from group "2".  Request:  ```json {     "jsonrpc": "2.0",     "method": "template.massremove",     "params": {         "templateids": [             "10085",             "10086"         ],         "groupids": "2"     },     "auth": "038e1d7b1735c6a5436ee9eae095879e",     "id": 1 } ```  Response:  ```json {     "jsonrpc": "2.0",     "result": {         "templateids": [             "10085",             "10086"         ]     },     "id": 1 } ```
fa	#### حذف هاست از گروه هاستی   Remove two hosts from the given host groups.  Request:  ```json {     "jsonrpc": "2.0",     "method": "hostgroup.massremove",     "params": {         "groupids": [             "5",             "6"         ],         "hostids": [             "30050",             "30001"         ]     },     "auth": "038e1d7b1735c6a5436ee9eae095879e",     "id": 1 } ```  Response:  ```json {     "jsonrpc": "2.0",     "result": {         "groupids": [             "5",             "6"         ]     },     "id": 1 } ```

en-us	#### Rename icon map  Rename an icon map to "OS icons".  Request:  ```json {     "jsonrpc": "2.0",     "method": "iconmap.update",     "params": {         "iconmapid": "1",         "name": "OS icons"     },     "auth": "038e1d7b1735c6a5436ee9eae095879e",     "id": 1 } ```  Response:  ```json {     "jsonrpc": "2.0",     "result": {         "iconmapids": [             "1"         ]     },     "id": 1 } ```
fa	#### تغییر نام آیکون نقشه  یک آیکون نقشه  را به "آیکون سیستم عامل" تغییر نام دهید.  درخواست:  ``json {     "jsonrpc": "2.0"،     "method": "iconmap.update"،     "params": {         "iconmapid": "1"،         "name": "OS icons"     }،     "auth": "038e1d7b1735c6a5436ee9eae095879e"،     "id": 1 } ```  پاسخ:  ``json {     "jsonrpc": "2.0"،     "result": {         "iconmapids": [             "1"         ]     }،     "id": 1 } ```

en-us	#### Rename image  Rename image to "Cloud icon".  Request:  ```json {     "jsonrpc": "2.0",     "method": "image.update",     "params": {         "imageid": "2",         "name": "Cloud icon"     },     "auth": "038e1d7b1735c6a5436ee9eae095879e",     "id": 1 } ```  Response:  ```json {     "jsonrpc": "2.0",     "result": {         "imageids": [             "2"         ]     },     "id": 1 } ```
fa	#### تغییر نام آیکون نقشه  یک آیکون نقشه  را به "آیکون سیستم عامل" تغییر نام دهید.  درخواست:  ``json {     "jsonrpc": "2.0"،     "method": "iconmap.update"،     "params": {         "iconmapid": "1"،         "name": "OS icons"     }،     "auth": "038e1d7b1735c6a5436ee9eae095879e"،     "id": 1 } ```  پاسخ:  ``json {     "jsonrpc": "2.0"،     "result": {         "iconmapids": [             "1"         ]     }،     "id": 1 } ```

en-us	#### Renaming a dashboard  Rename a dashboard to "SQL server status".  Request:  ```json {     "jsonrpc": "2.0",     "method": "dashboard.update",     "params": {         "dashboardid": "2",         "name": "SQL server status"     },     "auth": "038e1d7b1735c6a5436ee9eae095879e",     "id": 1 } ```  Response:  ```json {     "jsonrpc": "2.0",     "result": {         "dashboardids": [             "2"         ]     },     "id": 1 } ```
fa	#### تغییر نام داشبورد  تغییر نام یک داشبورد به SQL server status  ".  Request:  ```json {     "jsonrpc": "2.0",     "method": "dashboard.update",     "params": {         "dashboardid": "2",         "name": "SQL server status"     },     "auth": "038e1d7b1735c6a5436ee9eae095879e",     "id": 1 } ```  Response:  ```json {     "jsonrpc": "2.0",     "result": {         "dashboardids": [             "2"         ]     },     "id": 1 } ```

en-us	#### Renaming a host group  Rename a host group to "Linux hosts."  Request:  ```json {     "jsonrpc": "2.0",     "method": "hostgroup.update",     "params": {         "groupid": "7",         "name": "Linux hosts"     },     "auth": "700ca65537074ec963db7efabda78259",     "id": 1 } ```  Response:  ```json {     "jsonrpc": "2.0",     "result": {         "groupids": [             "7"         ]     },     "id": 1 } ```
fa	#### تغییر نام گروه هاستی   Rename a host group to "Linux hosts."  Request:  ```json {     "jsonrpc": "2.0",     "method": "hostgroup.update",     "params": {         "groupid": "7",         "name": "Linux hosts"     },     "auth": "700ca65537074ec963db7efabda78259",     "id": 1 } ```  Response:  ```json {     "jsonrpc": "2.0",     "result": {         "groupids": [             "7"         ]     },     "id": 1 } ```

en-us	#### Renaming a template dashboard  Rename a template dashboard to "Performance graphs".  Request:  ```json {     "jsonrpc": "2.0",     "method": "templatedashboard.update",     "params": {         "dashboardid": "23",         "name": "Performance graphs"     },     "auth": "038e1d7b1735c6a5436ee9eae095879e",     "id": 1 } ```  Response:  ```json {     "jsonrpc": "2.0",     "result": {         "dashboardids": [             "23"         ]     },     "id": 1 } ```
fa	#### تغییر نام داشبورد  تغییر نام یک داشبورد به SQL server status  ".  Request:  ```json {     "jsonrpc": "2.0",     "method": "dashboard.update",     "params": {         "dashboardid": "2",         "name": "SQL server status"     },     "auth": "038e1d7b1735c6a5436ee9eae095879e",     "id": 1 } ```  Response:  ```json {     "jsonrpc": "2.0",     "result": {         "dashboardids": [             "2"         ]     },     "id": 1 } ```

en-us	#### Replace conditions, but keep the evaluation method  Request:  ```json {     "jsonrpc": "2.0",     "method": "correlation.update",     "params": {         "correlationid": "1",         "filter": {             "conditions": [                 {                     "type": 3,                     "oldtag": "error",                     "newtag": "ok"                 }             ]         }     },     "auth": "343baad4f88b4106b9b5961e77437688",     "id": 1 } ```  Response:  ```json {     "jsonrpc": "2.0",     "result": {         "correlationids": [             "1"         ]     },     "id": 1 } ```
fa	#### شرایط را جایگزین کنید، اما روش ارزیابی را حفظ کنید  درخواست:  ``json {     "jsonrpc": "2.0"،     "روش": "correlation.update"،     "params": {         "همبستگی": "1"،         "فیلتر": {             "شرایط": [                 {                     "نوع": 3،                     "oldtag": "خطا"،                     "نیوتگ": "خوب"                 }             ]         }     }،     "auth": "343baad4f88b4106b9b5961e77437688",     "id": 1 } ```  واکنش:  ``json {     "jsonrpc": "2.0"،     "نتیجه": {         "همبستگی ها": [             "1"         ]     }،     "id": 1 } ```

en-us	#### Replacing host interfaces  Replace all host interfaces with a single agent interface.  Request:  ```json {     "jsonrpc": "2.0",     "method": "hostinterface.replacehostinterfaces",     "params": {         "hostid": "30052",         "interfaces": {             "dns": "",             "ip": "127.0.0.1",             "main": 1,             "port": "10050",             "type": 1,             "useip": 1         }     },     "auth": "038e1d7b1735c6a5436ee9eae095879e",     "id": 1 } ```  Response:  ```json {     "jsonrpc": "2.0",     "result": {         "interfaceids": [             "30081"         ]     },     "id": 1 } ```
fa	#### جایگزینی هاست های اینترفیس  Replace all host interfaces with a single agent interface.  Request:  ```json {     "jsonrpc": "2.0",     "method": "hostinterface.replacehostinterfaces",     "params": {         "hostid": "30052",         "interfaces": {             "dns": "",             "ip": "127.0.0.1",             "main": 1,             "port": "10050",             "type": 1,             "useip": 1         }     },     "auth": "038e1d7b1735c6a5436ee9eae095879e",     "id": 1 } ```  Response:  ```json {     "jsonrpc": "2.0",     "result": {         "interfaceids": [             "30081"         ]     },     "id": 1 } ```

en-us	#### Replacing hosts and templates in a host group  Replace all hosts in a host group to ones mentioned host and unlink all templates from host group.  Request:  ```json {     "jsonrpc": "2.0",     "method": "hostgroup.massupdate",     "params": {         "groups": [             {                 "groupid": "6"             }         ],         "hosts": [             {                 "hostid": "30050"             }         ],         "templates": []     },     "auth": "f223adf833b2bf2ff38574a67bba6372",     "id": 1 } ```  Response:  ```json {     "jsonrpc": "2.0",     "result": {         "groupids": [             "6",         ]     },     "id": 1 } ```
fa	#### جیگزینی هاست و قالب و در گروه هاستی   Replace all hosts in a host group to ones mentioned host and unlink all templates from host group.  Request:  ```json {     "jsonrpc": "2.0",     "method": "hostgroup.massupdate",     "params": {         "groups": [             {                 "groupid": "6"             }         ],         "hosts": [             {                 "hostid": "30050"             }         ],         "templates": []     },     "auth": "f223adf833b2bf2ff38574a67bba6372",     "id": 1 } ```  Response:  ```json {     "jsonrpc": "2.0",     "result": {         "groupids": [             "6",         ]     },     "id": 1 } ```

en-us	#### Replacing trigger prototype tags  Replace tags for one trigger prototype.  Request:  ```json {     "jsonrpc": "2.0",     "method": "triggerprototype.update",     "params": {         "triggerid": "17373",         "tags": [             {                 "tag": "volume",                 "value": "{#FSNAME}"             },             {                 "tag": "type",                 "value": "{#FSTYPE}"             }         ]     },     "auth": "038e1d7b1735c6a5436ee9eae095879e",     "id": 1 } ```  Response:  ```json {     "jsonrpc": "2.0",     "result": {         "triggerids": [             "17373"         ]     },     "id": 1 } ```
fa	#### به روز رسانی تگ نمونه اولیه هاست   Replace host prototype tags with new ones.  Request:  ```json {     "jsonrpc": "2.0",     "method": "hostprototype.update",     "params": {         "hostid": "10092",         "tags": [             {                 "tag": "Datacenter",                 "value": "{#DATACENTER.NAME}"             },             {                 "tag": "Instance type",                 "value": "{#INSTANCE_TYPE}"             }         ]     },     "auth": "038e1d7b1735c6a5436ee9eae095879e",     "id": 1 } ```  Response:  ```json {     "jsonrpc": "2.0",     "result": {         "hostids": [             "10092"         ]     },     "id": 1 } ```

en-us	#### Replacing triggers tags  Replace tags for trigger.  Request:  ```json {     "jsonrpc": "2.0",     "method": "trigger.update",     "params": {         "triggerid": "13938",         "tags": [             {                 "tag": "service",                 "value": "{{ITEM.VALUE}.regsub(\"Service (.*) has stopped\", \"\\1\")}"             },             {                 "tag": "error",                 "value": ""             }         ]     },     "auth": "038e1d7b1735c6a5436ee9eae095879e",     "id": 1 } ```  Response:  ```json {     "jsonrpc": "2.0",     "result": {         "triggerids": [             "13938"         ]     },     "id": 1 } ```
fa	#### به روز رسانی تگ نمونه اولیه هاست   Replace host prototype tags with new ones.  Request:  ```json {     "jsonrpc": "2.0",     "method": "hostprototype.update",     "params": {         "hostid": "10092",         "tags": [             {                 "tag": "Datacenter",                 "value": "{#DATACENTER.NAME}"             },             {                 "tag": "Instance type",                 "value": "{#INSTANCE_TYPE}"             }         ]     },     "auth": "038e1d7b1735c6a5436ee9eae095879e",     "id": 1 } ```  Response:  ```json {     "jsonrpc": "2.0",     "result": {         "hostids": [             "10092"         ]     },     "id": 1 } ```

en-us	# report.create
fa	# ساخت هاست 

en-us	# report.delete
fa	#حذف هاست 

en-us	##### - Repositories  Official Zabbix [repository](/manual/installation/install_from_packages/rhel) has been added to */etc/yum.repos.d*:      [zabbix]     name=Zabbix Official Repository - $basearch     baseurl=http://repo.zabbix.com/zabbix/6.0/rhel/8/$basearch/     enabled=1     gpgcheck=1     gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-ZABBIX-A14FE591
fa	##### - مخازن  Zabbix رسمی [مخزن](/دستی/نصب/install_from_packages/rhel) دارای به */etc/yum.repos.d* اضافه شد:      [zabbix]     name= مخزن رسمی Zabbix - $basearch     baseurl=http://repo.zabbix.com/zabbix/6.0/rhel/8/$basearch/     فعال = 1     gpgcheck=1     gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-ZABBIX-A14FE591

en-us	Request:  ```json {     "jsonrpc": "2.0",     "method": "sla.create",     "params": [         {             "name": "Database Uptime",             "slo": "99.9995",             "period": "1",             "timezone": "America/Toronto",             "description": "Provide excellent uptime for main database engines.",             "effective_date": 1672444800,             "status": 1,             "schedule": [                 {                     "period_from": 0,                     "period_to": 601200                 }             ],             "service_tags": [                 {                     "tag": "Database",                     "operator": "0",                     "value": "MySQL"                 },                 {                     "tag": "Database",                     "operator": "0",                     "value": "PostgreSQL"                 }             ],             "excluded_downtimes": [                 {                     "name": "Software version upgrade rollout",                     "period_from": "1648760400",                     "period_to": "1648764900"                 }             ]         }     ],     "auth": "038e1d7b1735c6a5436ee9eae095879e",     "id": 1 } ```  Response:  ```json {     "jsonrpc": "2.0",     "result": {         "slaids": [             "5"         ]     },     "id": 1 } ```
fa	درخواست:  ``json {     "jsonrpc": "2.0"،     "روش": "sla.create"،     "پارامز": [         {             "name": "Database Uptime",             "slo": "99.9995"،             "دوره 1"،             "منطقه زمانی": "آمریکا/تورنتو"،             "description": "ارائه آپتایم عالی برای موتورهای پایگاه داده اصلی."،             "تاریخ_اجرا": 1672444800،             "وضعیت": 1،             "برنامه": [                 {                     "period_from": 0،                     "دوره_تا": 601200                 }             ]،             "service_tags": [                 {                     "برچسب": "پایگاه داده"،                     "اپراتور": "0"،                     "value": "MySQL"                 }،                 {                     "برچسب": "پایگاه داده"،                     "اپراتور": "0"،                     "value": "PostgreSQL"                 }             ]،             "excluded_downtimes": [                 {                     "name": "نسخه ارتقاء نرم افزار عرضه شد"،                     "period_from": "1648760400"،                     "period_to": "1648764900"                 }             ]         }     ]،     "auth": "038e1d7b1735c6a5436ee9eae095879e"،     "id": 1 } ```  واکنش:  ``json {     "jsonrpc": "2.0"،     "نتیجه": {         "slaids": [             "5"         ]     }،     "id": 1 } ```

en-us	### Required mode
fa	### حالت مورد نیاز

en-us	### Required mode
fa	### حالت مورد نیاز

en-us	##### Requirements  The following is required to set up encryption:  -   Developer-supported operating system with OpenSSL >=1.1.X or     alternative.  ::: noteclassic  It is recommended to avoid OS in the end-of-life status, especially in the case of new installations  :::  -   Database engine (RDBMS) installed and maintained from the official     repository provided by developer. Operating systems often shipped     with outdated  database software versions for which encryption     support is not implemented, for example RHEL 7 based systems and     PostgreSQL 9.2, MariaDB 5.5 without encryption support. 
fa	##### الزامات  برای راه اندازی رمزگذاری موارد زیر مورد نیاز است:  - سیستم عامل پشتیبانی شده توسط توسعه دهندگان با OpenSSL >=1.1.X یا     جایگزین.  ::: نوتکلاسیک  توصیه می شود از سیستم عامل در وضعیت پایان عمر خودداری کنید، به خصوص در مورد تاسیسات جدید :::  - موتور پایگاه داده (RDBMS) نصب و نگهداری از رسمی     مخزن ارائه شده توسط توسعه دهنده سیستم عامل ها اغلب ارسال می شوند     با نسخه‌های نرم‌افزار پایگاه داده قدیمی که برای آنها رمزگذاری شده است     پشتیبانی اجرا نمی شود، برای مثال سیستم های مبتنی بر RHEL 7 و     PostgreSQL 9.2، MariaDB 5.5 بدون پشتیبانی از رمزگذاری.

en-us	### Reserved ID value "0"  Reserved ID value "0" can be used to filter elements and to remove referenced objects. For example, to remove a referenced proxy from a host, proxy\_hostid should be set to 0 ("proxy\_hostid": "0") or to filter hosts monitored by server option proxyids should be set to 0 ("proxyids": "0").
fa	### مقدار شناسه رزرو شده "0"  از مقدار شناسه رزرو شده "0" می توان برای فیلتر کردن عناصر و حذف اشیاء ارجاع شده استفاده کرد به عنوان مثال، برای حذف یک پراکسی ارجاع شده از a میزبان، پروکسی\_hostid باید روی 0 ("proxy\_hostid": "0") یا به میزبان های فیلتر که توسط پروکسی های گزینه سرور نظارت می شوند باید روی 0 تنظیم شوند ("proxyids": "0").

en-us	#### Retrieve alerts by action ID  Retrieve all alerts generated by action "3".  Request:  ```json {     "jsonrpc": "2.0",     "method": "alert.get",     "params": {         "output": "extend",         "actionids": "3"     },     "auth": "038e1d7b1735c6a5436ee9eae095879e",     "id": 1 } ```  Response:  ```json {     "jsonrpc": "2.0",     "result": [         {             "alertid": "1",             "actionid": "3",             "eventid": "21243",             "userid": "1",             "clock": "1362128008",             "mediatypeid": "1",             "sendto": "support@company.com",             "subject": "PROBLEM: Zabbix agent on Linux server is unreachable for 5 minutes: ",             "message": "Trigger: Zabbix agent on Linux server is unreachable for 5 minutes: \nTrigger status: PROBLEM\nTrigger severity: Not classified",             "status": "0",             "retries": "3",             "error": "",             "esc_step": "1",             "alerttype": "0",             "p_eventid": "0",             "acknowledgeid": "0"         }     ],     "id": 1 } ```
fa	#### هشدارها را با شناسه اقدام بازیابی کنید  همه هشدارهای ایجاد شده توسط عمل "3" را بازیابی کنید.  درخواست:  ``json {     "jsonrpc": "2.0"،     "روش": "alert.get"،     "params": {         "output": "extend"         "actionids": "3"     }،     "auth": "038e1d7b1735c6a5436ee9eae095879e"،     "id": 1 } ```  واکنش:  ``json {     "jsonrpc": "2.0"،     "نتیجه": [         {             "هشدار": "1"،             "actionid": "3"،             "eventid": "21243",             "userid": "1"،             "ساعت": "1362128008",             "mediatypeid": "1"،             "sendto": "support@company.com"،             "subject": "مشکل: عامل Zabbix در سرور لینوکس به مدت 5 دقیقه غیر قابل دسترس است: "،             "پیام": "تریگر: عامل Zabbix در سرور لینوکس به مدت 5 دقیقه غیرقابل دسترسی است: \nوضعیت ماشه: مشکل\nشدت محرک: طبقه بندی نشده است"             "وضعیت": "0"،             "تکرار مجدد": "3"،             "خطا": ""،             "esc_step": "1"،             "نوع هشدار": "0"،             "p_eventid": "0"،             "acknowlgeid": "0"         }     ]،     "id": 1 } ```

en-us	#### Retrieve all discovery rules  Retrieve all configured discovery rules and the discovery checks they use.  Request:  ```json {     "jsonrpc": "2.0",     "method": "drule.get",     "params": {         "output": "extend",         "selectDChecks": "extend"     },     "auth": "038e1d7b1735c6a5436ee9eae095879e",     "id": 1 } ```  Response:  ```json {     "jsonrpc": "2.0",     "result": [         {             "druleid": "2",             "proxy_hostid": "0",             "name": "Local network",             "iprange": "192.168.3.1-255",             "delay": "5s",             "nextcheck": "1348754327",             "status": "0",             "dchecks": [                 {                     "dcheckid": "7",                     "druleid": "2",                     "type": "3",                     "key_": "",                     "snmp_community": "",                     "ports": "21",                     "snmpv3_securityname": "",                     "snmpv3_securitylevel": "0",                     "snmpv3_authpassphrase": "",                     "snmpv3_privpassphrase": "",                     "uniq": "0",                     "snmpv3_authprotocol": "0",                     "snmpv3_privprotocol": "0",                     "host_source": "1",                     "name_source": "0"                                      },                 {                     "dcheckid": "8",                     "druleid": "2",                     "type": "4",                     "key_": "",                     "snmp_community": "",                     "ports": "80",                     "snmpv3_securityname": "",                     "snmpv3_securitylevel": "0",                     "snmpv3_authpassphrase": "",                     "snmpv3_privpassphrase": "",                     "uniq": "0",                     "snmpv3_authprotocol": "0",                     "snmpv3_privprotocol": "0",                     "host_source": "1",                     "name_source": "0"                                     }             ]         },         {             "druleid": "6",             "proxy_hostid": "0",             "name": "Zabbix agent discovery",             "iprange": "192.168.1.1-255",             "delay": "1h",             "nextcheck": "0",             "status": "0",             "dchecks": [                 {                     "dcheckid": "10",                     "druleid": "6",                     "type": "9",                     "key_": "system.uname",                     "snmp_community": "",                     "ports": "10050",                     "snmpv3_securityname": "",                     "snmpv3_securitylevel": "0",                     "snmpv3_authpassphrase": "",                     "snmpv3_privpassphrase": "",                     "uniq": "0",                     "snmpv3_authprotocol": "0",                     "snmpv3_privprotocol": "0",                     "host_source": "2",                     "name_source": "3"                                     }             ]         }     ],     "id": 1 } ```
fa	#### دریافت تمام قوانین جست و جو   Retrieve all configured discovery rules and the discovery checks they use.  Request:  ```json {     "jsonrpc": "2.0",     "method": "drule.get",     "params": {         "output": "extend",         "selectDChecks": "extend"     },     "auth": "038e1d7b1735c6a5436ee9eae095879e",     "id": 1 } ```  Response:  ```json {     "jsonrpc": "2.0",     "result": [         {             "druleid": "2",             "proxy_hostid": "0",             "name": "Local network",             "iprange": "192.168.3.1-255",             "delay": "5s",             "nextcheck": "1348754327",             "status": "0",             "dchecks": [                 {                     "dcheckid": "7",                     "druleid": "2",                     "type": "3",                     "key_": "",                     "snmp_community": "",                     "ports": "21",                     "snmpv3_securityname": "",                     "snmpv3_securitylevel": "0",                     "snmpv3_authpassphrase": "",                     "snmpv3_privpassphrase": "",                     "uniq": "0",                     "snmpv3_authprotocol": "0",                     "snmpv3_privprotocol": "0",                     "host_source": "1",                     "name_source": "0"                                      },                 {                     "dcheckid": "8",                     "druleid": "2",                     "type": "4",                     "key_": "",                     "snmp_community": "",                     "ports": "80",                     "snmpv3_securityname": "",                     "snmpv3_securitylevel": "0",                     "snmpv3_authpassphrase": "",                     "snmpv3_privpassphrase": "",                     "uniq": "0",                     "snmpv3_authprotocol": "0",                     "snmpv3_privprotocol": "0",                     "host_source": "1",                     "name_source": "0"                                     }             ]         },         {             "druleid": "6",             "proxy_hostid": "0",             "name": "Zabbix agent discovery",             "iprange": "192.168.1.1-255",             "delay": "1h",             "nextcheck": "0",             "status": "0",             "dchecks": [                 {                     "dcheckid": "10",                     "druleid": "6",                     "type": "9",                     "key_": "system.uname",                     "snmp_community": "",                     "ports": "10050",                     "snmpv3_securityname": "",                     "snmpv3_securitylevel": "0",                     "snmpv3_authpassphrase": "",                     "snmpv3_privpassphrase": "",                     "uniq": "0",                     "snmpv3_authprotocol": "0",                     "snmpv3_privprotocol": "0",                     "host_source": "2",                     "name_source": "3"                                     }             ]         }     ],     "id": 1 } ```

en-us	#### Retrieve an icon map  Retrieve all data about icon map "3".  Request:  ```json {     "jsonrpc": "2.0",     "method": "iconmap.get",     "params": {         "iconmapids": "3",         "output": "extend",         "selectMappings": "extend"     },     "auth": "038e1d7b1735c6a5436ee9eae095879e",     "id": 1 } ```  Response:  ```json {     "jsonrpc": "2.0",     "result": [         {             "mappings": [                 {                     "iconmappingid": "3",                     "iconmapid": "3",                     "iconid": "6",                     "inventory_link": "1",                     "expression": "server",                     "sortorder": "0"                 },                 {                     "iconmappingid": "4",                     "iconmapid": "3",                     "iconid": "10",                     "inventory_link": "1",                     "expression": "switch",                     "sortorder": "1"                 }             ],             "iconmapid": "3",             "name": "Host type icons",             "default_iconid": "2"         }     ],     "id": 1 } ```
fa	#### دریافت آیکون مپ   Retrieve all data about icon map "3".  Request:  ```json {     "jsonrpc": "2.0",     "method": "iconmap.get",     "params": {         "iconmapids": "3",         "output": "extend",         "selectMappings": "extend"     },     "auth": "038e1d7b1735c6a5436ee9eae095879e",     "id": 1 } ```  Response:  ```json {     "jsonrpc": "2.0",     "result": [         {             "mappings": [                 {                     "iconmappingid": "3",                     "iconmapid": "3",                     "iconid": "6",                     "inventory_link": "1",                     "expression": "server",                     "sortorder": "0"                 },                 {                     "iconmappingid": "4",                     "iconmapid": "3",                     "iconid": "10",                     "inventory_link": "1",                     "expression": "switch",                     "sortorder": "1"                 }             ],             "iconmapid": "3",             "name": "Host type icons",             "default_iconid": "2"         }     ],     "id": 1 } ```

en-us	#### Retrieve an image  Retrieve all data for image with ID "2".  Request:  ```json {     "jsonrpc": "2.0",     "method": "image.get",     "params": {         "output": "extend",         "select_image": true,         "imageids": "2"     },     "auth": "038e1d7b1735c6a5436ee9eae095879e",     "id": 1 } ```  Response:  ```json {     "jsonrpc": "2.0",     "result": [         {             "imageid": "2",             "imagetype": "1",             "name": "Cloud_(24)",             "image": "iVBORw0KGgoAAAANSUhEUgAAABgAAAANCAYAAACzbK7QAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAACmAAAApgBNtNH3wAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAAIcSURBVDjLrZLbSxRRHMdPKiEiRQ89CD0s+N5j9BIMEf4Hg/jWexD2ZEXQbC9tWUFZimtLhswuZiVujK1UJmYXW9PaCUdtb83enL3P7s6ss5f5dc7EUsmqkPuFH3M4/Ob7+V0OAgC0UyDENFEU03rh1uNOs/lFG75o2i2/rkd9Y3Tgyj3HiaezbukdH9A/rP4E9vWi0u+Y4fuGnMf3DRgYc3Z/84YrQSkD3mgKhFAC+KAEK74Y2Lj3MjPoOokQ3Xyx/1GHeXCifbfO6lRPH/wi+AvZQhGSsgKxdB5CCRkCGPbDgMXBMbukTc4vK5/WRHizsq7fZl2LFuvE4T0BZDTXHtgv4TNUqlUolsqQL2qQwbDEXzBBTIJ7I4y/cfAENmHZF4XrY9Mc+X9HAFmoyXS2ddy1IOg6/KNyBcM0DFP/wFZFCcOy4N9Mw0YkCTOfhdL5AfZQXQBFn2t/ODXHC8FYVcoWjNEQ03qqwTJ5FdI44jg/msoB2Zd5ZKq3q6evA1FUS60bYyyj3AJf3V72HiLZJQxTtRLk1C2IYEg4mTNg63hPd1mOJd7Ict911OMNlWEf0nFxpCt16zcshTuLpGSwDDuPIfv0xzNyQYVGicC0cgUUDLM6Xp02lvvW/V2EBssnxlSGmWsxljw0znV9XfPLjTCW84r+cn7Jc8c2eWrbM6Wbe6/aTJbhJ/TNkWc9/xXW592Xb9iPkKnUfH8BKdLgFy0lDyQAAAAASUVORK5CYII="         }     ],     "id": 1 } ```
fa	بازیابی همه داده ها برای تصویر با شناسه "2". درخواست:```json{"jsonrpc": "2.0"، "method": "image.get"، "params": {"output": "extend"،" select_image": true,"imageids": "2"},"auth": "038e1d7b1735c6a5436ee9eae095879e","id": 1}```پاسخ:```json{"jsonrpc": "2.0"،"نتیجه": [{"imageid": "2"،"imagetype": "1"،"name": "Cloud_(24)"،"image": "iVBORw0KGgoAAAANSUhEUgAAABgAAAANCAYAAACzbK7QAAAABHNCSVQICAgIfAhkiAAAAAAlwSAFAH00Az mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAAIcSURBVDjLrZLbSxRRHMdPKiEiRQ89CD0s+N5j9BIMEf4Hg/jWexD2ZEXQbC9tWUFZimtLhsJKW1PuZiLhsJKW1Pa3Lhsqw1006Lhs100000000000000000000001 ss5f5dc7EUsmqkPuFH3M4/Ob7+V0OAgC0UyDENFEU03rh1uNOs/lFG75o2i2/rkd9Y3Tgyj3HiaezbukdH9A/rP4E9vWi0u+ Y4fuGnMf3DRgYc3Z/84YrQSkD3mgKhFAC+KAEK74Y2Lj3MjPoOokQ3Xyx/1GHeXCifbfO6lRPH/wi+AvZQhGSsgKxdB5CCRkCGPbDgMXHBvKlTuKT BZDTXHtgv4TNUqlUolsqQL2qQwbDEXzBBTIJ7I4y/cfAENmHZF4XrY9Mc+X9HAFmoyXS2ddy1IOg6/KNyBcM0DFP/wFZFCcOy4N9MwZQDQYKF/wFZFCcOy4N9MwZQDQYKF WjNEQ03qqwTJ5FdI44jg/msoB2Zd5ZKq3q6evA1FUS60bYyyj3AJf3V72HiLZJQxTtRLk1C2IYEg4mTNg63hPd1mOJd7Ict911OMNzpWEFUS60bYyyj3AJf3V72HiLZJQxTtRLk1C2IYEg4mTNg63hPd1mOJd7Ict911OMNzpWEFUS60 NyQYVGicC0cgUUDLM6Xp02lvvW/V2EBssnxlSGmWsxljw0znV9XfPLjTCW84r+cn7Jc8c2eWrbM6Wbe6/aTJbhJ/TNkWc9/xXWHiPaaaKd SUVORK5CYII="}],"id": 1}```

en-us	#### Retrieve audit log  Retrieve two latest audit log records.  Request:  ```json {     "jsonrpc": "2.0",     "method": "auditlog.get",     "params": {         "output": "extend",         "sortfield": "clock",         "sortorder": "DESC",         "limit": 2     },     "auth": "038e1d7b1735c6a5436ee9eae095879e",     "id": 1 } ```  Response:  ```json {     "jsonrpc": "2.0",     "result": [         {             "auditid": "cksstgfam0001yhdcc41y20q2",             "userid": "1",             "username": "Admin",             "clock": "1629975715",             "ip": "127.0.0.1",             "action": "1",             "resourcetype": "0",             "resourceid": "0",             "resourcename": "Jim",             "recordsetid": "cksstgfal0000yhdcso67ondl",             "details": "{\"user.name\":[\"update\",\"Jim\",\"\"],\"user.medias[37]\":[\"add\"],\"user.medias[37].\":[\"add\"],\"user.medias[37].mediatypeid\":[\"add\",\"1\"],\"user.medias[37].sendto\":[\"add\",\"support123@company.com\"]}"                      },         {             "auditid": "ckssofl0p0001yhdcqxclsg8r",             "userid": "1",             "username": "Admin",             "clock": "1629967278",             "ip": "127.0.0.1",             "action": "0",             "resourcetype": "0",             "resourceid": "20",             "resourcename": "John",             "recordsetid": "ckssofl0p0000yhdcpxyo1jgo",             "details": "{\"user.username\":[\"add\",\"John\"], \"user.userid:\":[\"add\",\"20\"],\"user.usrgrps[28]\":[\"add\"],\"user.usrgrps[28].usrgrpid\":[\"add\", \"7\"]}"         }     ],     "id": 1 } ```
fa	#### گزارش حسابرسی را بازیابی کنید  دو آخرین رکورد حسابرسی را بازیابی کنید.  درخواست:  ``json {     "jsonrpc": "2.0"،     "روش": "auditlog.get"،     "params": {         "output": "extend"         "محل مرتب سازی": "ساعت"،         "مرتب‌ساز": "DESC"،         "حد": 2     }،     "auth": "038e1d7b1735c6a5436ee9eae095879e"،     "id": 1 } ```  واکنش:  ``json {     "jsonrpc": "2.0"،     "نتیجه": [         {             "auditid": "cksstgfam0001yhdcc41y20q2"،             "userid": "1"،             "نام کاربری": "مدیر"،             "ساعت": "1629975715"،             "ip": "127.0.0.1"،             "عمل": "1"،             "نوع منبع": "0"،             "resourceid": "0",             "نام منبع": "جیم"،             "recordsetid": "cksstgfal0000yhdcso67ondl"،             "details": "{\"user.name\":[\"update\",\"Jim\",\"\"],\"user.medias[37]\":[\"add\" ]، \"user.medias[37].\":[\"add\"]، \"user.medias[37].mediatypeid\":[\"add\",\"1\"],\ "user.medias[37].sendto\":[\"add\",\"support123@company.com\"]}"                      }،         {             "auditid": "ckssofl0p0001yhdcqxclsg8r"،             "userid": "1"،             "نام کاربری": "مدیر"،             "ساعت": "1629967278"،             "ip": "127.0.0.1"،             "عمل": "0"،             "نوع منبع": "0"،             "resourceid": "20"،             "نام منبع": "جان"،             "recordsetid": "ckssofl0p0000yhdcpxyo1jgo"،             "جزئیات": "{\"user.username\":[\"add\",\"John\"], \"user.userid:\":[\"add\",\"20\"] ,\"user.usrgrps[28]\":[\"add\"],\"user.usrgrps[28].usrgrpid\":[\"add\", \"7\"]}"         }     ]،     "id": 1 } ```

en-us	#### Retrieve correlations  Retrieve all configured correlations together with correlation conditions and operations. The filter uses the "and/or" evaluation type, so the `formula` property is empty and `eval_formula` is generated automatically.  Request:  ```json {     "jsonrpc": "2.0",     "method": "correlation.get",     "params": {         "output": "extend",         "selectOperations": "extend",         "selectFilter": "extend"     },     "auth": "343baad4f88b4106b9b5961e77437688",     "id": 1 } ```  Response:  ```json {     "jsonrpc": "2.0",     "result": [         {             "correlationid": "1",             "name": "Correlation 1",             "description": "",             "status": "0",             "filter": {                 "evaltype": "0",                 "formula": "",                 "conditions": [                     {                         "type": "3",                         "oldtag": "error",                         "newtag": "ok",                         "formulaid": "A"                     }                 ],                 "eval_formula": "A"             },             "operations": [                 {                     "type": "0"                 }             ]         }     ],     "id": 1 } ```
fa	#### همبستگی ها را بازیابی کنید  همه همبستگی های پیکربندی شده را همراه با همبستگی بازیابی کنید شرایط و عملیات فیلتر از نوع ارزیابی "و/یا" استفاده می کند، بنابراین ویژگی "formula" خالی است و "eval_formula" تولید می شود بطور خودکار.  درخواست:  ``json {     "jsonrpc": "2.0"،     "روش": "correlation.get"،     "params": {         "output": "extend"         "selectOperations": "extend",         "selectFilter": "extend"     }،     "auth": "343baad4f88b4106b9b5961e77437688"،     "id": 1 } ```  واکنش:  ``json {     "jsonrpc": "2.0"،     "نتیجه": [         {             "همبستگی": "1"،             "نام": "همبستگی 1"،             "شرح": ""،             "وضعیت": "0"،             "فیلتر": {                 "evaltype": "0"،                 "فرمول": ""،                 "شرایط": [                     {                         "نوع": "3"،                         "oldtag": "خطا"،                         "نیوتگ": "خوب"،                         "formulaid": "A"                     }                 ]،                 "eval_formula": "A"             }،             "عملیات": [                 {                     "نوع": "0"                 }             ]         }     ]،     "id": 1 } ```

en-us	#### Retrieve discovered hosts by discovery rule  Retrieve all hosts and the discovered services they are running that have been detected by discovery rule "4".  Request:  ```json {     "jsonrpc": "2.0",     "method": "dhost.get",     "params": {         "output": "extend",         "selectDServices": "extend",         "druleids": "4"     },     "auth": "038e1d7b1735c6a5436ee9eae095879e",     "id": 1 } ```  Response:  ```json {     "jsonrpc": "2.0",     "result": [         {             "dservices": [                 {                     "dserviceid": "1",                     "dhostid": "1",                     "type": "4",                     "key_": "",                     "value": "",                     "port": "80",                     "status": "0",                     "lastup": "1337697227",                     "lastdown": "0",                     "dcheckid": "5",                     "ip": "192.168.1.1",                     "dns": "station.company.lan"                 }             ],             "dhostid": "1",             "druleid": "4",             "status": "0",             "lastup": "1337697227",             "lastdown": "0"         },         {             "dservices": [                 {                     "dserviceid": "2",                     "dhostid": "2",                     "type": "4",                     "key_": "",                     "value": "",                     "port": "80",                     "status": "0",                     "lastup": "1337697234",                     "lastdown": "0",                     "dcheckid": "5",                     "ip": "192.168.1.4",                     "dns": "john.company.lan"                 }             ],             "dhostid": "2",             "druleid": "4",             "status": "0",             "lastup": "1337697234",             "lastdown": "0"         },         {             "dservices": [                 {                     "dserviceid": "3",                     "dhostid": "3",                     "type": "4",                     "key_": "",                     "value": "",                     "port": "80",                     "status": "0",                     "lastup": "1337697234",                     "lastdown": "0",                     "dcheckid": "5",                     "ip": "192.168.1.26",                     "dns": "printer.company.lan"                 }             ],             "dhostid": "3",             "druleid": "4",             "status": "0",             "lastup": "1337697234",             "lastdown": "0"         },         {             "dservices": [                 {                     "dserviceid": "4",                     "dhostid": "4",                     "type": "4",                     "key_": "",                     "value": "",                     "port": "80",                     "status": "0",                     "lastup": "1337697234",                     "lastdown": "0",                     "dcheckid": "5",                     "ip": "192.168.1.7",                     "dns": "mail.company.lan"                 }             ],             "dhostid": "4",             "druleid": "4",             "status": "0",             "lastup": "1337697234",             "lastdown": "0"         }     ],     "id": 1 } ```
fa	#### دریافت هاست های جست و جو شده با قوانین جست جو   Retrieve all hosts and the discovered services they are running that have been detected by discovery rule "4".  Request:  ```json {     "jsonrpc": "2.0",     "method": "dhost.get",     "params": {         "output": "extend",         "selectDServices": "extend",         "druleids": "4"     },     "auth": "038e1d7b1735c6a5436ee9eae095879e",     "id": 1 } ```  Response:  ```json {     "jsonrpc": "2.0",     "result": [         {             "dservices": [                 {                     "dserviceid": "1",                     "dhostid": "1",                     "type": "4",                     "key_": "",                     "value": "",                     "port": "80",                     "status": "0",                     "lastup": "1337697227",                     "lastdown": "0",                     "dcheckid": "5",                     "ip": "192.168.1.1",                     "dns": "station.company.lan"                 }             ],             "dhostid": "1",             "druleid": "4",             "status": "0",             "lastup": "1337697227",             "lastdown": "0"         },         {             "dservices": [                 {                     "dserviceid": "2",                     "dhostid": "2",                     "type": "4",                     "key_": "",                     "value": "",                     "port": "80",                     "status": "0",                     "lastup": "1337697234",                     "lastdown": "0",                     "dcheckid": "5",                     "ip": "192.168.1.4",                     "dns": "john.company.lan"                 }             ],             "dhostid": "2",             "druleid": "4",             "status": "0",             "lastup": "1337697234",             "lastdown": "0"         },         {             "dservices": [                 {                     "dserviceid": "3",                     "dhostid": "3",                     "type": "4",                     "key_": "",                     "value": "",                     "port": "80",                     "status": "0",                     "lastup": "1337697234",                     "lastdown": "0",                     "dcheckid": "5",                     "ip": "192.168.1.26",                     "dns": "printer.company.lan"                 }             ],             "dhostid": "3",             "druleid": "4",             "status": "0",             "lastup": "1337697234",             "lastdown": "0"         },         {             "dservices": [                 {                     "dserviceid": "4",                     "dhostid": "4",                     "type": "4",                     "key_": "",                     "value": "",                     "port": "80",                     "status": "0",                     "lastup": "1337697234",                     "lastdown": "0",                     "dcheckid": "5",                     "ip": "192.168.1.7",                     "dns": "mail.company.lan"                 }             ],             "dhostid": "4",             "druleid": "4",             "status": "0",             "lastup": "1337697234",             "lastdown": "0"         }     ],     "id": 1 } ```

en-us	#### Retrieve discovery actions  Retrieve all configured discovery actions together with action conditions and operations. The filter uses the "and" evaluation type, so the `formula` property is empty and `eval_formula` is generated automatically.  Request:  ```json {     "jsonrpc": "2.0",     "method": "action.get",     "params": {         "output": "extend",         "selectOperations": "extend"         "selectFilter": "extend",         "filter": {             "eventsource": 1         }     },     "auth": "038e1d7b1735c6a5436ee9eae095879e",     "id": 1 } ```  Response:  ```json {     "jsonrpc": "2.0",     "result": [         {             "actionid": "2",             "name": "Auto discovery. Linux servers.",             "eventsource": "1",             "status": "1",             "esc_period": "0s",             "pause_suppressed": "1",             "filter": {                 "evaltype": "0",                 "formula": "",                 "conditions": [                     {                         "conditiontype": "10",                         "operator": "0",                         "value": "0",                         "value2": "",                         "formulaid": "B"                     },                     {                         "conditiontype": "8",                         "operator": "0",                         "value": "9",                         "value2": "",                         "formulaid": "C"                     },                     {                         "conditiontype": "12",                         "operator": "2",                         "value": "Linux",                         "value2": "",                         "formulaid": "A"                     }                 ],                 "eval_formula": "A and B and C"             },             "operations": [                 {                     "operationid": "1",                     "actionid": "2",                     "operationtype": "6",                     "esc_period": "0s",                     "esc_step_from": "1",                     "esc_step_to": "1",                     "evaltype": "0",                     "opconditions": [],                     "optemplate": [                         {                             "templateid": "10001"                         }                     ]                 },                 {                     "operationid": "2",                     "actionid": "2",                     "operationtype": "4",                     "esc_period": "0s",                     "esc_step_from": "1",                     "esc_step_to": "1",                     "evaltype": "0",                     "opconditions": [],                     "opgroup": [                         {                             "groupid": "2"                         }                     ]                 }             ]         }     ],     "id": 1 } ```
fa	#### اقدامات کشف را بازیابی کنید  همه اقدامات کشف پیکربندی شده را همراه با عمل بازیابی کنید شرایط و عملیات فیلتر از نوع ارزیابی "و" استفاده می کند، بنابراین ویژگی "formula" خالی است و "eval_formula" ایجاد می شود بطور خودکار.  درخواست:  ``json {     "jsonrpc": "2.0"،     "روش": "action.get"،     "params": {         "output": "extend"         "selectOperations": "extend"         "selectFilter": "extend",         "فیلتر": {             "منبع رویداد": 1         }     }،     "auth": "038e1d7b1735c6a5436ee9eae095879e"،     "id": 1 } ```  واکنش:  ``json {     "jsonrpc": "2.0"،     "نتیجه": [         {             "actionid": "2"،             "name": "کشف خودکار. سرورهای لینوکس."،             "منبع رویداد": "1"،             "وضعیت": "1"،             "esc_period": "0s"،             "pause_suppressed": "1"،             "فیلتر": {                 "evaltype": "0"،                 "فرمول": ""،                 "شرایط": [                     {                         "شرایط نوع": "10"،                         "اپراتور": "0"،                         "ارزش": "0"،                         "value2": "",                         "formulaid": "B"                     }،                     {                         "conditiontype": "8"،                         "اپراتور": "0"،                         "ارزش": "9"،                         "value2": "",                         "formulaid": "C"                     }،                     {                         "conditiontype": "12"،                         "اپراتور": "2"،                         "ارزش": "لینوکس"،                         "value2": "",                         "formulaid": "A"                     }                 ]،                 "eval_formula": "A و B و C"             }،             "عملیات": [                 {                     "operationid": "1"،                     "actionid": "2"،                     "نوع عملیات": "6"،                     "esc_period": "0s"،                     "esc_step_from": "1"،                     "esc_step_to": "1"،                     "evaltype": "0"،                     "شرایط": []،                     "نمونه": [                         {                             "templateid": "10001"                         }                     ]                 }،                 {                     "operationid": "2"،                     "actionid": "2"،                     "نوع عملیات": "4"،                     "esc_period": "0s"،                     "esc_step_from": "1"،                     "esc_step_to": "1"،                     "evaltype": "0"،                     "شرایط": []،                     "opgroup": [                         {                             "گروهی": "2"                         }                     ]                 }             ]         }     ]،     "id": 1 } ```

en-us	#### Retrieve discovery checks for a discovery rule  Retrieve all discovery checks used by discovery rule "6".  Request:  ```json {     "jsonrpc": "2.0",     "method": "dcheck.get",     "params": {         "output": "extend",         "dcheckids": "6"     },     "auth": "038e1d7b1735c6a5436ee9eae095879e",     "id": 1 } ```  Response:  ```json {     "jsonrpc": "2.0",     "result": [         {             "dcheckid": "6",             "druleid": "4",             "type": "3",             "key_": "",             "snmp_community": "",             "ports": "21",             "snmpv3_securityname": "",             "snmpv3_securitylevel": "0",             "snmpv3_authpassphrase": "",             "snmpv3_privpassphrase": "",             "uniq": "0",             "snmpv3_authprotocol": "0",             "snmpv3_privprotocol": "0",             "host_source": "1",             "name_source": "0"                     }     ],     "id": 1 } ```
fa	#### دریافت بررسی های جست و جو  برای قوانین جست و جو   Retrieve all discovery checks used by discovery rule "6".  Request:  ```json {     "jsonrpc": "2.0",     "method": "dcheck.get",     "params": {         "output": "extend",         "dcheckids": "6"     },     "auth": "038e1d7b1735c6a5436ee9eae095879e",     "id": 1 } ```  Response:  ```json {     "jsonrpc": "2.0",     "result": [         {             "dcheckid": "6",             "druleid": "4",             "type": "3",             "key_": "",             "snmp_community": "",             "ports": "21",             "snmpv3_securityname": "",             "snmpv3_securitylevel": "0",             "snmpv3_authpassphrase": "",             "snmpv3_privpassphrase": "",             "uniq": "0",             "snmpv3_authprotocol": "0",             "snmpv3_privprotocol": "0",             "host_source": "1",             "name_source": "0"                     }     ],     "id": 1 } ```

en-us	#### Retrieve host interfaces  Retrieve all data about the interfaces used by host "30057."  Request:  ```json {     "jsonrpc": "2.0",     "method": "hostinterface.get",     "params": {         "output": "extend",         "hostids": "30057"     },     "auth": "038e1d7b1735c6a5436ee9eae095879e",     "id": 1 } ```  Response:  ```json {     "jsonrpc": "2.0",     "result": [         {             "interfaceid": "50039",             "hostid": "30057",             "main": "1",             "type": "1",             "useip": "1",             "ip": "::1",             "dns": "",             "port": "10050",             "available": "0",             "error": "",             "errors_from": "0",             "disable_until": "0",             "details": []         },         {             "interfaceid": "55082",             "hostid": "30057",             "main": "0",             "type": "1",             "useip": "1",             "ip": "127.0.0.1",             "dns": "",             "port": "10051",             "available": "0",             "error": "",             "errors_from": "0",             "disable_until": "0",             "details": {                 "version": "2",                 "bulk": "0",                 "community": "{$SNMP_COMMUNITY}"             }         }     ],     "id": 1 } ```
fa	#### دریافت اینترفیس های هاست   Retrieve all data about the interfaces used by host "30057."  Request:  ```json {     "jsonrpc": "2.0",     "method": "hostinterface.get",     "params": {         "output": "extend",         "hostids": "30057"     },     "auth": "038e1d7b1735c6a5436ee9eae095879e",     "id": 1 } ```  Response:  ```json {     "jsonrpc": "2.0",     "result": [         {             "interfaceid": "50039",             "hostid": "30057",             "main": "1",             "type": "1",             "useip": "1",             "ip": "::1",             "dns": "",             "port": "10050",             "available": "0",             "error": "",             "errors_from": "0",             "disable_until": "0",             "details": []         },         {             "interfaceid": "55082",             "hostid": "30057",             "main": "0",             "type": "1",             "useip": "1",             "ip": "127.0.0.1",             "dns": "",             "port": "10051",             "available": "0",             "error": "",             "errors_from": "0",             "disable_until": "0",             "details": {                 "version": "2",                 "bulk": "0",                 "community": "{$SNMP_COMMUNITY}"             }         }     ],     "id": 1 } ```

en-us	#### Retrieve LLD rule by URL  Retrieve LLD rule for host by rule URL field value. Only exact match of URL string defined for LLD rule is supported.  Request:  ```json {     "jsonrpc": "2.0",     "method": "discoveryrule.get",     "params": {         "hostids": "10257",         "filter": {             "type": 19,             "url": "http://127.0.0.1/discoverer.php"         }     },     "id": 39,     "auth": "d678e0b85688ce578ff061bd29a20d3b" } ```  Response:  ```json {     "jsonrpc": "2.0",     "result": [         {             "itemid": "28336",             "type": "19",             "snmp_oid": "",             "hostid": "10257",             "name": "API HTTP agent",             "key_": "api_discovery_rule",             "delay": "5s",             "status": "0",             "trapper_hosts": "",             "templateid": "0",             "valuemapid": "0",             "params": "",             "ipmi_sensor": "",             "authtype": "0",             "username": "",             "password": "",             "publickey": "",             "privatekey": "",             "interfaceid": "5",             "description": "",             "lifetime": "30d",             "jmx_endpoint": "",             "master_itemid": "0",             "timeout": "3s",             "url": "http://127.0.0.1/discoverer.php",             "query_fields": [                 {                     "mode": "json"                 },                 {                     "elements": "2"                 }             ],             "posts": "",             "status_codes": "200",             "follow_redirects": "1",             "post_type": "0",             "http_proxy": "",             "headers": {                 "X-Type": "api",                 "Authorization": "Bearer mF_A.B5f-2.1JcM"             },             "retrieve_mode": "0",             "request_method": "1",             "ssl_cert_file": "",             "ssl_key_file": "",             "ssl_key_password": "",             "verify_peer": "0",             "verify_host": "0",             "allow_traps": "0",             "uuid": "",             "state": "0",             "error": "",             "parameters": []         }     ],     "id": 39 } ```
fa	#### دریافت قانون LLD به وسیله URL  Retrieve LLD rule for host by rule URL field value. Only exact match of URL string defined for LLD rule is supported.  Request:  ```json {     "jsonrpc": "2.0",     "method": "discoveryrule.get",     "params": {         "hostids": "10257",         "filter": {             "type": 19,             "url": "http://127.0.0.1/discoverer.php"         }     },     "id": 39,     "auth": "d678e0b85688ce578ff061bd29a20d3b" } ```  Response:  ```json {     "jsonrpc": "2.0",     "result": [         {             "itemid": "28336",             "type": "19",             "snmp_oid": "",             "hostid": "10257",             "name": "API HTTP agent",             "key_": "api_discovery_rule",             "delay": "5s",             "status": "0",             "trapper_hosts": "",             "templateid": "0",             "valuemapid": "0",             "params": "",             "ipmi_sensor": "",             "authtype": "0",             "username": "",             "password": "",             "publickey": "",             "privatekey": "",             "interfaceid": "5",             "description": "",             "lifetime": "30d",             "jmx_endpoint": "",             "master_itemid": "0",             "timeout": "3s",             "url": "http://127.0.0.1/discoverer.php",             "query_fields": [                 {                     "mode": "json"                 },                 {                     "elements": "2"                 }             ],             "posts": "",             "status_codes": "200",             "follow_redirects": "1",             "post_type": "0",             "http_proxy": "",             "headers": {                 "X-Type": "api",                 "Authorization": "Bearer mF_A.B5f-2.1JcM"             },             "retrieve_mode": "0",             "request_method": "1",             "ssl_cert_file": "",             "ssl_key_file": "",             "ssl_key_password": "",             "verify_peer": "0",             "verify_host": "0",             "allow_traps": "0",             "uuid": "",             "state": "0",             "error": "",             "parameters": []         }     ],     "id": 39 } ```

en-us	#### Retrieve LLD rule with overrides  Retrieve one LLD rule that has various override settings.  Request:  ```json {     "jsonrpc": "2.0",     "method": "discoveryrule.get",     "params": {         "output": ["name"],         "itemids": "30980",         "selectOverrides": ["name", "step", "stop", "filter", "operations"]     },     "id": 39,     "auth": "d678e0b85688ce578ff061bd29a20d3b" } ```  Response:  ```json {     "jsonrpc": "2.0",     "result": [         {             "name": "Discover database host",             "overrides": [                 {                     "name": "Discover MySQL host",                     "step": "1",                     "stop": "1",                     "filter": {                         "evaltype": "2",                         "formula": "",                         "conditions": [                             {                                 "macro": "{#UNIT.NAME}",                                 "operator": "8",                                 "value": "^mysqld\\.service$",                                 "formulaid": "A"                             },                             {                                 "macro": "{#UNIT.NAME}",                                 "operator": "8",                                 "value": "^mariadb\\.service$",                                 "formulaid": "B"                             }                         ],                         "eval_formula": "A or B"                     },                     "operations": [                         {                             "operationobject": "3",                             "operator": "2",                             "value": "Database host",                             "opstatus": {                                 "status": "0"                             },                             "optag": [                                 {                                     "tag": "Database",                                     "value": "MySQL"                                 }                             ],                             "optemplate": [                                 {                                     "templateid": "10170"                                 }                             ]                         }                     ]                 },                 {                     "name": "Discover PostgreSQL host",                     "step": "2",                     "stop": "1",                     "filter": {                         "evaltype": "0",                         "formula": "",                         "conditions": [                             {                                 "macro": "{#UNIT.NAME}",                                 "operator": "8",                                 "value": "^postgresql\\.service$",                                 "formulaid": "A"                             }                         ],                         "eval_formula": "A"                     },                     "operations": [                         {                             "operationobject": "3",                             "operator": "2",                             "value": "Database host",                             "opstatus": {                                 "status": "0"                             },                             "optag": [                                 {                                     "tag": "Database",                                     "value": "PostgreSQL"                                 }                             ],                             "optemplate": [                                 {                                     "templateid": "10263"                                 }                             ]                         }                     ]                 }             ]         }     ],     "id": 39 } ```
fa	#### دریافت یک قانون LLD به همراه تکرار   Retrieve one LLD rule that has various override settings.  Request:  ```json {     "jsonrpc": "2.0",     "method": "discoveryrule.get",     "params": {         "output": ["name"],         "itemids": "30980",         "selectOverrides": ["name", "step", "stop", "filter", "operations"]     },     "id": 39,     "auth": "d678e0b85688ce578ff061bd29a20d3b" } ```  Response:  ```json {     "jsonrpc": "2.0",     "result": [         {             "name": "Discover database host",             "overrides": [                 {                     "name": "Discover MySQL host",                     "step": "1",                     "stop": "1",                     "filter": {                         "evaltype": "2",                         "formula": "",                         "conditions": [                             {                                 "macro": "{#UNIT.NAME}",                                 "operator": "8",                                 "value": "^mysqld\\.service$",                                 "formulaid": "A"                             },                             {                                 "macro": "{#UNIT.NAME}",                                 "operator": "8",                                 "value": "^mariadb\\.service$",                                 "formulaid": "B"                             }                         ],                         "eval_formula": "A or B"                     },                     "operations": [                         {                             "operationobject": "3",                             "operator": "2",                             "value": "Database host",                             "opstatus": {                                 "status": "0"                             },                             "optag": [                                 {                                     "tag": "Database",                                     "value": "MySQL"                                 }                             ],                             "optemplate": [                                 {                                     "templateid": "10170"                                 }                             ]                         }                     ]                 },                 {                     "name": "Discover PostgreSQL host",                     "step": "2",                     "stop": "1",                     "filter": {                         "evaltype": "0",                         "formula": "",                         "conditions": [                             {                                 "macro": "{#UNIT.NAME}",                                 "operator": "8",                                 "value": "^postgresql\\.service$",                                 "formulaid": "A"                             }                         ],                         "eval_formula": "A"                     },                     "operations": [                         {                             "operationobject": "3",                             "operator": "2",                             "value": "Database host",                             "opstatus": {                                 "status": "0"                             },                             "optag": [                                 {                                     "tag": "Database",                                     "value": "PostgreSQL"                                 }                             ],                             "optemplate": [                                 {                                     "templateid": "10263"                                 }                             ]                         }                     ]                 }             ]         }     ],     "id": 39 } ```

en-us	#### Retrieve services discovered on a host  Retrieve all discovered services detected on discovered host "11".  Request:  ```json {     "jsonrpc": "2.0",     "method": "dservice.get",     "params": {         "output": "extend",         "dhostids": "11"     },     "auth": "038e1d7b1735c6a5436ee9eae095879e",     "id": 1 } ```  Response:  ```json {     "jsonrpc": "2.0",     "result": [         {             "dserviceid": "12",             "dhostid": "11",             "value": "",             "port": "80",             "status": "1",             "lastup": "0",             "lastdown": "1348650607",             "dcheckid": "5",             "ip": "192.168.1.134",             "dns": "john.local"         },         {             "dserviceid": "13",             "dhostid": "11",             "value": "",             "port": "21",             "status": "1",             "lastup": "0",             "lastdown": "1348650610",             "dcheckid": "6",             "ip": "192.168.1.134",             "dns": "john.local"         }     ],     "id": 1 } ```
fa	#### دریافت سرویس های جست و جو شده بر روی هاست   Retrieve all discovered services detected on discovered host "11".  Request:  ```json {     "jsonrpc": "2.0",     "method": "dservice.get",     "params": {         "output": "extend",         "dhostids": "11"     },     "auth": "038e1d7b1735c6a5436ee9eae095879e",     "id": 1 } ```  Response:  ```json {     "jsonrpc": "2.0",     "result": [         {             "dserviceid": "12",             "dhostid": "11",             "value": "",             "port": "80",             "status": "1",             "lastup": "0",             "lastdown": "1348650607",             "dcheckid": "5",             "ip": "192.168.1.134",             "dns": "john.local"         },         {             "dserviceid": "13",             "dhostid": "11",             "value": "",             "port": "21",             "status": "1",             "lastup": "0",             "lastdown": "1348650610",             "dcheckid": "6",             "ip": "192.168.1.134",             "dns": "john.local"         }     ],     "id": 1 } ```

en-us	#### Retrieve trigger actions  Retrieve all configured trigger actions together with action conditions and operations.  Request:  ```json {     "jsonrpc": "2.0",     "method": "action.get",     "params": {         "output": "extend",         "selectOperations": "extend",         "selectRecoveryOperations": "extend",         "selectUpdateOperations": "extend",         "selectFilter": "extend",         "filter": {             "eventsource": 0         }     },     "auth": "038e1d7b1735c6a5436ee9eae095879e",     "id": 1 } ```  Response:  ```json {     "jsonrpc": "2.0",     "result": [         {             "actionid": "3",             "name": "Report problems to Zabbix administrators",             "eventsource": "0",             "status": "1",             "esc_period": "1h",             "pause_suppressed": "1",             "filter": {                 "evaltype": "0",                 "formula": "",                 "conditions": [],                 "eval_formula": ""             },             "operations": [                 {                     "operationid": "3",                     "actionid": "3",                     "operationtype": "0",                     "esc_period": "0",                     "esc_step_from": "1",                     "esc_step_to": "1",                     "evaltype": "0",                     "opconditions": [],                     "opmessage": [                         {                             "default_msg": "1",                             "subject": "",                             "message": "",                             "mediatypeid" => "0"                         }                     ],                     "opmessage_grp": [                         {                             "usrgrpid": "7"                         }                     ]                 }             ],             "recovery_operations": [                 {                     "operationid": "7",                     "actionid": "3",                     "operationtype": "11",                     "evaltype": "0",                     "opconditions": [],                     "opmessage": {                         "default_msg": "0",                         "subject": "{TRIGGER.STATUS}: {TRIGGER.NAME}",                         "message": "Trigger: {TRIGGER.NAME}\r\nTrigger status: {TRIGGER.STATUS}\r\nTrigger severity: {TRIGGER.SEVERITY}\r\nTrigger URL: {TRIGGER.URL}\r\n\r\nItem values:\r\n\r\n1. {ITEM.NAME1} ({HOST.NAME1}:{ITEM.KEY1}): {ITEM.VALUE1}\r\n2. {ITEM.NAME2} ({HOST.NAME2}:{ITEM.KEY2}): {ITEM.VALUE2}\r\n3. {ITEM.NAME3} ({HOST.NAME3}:{ITEM.KEY3}): {ITEM.VALUE3}\r\n\r\nOriginal event ID: {EVENT.ID}",                         "mediatypeid": "0"                     }                 }             ],             "update_operations": [                 {                     "operationid": "31",                     "operationtype": "12",                     "evaltype": "0",                     "opmessage": {                         "default_msg": "1",                         "subject": "",                         "message": "",                         "mediatypeid": "0"                     }                 },                 {                     "operationid": "32",                     "operationtype": "0",                     "evaltype": "0",                     "opmessage": {                         "default_msg": "0",                         "subject": "Updated: {TRIGGER.NAME}",                         "message": "{USER.FULLNAME} updated problem at {EVENT.UPDATE.DATE} {EVENT.UPDATE.TIME} with the following message:\r\n{EVENT.UPDATE.MESSAGE}\r\n\r\nCurrent problem status is {EVENT.STATUS}",                         "mediatypeid": "1"                     },                     "opmessage_grp": [                         {                             "usrgrpid": "7"                         }                     ],                     "opmessage_usr": []                 },                 {                     "operationid": "33",                     "operationtype": "1",                     "evaltype": "0",                     "opcommand": {                         "scriptid": "3"                     },                     "opcommand_hst": [                         {                             "hostid": "10084"                         }                     ],                     "opcommand_grp": []                 }             ]         }     ],     "id": 1 } ```
fa	#### بازیابی اکشن تریگرها  بازیابی تمام تنظیمات اکشن تریگرها به همراه شرایط  و عملیات آن ها   Request:  ```json {     "jsonrpc": "2.0",     "method": "action.get",     "params": {         "output": "extend",         "selectOperations": "extend",         "selectRecoveryOperations": "extend",         "selectUpdateOperations": "extend",         "selectFilter": "extend",         "filter": {             "eventsource": 0         }     },     "auth": "038e1d7b1735c6a5436ee9eae095879e",     "id": 1 } ```  Response:  ```json {     "jsonrpc": "2.0",     "result": [         {             "actionid": "3",             "name": "Report problems to Zabbix administrators",             "eventsource": "0",             "status": "1",             "esc_period": "1h",             "pause_suppressed": "1",             "filter": {                 "evaltype": "0",                 "formula": "",                 "conditions": [],                 "eval_formula": ""             },             "operations": [                 {                     "operationid": "3",                     "actionid": "3",                     "operationtype": "0",                     "esc_period": "0",                     "esc_step_from": "1",                     "esc_step_to": "1",                     "evaltype": "0",                     "opconditions": [],                     "opmessage": [                         {                             "default_msg": "1",                             "subject": "",                             "message": "",                             "mediatypeid" => "0"                         }                     ],                     "opmessage_grp": [                         {                             "usrgrpid": "7"                         }                     ]                 }             ],             "recovery_operations": [                 {                     "operationid": "7",                     "actionid": "3",                     "operationtype": "11",                     "evaltype": "0",                     "opconditions": [],                     "opmessage": {                         "default_msg": "0",                         "subject": "{TRIGGER.STATUS}: {TRIGGER.NAME}",                         "message": "Trigger: {TRIGGER.NAME}\r\nTrigger status: {TRIGGER.STATUS}\r\nTrigger severity: {TRIGGER.SEVERITY}\r\nTrigger URL: {TRIGGER.URL}\r\n\r\nItem values:\r\n\r\n1. {ITEM.NAME1} ({HOST.NAME1}:{ITEM.KEY1}): {ITEM.VALUE1}\r\n2. {ITEM.NAME2} ({HOST.NAME2}:{ITEM.KEY2}): {ITEM.VALUE2}\r\n3. {ITEM.NAME3} ({HOST.NAME3}:{ITEM.KEY3}): {ITEM.VALUE3}\r\n\r\nOriginal event ID: {EVENT.ID}",                         "mediatypeid": "0"                     }                 }             ],             "update_operations": [                 {                     "operationid": "31",                     "operationtype": "12",                     "evaltype": "0",                     "opmessage": {                         "default_msg": "1",                         "subject": "",                         "message": "",                         "mediatypeid": "0"                     }                 },                 {                     "operationid": "32",                     "operationtype": "0",                     "evaltype": "0",                     "opmessage": {                         "default_msg": "0",                         "subject": "Updated: {TRIGGER.NAME}",                         "message": "{USER.FULLNAME} updated problem at {EVENT.UPDATE.DATE} {EVENT.UPDATE.TIME} with the following message:\r\n{EVENT.UPDATE.MESSAGE}\r\n\r\nCurrent problem status is {EVENT.STATUS}",                         "mediatypeid": "1"                     },                     "opmessage_grp": [                         {                             "usrgrpid": "7"                         }                     ],                     "opmessage_usr": []                 },                 {                     "operationid": "33",                     "operationtype": "1",                     "evaltype": "0",                     "opcommand": {                         "scriptid": "3"                     },                     "opcommand_hst": [                         {                             "hostid": "10084"                         }                     ],                     "opcommand_grp": []                 }             ]         }     ],     "id": 1 } ```

en-us	#### Retrieve trigger prototypes from an LLD rule  Retrieve all trigger prototypes and their functions from an LLD rule.  Request:  ```json {     "jsonrpc": "2.0",     "method": "triggerprototype.get",     "params": {         "output": "extend",         "selectFunctions": "extend",         "discoveryids": "22450"     },     "auth": "038e1d7b1735c6a5436ee9eae095879e",     "id": 1 } ```  Response:  ```json {     "jsonrpc": "2.0",     "result": [         {             "triggerid": "13272",             "expression": "{12598}<20",             "description": "Free inodes is less than 20% on volume {#FSNAME}",             "url": "",             "status": "0",             "priority": "2",             "comments": "",             "templateid": "0",             "type": "0",             "flags": "2",             "recovery_mode": "0",             "recovery_expression": "",             "correlation_mode": "0",             "correlation_tag": "",             "manual_close": "0",             "opdata": "",             "discover": "0",             "functions": [                 {                     "functionid": "12598",                     "itemid": "22454",                     "triggerid": "13272",                     "parameter": "$",                     "function": "last"                 }             ]         },         {             "triggerid": "13266",             "expression": "{13500}<20",             "description": "Free disk space is less than 20% on volume {#FSNAME}",             "url": "",             "status": "0",             "priority": "2",             "comments": "",             "templateid": "0",             "type": "0",             "flags": "2",             "recovery_mode": "0",             "recovery_expression": "",             "correlation_mode": "0",             "correlation_tag": "",             "manual_close": "0",             "opdata": "",             "discover": "0",             "functions": [                 {                     "functionid": "13500",                     "itemid": "22686",                     "triggerid": "13266",                     "parameter": "$",                     "function": "last"                 }             ]         }     ],     "id": 1 } ```
fa	#### نمونه های اولیه ماشه را از یک قانون LLD بازیابی کنید  همه نمونه های اولیه ماشه و عملکردهای آنها را از یک قانون LLD بازیابی کنید.  درخواست:  ``json {     "jsonrpc": "2.0"،     "روش": "triggerprototype.get"،     "params": {         "output": "extend"         "selectFunctions": "extend"         "discoveyids": "22450"     }،     "auth": "038e1d7b1735c6a5436ee9eae095879e"،     "id": 1 } ```  واکنش:  ``json {     "jsonrpc": "2.0"،     "نتیجه": [         {             "triggerid": "13272"،             "expression": "{12598}<20",             "description": "inodes رایگان کمتر از 20٪ در حجم {#FSNAME} است"،             "url": "",             "وضعیت": "0"،             "اولویت": "2"،             "نظرات": ""،             "templateid": "0",             "نوع": "0"،             "پرچم ها": "2"،             "Recovery_mode": "0"،             "recovery_expression": "",             "correlation_mode": "0"،             "correlation_tag": ""،             "manual_close": "0"،             "opdata": "",             "کشف": "0"،             "کارکرد": [                 {                     "functionid": "12598"،                     "itemid": "22454"،                     "triggerid": "13272"،                     "پارامتر": "$",                     "عملکرد": "آخرین"                 }             ]         }،         {             "triggerid": "13266"،             "expression": "{13500}<20",             "description": "فضای دیسک آزاد کمتر از 20٪ در حجم {#FSNAME}" است،             "url": "",             "وضعیت": "0"،             "اولویت": "2"،             "نظرات": ""،             "templateid": "0",             "نوع": "0"،             "پرچم ها": "2"،             "Recovery_mode": "0"،             "recovery_expression": "",             "correlation_mode": "0"،             "correlation_tag": ""،             "manual_close": "0"،             "opdata": "",             "کشف": "0"،             "کارکرد": [                 {                     "functionid": "13500"،                     "itemid": "22686"،                     "triggerid": "13266"،                     "پارامتر": "$",                     "عملکرد": "آخرین"                 }             ]         }     ]،     "id": 1 } ```

en-us	#### Retrieving a dashboard by ID  Retrieve all data about dashboards "1" and "2".  Request:  ```json {     "jsonrpc": "2.0",     "method": "dashboard.get",     "params": {         "output": "extend",         "selectPages": "extend",         "selectUsers": "extend",         "selectUserGroups": "extend",         "dashboardids": [             "1",             "2"         ]     },     "auth": "038e1d7b1735c6a5436ee9eae095879e",     "id": 1 } ```  Response:  ```json {     "jsonrpc": "2.0",     "result": [         {             "dashboardid": "1",             "name": "Dashboard",             "userid": "1",             "private": "0",             "display_period": "30",             "auto_start": "1",             "users": [],             "userGroups": [],             "pages": [                 {                     "dashboard_pageid": "1",                     "name": "",                     "display_period": "0",                     "widgets": [                         {                             "widgetid": "9",                             "type": "systeminfo",                             "name": "",                             "x": "12",                             "y": "8",                             "width": "12",                             "height": "5",                             "view_mode": "0",                             "fields": []                         },                         {                             "widgetid": "8",                             "type": "problemsbysv",                             "name": "",                             "x": "12",                             "y": "4",                             "width": "12",                             "height": "4",                             "view_mode": "0",                             "fields": []                         },                         {                             "widgetid": "7",                             "type": "problemhosts",                             "name": "",                             "x": "12",                             "y": "0",                             "width": "12",                             "height": "4",                             "view_mode": "0",                             "fields": []                         },                         {                             "widgetid": "6",                             "type": "discovery",                             "name": "",                             "x": "6",                             "y": "9",                             "width": "6",                             "height": "4",                             "view_mode": "0",                             "fields": []                         },                         {                             "widgetid": "5",                             "type": "web",                             "name": "",                             "x": "0",                             "y": "9",                             "width": "6",                             "height": "4",                             "view_mode": "0",                             "fields": []                         },                         {                             "widgetid": "4",                             "type": "problems",                             "name": "",                             "x": "0",                             "y": "3",                             "width": "12",                             "height": "6",                             "view_mode": "0",                             "fields": []                         },                         {                             "widgetid": "3",                             "type": "favmaps",                             "name": "",                             "x": "8",                             "y": "0",                             "width": "4",                             "height": "3",                             "view_mode": "0",                             "fields": []                         },                         {                             "widgetid": "1",                             "type": "favgraphs",                             "name": "",                             "x": "0",                             "y": "0",                             "width": "4",                             "height": "3",                             "view_mode": "0",                             "fields": []                         }                     ]                 },                 {                     "dashboard_pageid": "2",                     "name": "",                     "display_period": "0",                     "widgets": []                 },                 {                     "dashboard_pageid": "3",                     "name": "Custom page name",                     "display_period": "60",                     "widgets": []                 }             ]         },         {             "dashboardid": "2",             "name": "My dashboard",             "userid": "1",             "private": "1",             "display_period": "60",             "auto_start": "1",             "users": [                 {                     "userid": "4",                     "permission": "3"                 }             ],             "userGroups": [                 {                     "usrgrpid": "7",                     "permission": "2"                 }             ],             "pages": [                 {                     "dashboard_pageid": "4",                     "name": "",                     "display_period": "0",                     "widgets": [                         {                             "widgetid": "10",                             "type": "problems",                             "name": "",                             "x": "0",                             "y": "0",                             "width": "12",                             "height": "5",                             "view_mode": "0",                             "fields": [                                 {                                     "type": "2",                                     "name": "groupids",                                     "value": "4"                                 }                             ]                         }                     ]                 }             ]         }     ],     "id": 1 } ```
fa	#### دسترسی به داشبورد با ID  دسترسی به تمام اطلاعات داشبورد 1 و2 ".  Request:  ```json {     "jsonrpc": "2.0",     "method": "dashboard.get",     "params": {         "output": "extend",         "selectPages": "extend",         "selectUsers": "extend",         "selectUserGroups": "extend",         "dashboardids": [             "1",             "2"         ]     },     "auth": "038e1d7b1735c6a5436ee9eae095879e",     "id": 1 } ```  Response:  ```json {     "jsonrpc": "2.0",     "result": [         {             "dashboardid": "1",             "name": "Dashboard",             "userid": "1",             "private": "0",             "display_period": "30",             "auto_start": "1",             "users": [],             "userGroups": [],             "pages": [                 {                     "dashboard_pageid": "1",                     "name": "",                     "display_period": "0",                     "widgets": [                         {                             "widgetid": "9",                             "type": "systeminfo",                             "name": "",                             "x": "12",                             "y": "8",                             "width": "12",                             "height": "5",                             "view_mode": "0",                             "fields": []                         },                         {                             "widgetid": "8",                             "type": "problemsbysv",                             "name": "",                             "x": "12",                             "y": "4",                             "width": "12",                             "height": "4",                             "view_mode": "0",                             "fields": []                         },                         {                             "widgetid": "7",                             "type": "problemhosts",                             "name": "",                             "x": "12",                             "y": "0",                             "width": "12",                             "height": "4",                             "view_mode": "0",                             "fields": []                         },                         {                             "widgetid": "6",                             "type": "discovery",                             "name": "",                             "x": "6",                             "y": "9",                             "width": "6",                             "height": "4",                             "view_mode": "0",                             "fields": []                         },                         {                             "widgetid": "5",                             "type": "web",                             "name": "",                             "x": "0",                             "y": "9",                             "width": "6",                             "height": "4",                             "view_mode": "0",                             "fields": []                         },                         {                             "widgetid": "4",                             "type": "problems",                             "name": "",                             "x": "0",                             "y": "3",                             "width": "12",                             "height": "6",                             "view_mode": "0",                             "fields": []                         },                         {                             "widgetid": "3",                             "type": "favmaps",                             "name": "",                             "x": "8",                             "y": "0",                             "width": "4",                             "height": "3",                             "view_mode": "0",                             "fields": []                         },                         {                             "widgetid": "1",                             "type": "favgraphs",                             "name": "",                             "x": "0",                             "y": "0",                             "width": "4",                             "height": "3",                             "view_mode": "0",                             "fields": []                         }                     ]                 },                 {                     "dashboard_pageid": "2",                     "name": "",                     "display_period": "0",                     "widgets": []                 },                 {                     "dashboard_pageid": "3",                     "name": "Custom page name",                     "display_period": "60",                     "widgets": []                 }             ]         },         {             "dashboardid": "2",             "name": "My dashboard",             "userid": "1",             "private": "1",             "display_period": "60",             "auto_start": "1",             "users": [                 {                     "userid": "4",                     "permission": "3"                 }             ],             "userGroups": [                 {                     "usrgrpid": "7",                     "permission": "2"                 }             ],             "pages": [                 {                     "dashboard_pageid": "4",                     "name": "",                     "display_period": "0",                     "widgets": [                         {                             "widgetid": "10",                             "type": "problems",                             "name": "",                             "x": "0",                             "y": "0",                             "width": "12",                             "height": "5",                             "view_mode": "0",                             "fields": [                                 {                                     "type": "2",                                     "name": "groupids",                                     "value": "4"                                 }                             ]                         }                     ]                 }             ]         }     ],     "id": 1 } ```

en-us	#### Retrieving all SLAs  Retrieve all data about all SLAs and their properties.  Request:  ```json {     "jsonrpc": "2.0",     "method": "sla.get",     "params": {         "output": "extend",         "selectSchedule": ["period_from", "period_to"],         "selectExcludedDowntimes": ["name", "period_from", "period_to"],         "selectServiceTags": ["tag", "operator", "value"],         "preservekeys": true     },     "auth": "85dd04b94cbfad794616eb923be13c71",     "id": 1 } ```  Response:  ```json {     "jsonrpc": "2.0",     "result": {         "1": {             "slaid": "1",             "name": "Database Uptime",             "period": "1",             "slo": "99.9995",             "effective_date": "1672444800",             "timezone": "America/Toronto",             "status": "1",             "description": "Provide excellent uptime for main SQL database engines.",             "service_tags": [                 {                     "tag": "Database",                     "operator": "0",                     "value": "MySQL"                 },                 {                     "tag": "Database",                     "operator": "0",                     "value": "PostgreSQL"                 }             ],             "schedule": [                 {                     "period_from": "0",                     "period_to": "601200"                 }             ],             "excluded_downtimes": [                 {                     "name": "Software version upgrade rollout",                     "period_from": "1648760400",                     "period_to": "1648764900"                 }             ]         }     },     "id": 1 } ```
fa	#### بازیابی همه SLA ها  تمام داده‌های مربوط به همه SLA و ویژگی‌های آنها را بازیابی کنید.  درخواست:  ``json {     "jsonrpc": "2.0"،     "روش": "sla.get"،     "params": {         "output": "extend"         "selectSchedule": ["period_from"، "period_to"]،         "selectExcludedDowntimes": ["name"، "period_from"، "period_to"]،         "selectServiceTags": ["برچسب"، "اپراتور"، "مقدار"]،         «محفظات»: درست است     }،     "auth": "85dd04b94cbfad794616eb923be13c71"،     "id": 1 } ```  واکنش:  ``json {     "jsonrpc": "2.0"،     "نتیجه": {         "1": {             "slaid": "1"،             "name": "Database Uptime",             "دوره 1"،             "slo": "99.9995"،             "تاریخ_اجرا": "1672444800"،             "منطقه زمانی": "آمریکا/تورنتو"،             "وضعیت": "1"،             "description": "ارائه آپتایم عالی برای موتورهای اصلی پایگاه داده SQL."،             "service_tags": [                 {                     "برچسب": "پایگاه داده"،                     "اپراتور": "0"،                     "value": "MySQL"                 }،                 {                     "برچسب": "پایگاه داده"،                     "اپراتور": "0"،                     "value": "PostgreSQL"                 }             ]،             "برنامه": [                 {                     "period_from": "0"،                     "period_to": "601200"                 }             ]،             "excluded_downtimes": [                 {                     "name": "نسخه ارتقاء نرم افزار عرضه شد"،                     "period_from": "1648760400"،                     "period_to": "1648764900"                 }             ]         }     }،     "id": 1 } ```

en-us	#### Retrieving a specific trigger prototype with tags  Request:  ```json {     "jsonrpc": "2.0",     "method": "triggerprototype.get",     "params": {         "output": [             "triggerid",             "description"         ],         "selectTags": "extend",         "triggerids": [             "17373"         ]     },     "auth": "038e1d7b1735c6a5436ee9eae095879e",     "id": 1 } ```  Response:  ```json {     "jsonrpc": "2.0",     "result": [         {             "triggerid": "17373",             "description": "Free disk space is less than 20% on volume {#FSNAME}",             "tags": [                 {                     "tag": "volume",                     "value": "{#FSNAME}"                 },                 {                     "tag": "type",                     "value": "{#FSTYPE}"                 }             ]         }     ],     "id": 1 } ```
fa	#### جست وجوی هاست با تگ و تمپلیت تگ   Retrieve a host with tags and all tags that are linked to parent templates.  Request:  ```json {     "jsonrpc": "2.0",     "method": "host.get",     "params": {         "output": ["name"],         "hostids": 10502,         "selectTags": ["tag", "value"],         "selectInheritedTags": ["tag", "value"]     },     "auth": "038e1d7b1735c6a5436ee9eae095879e",     "id": 1 } ```  Response:  ```json {     "jsonrpc": "2.0",     "result": [         {             "hostid": "10502",             "name": "Desktop",             "tags": [                 {                     "tag": "A",                     "value": "1"                 }             ],             "inheritedTags": [                 {                     "tag": "B",                     "value": "2"                 }             ]         }     ],     "id": 1 } ```

en-us	#### Retrieving a web scenario  Retrieve all data about web scenario "4".  Request:  ```json {     "jsonrpc": "2.0",     "method": "httptest.get",     "params": {         "output": "extend",         "selectSteps": "extend",         "httptestids": "9"     },     "auth": "038e1d7b1735c6a5436ee9eae095879e",     "id": 1 } ```  Response:  ```json {     "jsonrpc": "2.0",     "result": [         {             "httptestid": "9",             "name": "Homepage check",             "nextcheck": "0",             "delay": "1m",             "status": "0",             "variables": [],             "agent": "Zabbix",             "authentication": "0",             "http_user": "",             "http_password": "",             "hostid": "10084",             "templateid": "0",             "http_proxy": "",             "retries": "1",             "ssl_cert_file": "",             "ssl_key_file": "",             "ssl_key_password": "",             "verify_peer": "0",             "verify_host": "0",             "headers": [],             "steps": [                 {                     "httpstepid": "36",                     "httptestid": "9",                     "name": "Homepage",                     "no": "1",                     "url": "http://example.com",                     "timeout": "15s",                     "posts": "",                     "required": "",                     "status_codes": "200",                     "variables": [                           {                               "name":"{var}",                             "value":"12"                         }                     ],                     "follow_redirects": "1",                     "retrieve_mode": "0",                     "headers": [],                     "query_fields": []                 },                 {                     "httpstepid": "37",                     "httptestid": "9",                     "name": "Homepage / About",                     "no": "2",                     "url": "http://example.com/about",                     "timeout": "15s",                     "posts": "",                     "required": "",                     "status_codes": "200",                     "variables": [],                     "follow_redirects": "1",                     "retrieve_mode": "0",                     "headers": [],                     "query_fields": []                 }             ]         }     ],     "id": 1 } ```
fa	#### دریافت یک وب سناریو   Retrieve all data about web scenario "4".  Request:  ```json {     "jsonrpc": "2.0",     "method": "httptest.get",     "params": {         "output": "extend",         "selectSteps": "extend",         "httptestids": "9"     },     "auth": "038e1d7b1735c6a5436ee9eae095879e",     "id": 1 } ```  Response:  ```json {     "jsonrpc": "2.0",     "result": [         {             "httptestid": "9",             "name": "Homepage check",             "nextcheck": "0",             "delay": "1m",             "status": "0",             "variables": [],             "agent": "Zabbix",             "authentication": "0",             "http_user": "",             "http_password": "",             "hostid": "10084",             "templateid": "0",             "http_proxy": "",             "retries": "1",             "ssl_cert_file": "",             "ssl_key_file": "",             "ssl_key_password": "",             "verify_peer": "0",             "verify_host": "0",             "headers": [],             "steps": [                 {                     "httpstepid": "36",                     "httptestid": "9",                     "name": "Homepage",                     "no": "1",                     "url": "http://example.com",                     "timeout": "15s",                     "posts": "",                     "required": "",                     "status_codes": "200",                     "variables": [                           {                               "name":"{var}",                             "value":"12"                         }                     ],                     "follow_redirects": "1",                     "retrieve_mode": "0",                     "headers": [],                     "query_fields": []                 },                 {                     "httpstepid": "37",                     "httptestid": "9",                     "name": "Homepage / About",                     "no": "2",                     "url": "http://example.com/about",                     "timeout": "15s",                     "posts": "",                     "required": "",                     "status_codes": "200",                     "variables": [],                     "follow_redirects": "1",                     "retrieve_mode": "0",                     "headers": [],                     "query_fields": []                 }             ]         }     ],     "id": 1 } ```

en-us	#### Retrieving data by name  Retrieve all data about two host groups named "Zabbix servers" and "Linux servers".  Request:  ```json {     "jsonrpc": "2.0",     "method": "hostgroup.get",     "params": {         "output": "extend",         "filter": {             "name": [                 "Zabbix servers",                 "Linux servers"             ]         }     },     "auth": "6f38cddc44cfbb6c1bd186f9a220b5a0",     "id": 1 } ```  Response:  ```json {     "jsonrpc": "2.0",     "result": [         {             "groupid": "2",             "name": "Linux servers",             "internal": "0"         },         {             "groupid": "4",             "name": "Zabbix servers",             "internal": "0"         }     ],     "id": 1 } ```
fa	#### دریافت تاریخ به وسیله نام   Retrieve all data about two host groups named "Zabbix servers" and "Linux servers".  Request:  ```json {     "jsonrpc": "2.0",     "method": "hostgroup.get",     "params": {         "output": "extend",         "filter": {             "name": [                 "Zabbix servers",                 "Linux servers"             ]         }     },     "auth": "6f38cddc44cfbb6c1bd186f9a220b5a0",     "id": 1 } ```  Response:  ```json {     "jsonrpc": "2.0",     "result": [         {             "groupid": "2",             "name": "Linux servers",             "internal": "0"         },         {             "groupid": "4",             "name": "Zabbix servers",             "internal": "0"         }     ],     "id": 1 } ```

en-us	#### Retrieving data by name  Retrieve all data about two hosts named "Zabbix server" and "Linux server".  Request:  ```json {     "jsonrpc": "2.0",     "method": "host.get",     "params": {         "filter": {             "host": [                 "Zabbix server",                 "Linux server"             ]         }     },     "auth": "038e1d7b1735c6a5436ee9eae095879e",     "id": 1 } ```  Response:  ```json {     "jsonrpc": "2.0",     "result": [         {             "hostid": "10160",             "proxy_hostid": "0",             "host": "Zabbix server",             "status": "0",             "lastaccess": "0",             "ipmi_authtype": "-1",             "ipmi_privilege": "2",             "ipmi_username": "",             "ipmi_password": "",             "maintenanceid": "0",             "maintenance_status": "0",             "maintenance_type": "0",             "maintenance_from": "0",             "name": "Zabbix server",             "flags": "0",             "description": "The Zabbix monitoring server.",             "tls_connect": "1",             "tls_accept": "1",             "tls_issuer": "",             "tls_subject": "",             "inventory_mode": "1"         },         {             "hostid": "10167",             "proxy_hostid": "0",             "host": "Linux server",             "status": "0",             "lastaccess": "0",             "ipmi_authtype": "-1",             "ipmi_privilege": "2",             "ipmi_username": "",             "ipmi_password": "",             "maintenanceid": "0",             "maintenance_status": "0",             "maintenance_type": "0",             "maintenance_from": "0",             "name": "Linux server",             "flags": "0",             "description": "",             "tls_connect": "1",             "tls_accept": "1",             "tls_issuer": "",             "tls_subject": "",             "inventory_mode": "1"         }     ],     "id": 1 } ```
fa	#### بازگشت مقادیر به وسیله نام   Retrieve all data about two hosts named "Zabbix server" and "Linux server".  Request:  ```json {     "jsonrpc": "2.0",     "method": "host.get",     "params": {         "filter": {             "host": [                 "Zabbix server",                 "Linux server"             ]         }     },     "auth": "038e1d7b1735c6a5436ee9eae095879e",     "id": 1 } ```  Response:  ```json {     "jsonrpc": "2.0",     "result": [         {             "hostid": "10160",             "proxy_hostid": "0",             "host": "Zabbix server",             "status": "0",             "lastaccess": "0",             "ipmi_authtype": "-1",             "ipmi_privilege": "2",             "ipmi_username": "",             "ipmi_password": "",             "maintenanceid": "0",             "maintenance_status": "0",             "maintenance_type": "0",             "maintenance_from": "0",             "name": "Zabbix server",             "flags": "0",             "description": "The Zabbix monitoring server.",             "tls_connect": "1",             "tls_accept": "1",             "tls_issuer": "",             "tls_subject": "",             "inventory_mode": "1"         },         {             "hostid": "10167",             "proxy_hostid": "0",             "host": "Linux server",             "status": "0",             "lastaccess": "0",             "ipmi_authtype": "-1",             "ipmi_privilege": "2",             "ipmi_username": "",             "ipmi_password": "",             "maintenanceid": "0",             "maintenance_status": "0",             "maintenance_type": "0",             "maintenance_from": "0",             "name": "Linux server",             "flags": "0",             "description": "",             "tls_connect": "1",             "tls_accept": "1",             "tls_issuer": "",             "tls_subject": "",             "inventory_mode": "1"         }     ],     "id": 1 } ```

en-us	#### Retrieving discovery rules from a host  Retrieve all discovery rules for specific host ID.  Request:  ```json {     "jsonrpc": "2.0",     "method": "discoveryrule.get",     "params": {         "output": "extend",         "hostids": "10202"     },     "auth": "038e1d7b1735c6a5436ee9eae095879e",     "id": 1 } ```  Response:  ```json {     "jsonrpc": "2.0",     "result": [         {             "itemid": "27425",             "type": "0",             "snmp_oid": "",             "hostid": "10202",             "name": "Network interface discovery",             "key_": "net.if.discovery",             "delay": "1h",             "status": "0",             "trapper_hosts": "",             "templateid": "22444",             "valuemapid": "0",             "params": "",             "ipmi_sensor": "",             "authtype": "0",             "username": "",             "password": "",             "publickey": "",             "privatekey": "",             "interfaceid": "119",             "description": "Discovery of network interfaces as defined in global regular expression \"Network interfaces for discovery\".",             "lifetime": "30d",             "jmx_endpoint": "",             "master_itemid": "0",             "timeout": "3s",             "url": "",             "query_fields": [],             "posts": "",             "status_codes": "200",             "follow_redirects": "1",             "post_type": "0",             "http_proxy": "",             "headers": [],             "retrieve_mode": "0",             "request_method": "0",             "ssl_cert_file": "",             "ssl_key_file": "",             "ssl_key_password": "",             "verify_peer": "0",             "verify_host": "0",             "allow_traps": "0",             "uuid": "",             "state": "0",             "error": "",             "parameters": []         },         {             "itemid": "27426",             "type": "0",             "snmp_oid": "",             "hostid": "10202",             "name": "Mounted filesystem discovery",             "key_": "vfs.fs.discovery",             "delay": "1h",             "status": "0",             "trapper_hosts": "",             "templateid": "22450",             "valuemapid": "0",             "params": "",             "ipmi_sensor": "",             "authtype": "0",             "username": "",             "password": "",             "publickey": "",             "privatekey": "",             "interfaceid": "119",             "description": "Discovery of file systems of different types as defined in global regular expression \"File systems for discovery\".",             "lifetime": "30d",             "jmx_endpoint": "",             "master_itemid": "0",             "timeout": "3s",             "url": "",             "query_fields": [],             "posts": "",             "status_codes": "200",             "follow_redirects": "1",             "post_type": "0",             "http_proxy": "",             "headers": [],             "retrieve_mode": "0",             "request_method": "0",             "ssl_cert_file": "",             "ssl_key_file": "",             "ssl_key_password": "",             "verify_peer": "0",             "verify_host": "0",             "allow_traps": "0",             "uuid": "",             "state": "0",             "error": "",             "parameters": []         }     ],     "id": 1 } ```
fa	#### دریافت قوانین جست وجو از یک هاست   Retrieve all discovery rules for specific host ID.  Request:  ```json {     "jsonrpc": "2.0",     "method": "discoveryrule.get",     "params": {         "output": "extend",         "hostids": "10202"     },     "auth": "038e1d7b1735c6a5436ee9eae095879e",     "id": 1 } ```  Response:  ```json {     "jsonrpc": "2.0",     "result": [         {             "itemid": "27425",             "type": "0",             "snmp_oid": "",             "hostid": "10202",             "name": "Network interface discovery",             "key_": "net.if.discovery",             "delay": "1h",             "status": "0",             "trapper_hosts": "",             "templateid": "22444",             "valuemapid": "0",             "params": "",             "ipmi_sensor": "",             "authtype": "0",             "username": "",             "password": "",             "publickey": "",             "privatekey": "",             "interfaceid": "119",             "description": "Discovery of network interfaces as defined in global regular expression \"Network interfaces for discovery\".",             "lifetime": "30d",             "jmx_endpoint": "",             "master_itemid": "0",             "timeout": "3s",             "url": "",             "query_fields": [],             "posts": "",             "status_codes": "200",             "follow_redirects": "1",             "post_type": "0",             "http_proxy": "",             "headers": [],             "retrieve_mode": "0",             "request_method": "0",             "ssl_cert_file": "",             "ssl_key_file": "",             "ssl_key_password": "",             "verify_peer": "0",             "verify_host": "0",             "allow_traps": "0",             "uuid": "",             "state": "0",             "error": "",             "parameters": []         },         {             "itemid": "27426",             "type": "0",             "snmp_oid": "",             "hostid": "10202",             "name": "Mounted filesystem discovery",             "key_": "vfs.fs.discovery",             "delay": "1h",             "status": "0",             "trapper_hosts": "",             "templateid": "22450",             "valuemapid": "0",             "params": "",             "ipmi_sensor": "",             "authtype": "0",             "username": "",             "password": "",             "publickey": "",             "privatekey": "",             "interfaceid": "119",             "description": "Discovery of file systems of different types as defined in global regular expression \"File systems for discovery\".",             "lifetime": "30d",             "jmx_endpoint": "",             "master_itemid": "0",             "timeout": "3s",             "url": "",             "query_fields": [],             "posts": "",             "status_codes": "200",             "follow_redirects": "1",             "post_type": "0",             "http_proxy": "",             "headers": [],             "retrieve_mode": "0",             "request_method": "0",             "ssl_cert_file": "",             "ssl_key_file": "",             "ssl_key_password": "",             "verify_peer": "0",             "verify_host": "0",             "allow_traps": "0",             "uuid": "",             "state": "0",             "error": "",             "parameters": []         }     ],     "id": 1 } ```

en-us	#### Retrieving enabled user groups  Retrieve all enabled user groups.  Request:  ```json {     "jsonrpc": "2.0",     "method": "usergroup.get",     "params": {         "output": "extend",         "status": 0     },     "auth": "038e1d7b1735c6a5436ee9eae095879e",     "id": 1 } ```  Response:  ```json {     "jsonrpc": "2.0",     "result": [         {             "usrgrpid": "7",             "name": "Zabbix administrators",             "gui_access": "0",             "users_status": "0",             "debug_mode": "1"         },         {             "usrgrpid": "8",             "name": "Guests",             "gui_access": "0",             "users_status": "0",             "debug_mode": "0"         },         {             "usrgrpid": "11",             "name": "Enabled debug mode",             "gui_access": "0",             "users_status": "0",             "debug_mode": "1"         },         {             "usrgrpid": "12",             "name": "No access to the frontend",             "gui_access": "2",             "users_status": "0",             "debug_mode": "0"         },         {             "usrgrpid": "14",             "name": "Read only",             "gui_access": "0",             "users_status": "0",             "debug_mode": "0"         },         {             "usrgrpid": "18",             "name": "Deny",             "gui_access": "0",             "users_status": "0",             "debug_mode": "0"         }     ],     "id": 1 } ```
fa	#### بازیابی گروه های کاربر فعال  همه گروه های کاربری فعال را بازیابی کنید.  درخواست:  ``json {     "jsonrpc": "2.0"،     "روش": "usergroup.get"،     "params": {         "output": "extend"         "وضعیت": 0     }،     "auth": "038e1d7b1735c6a5436ee9eae095879e"،     "id": 1 } ```  واکنش:  ``json {     "jsonrpc": "2.0"،     "نتیجه": [         {             "usrgrpid": "7"،             "name": "مدیران Zabbix",             "gui_access": "0"،             "users_status": "0"،             "debug_mode": "1"         }،         {             "usrgrpid": "8"،             "name": "مهمانان"،             "gui_access": "0"،             "users_status": "0"،             "debug_mode": "0"         }،         {             "usrgrpid": "11"،             "name": "حالت اشکال زدایی فعال"،             "gui_access": "0"،             "users_status": "0"،             "debug_mode": "1"         }،         {             "usrgrpid": "12"،             "name": "بدون دسترسی به جلو"،             "gui_access": "2"،             "users_status": "0"،             "debug_mode": "0"         }،         {             "usrgrpid": "14"،             "name": "فقط خواندنی"،             "gui_access": "0"،             "users_status": "0"،             "debug_mode": "0"         }،         {             "usrgrpid": "18"،             "name": "انکار"،             "gui_access": "0"،             "users_status": "0"،             "debug_mode": "0"         }     ]،     "id": 1 } ```

en-us	#### Retrieving events by time period  Retrieve all events that have been created between October 9 and 10, 2012, in reverse chronological order.  Request:  ```json {     "jsonrpc": "2.0",     "method": "event.get",     "params": {         "output": "extend",         "time_from": "1349797228",         "time_till": "1350661228",         "sortfield": ["clock", "eventid"],         "sortorder": "desc"     },     "auth": "038e1d7b1735c6a5436ee9eae095879e",     "id": 1 } ```  Response:  ```json {     "jsonrpc": "2.0",     "result": [         {             "eventid": "20616",             "source": "0",             "object": "0",             "objectid": "14282",             "clock": "1350477814",             "value": "1",             "acknowledged": "0",             "ns": "0",             "name": "Less than 25% free in the history cache",             "severity": "3",             "r_eventid": "0",             "c_eventid": "0",             "correlationid": "0",             "userid": "0",             "opdata": "",             "suppressed": "0"         },         {             "eventid": "20617",             "source": "0",             "object": "0",             "objectid": "14283",             "clock": "1350477814",             "value": "0",             "acknowledged": "0",             "ns": "0",             "name": "Zabbix trapper processes more than 75% busy",             "severity": "3",             "r_eventid": "0",             "c_eventid": "0",             "correlationid": "0",             "userid": "0",             "opdata": "",             "suppressed": "0"         },         {             "eventid": "20618",             "source": "0",             "object": "0",             "objectid": "14284",             "clock": "1350477815",             "value": "1",             "acknowledged": "0",             "ns": "0",             "name": "High ICMP ping loss",             "severity": "3",             "r_eventid": "0",             "c_eventid": "0",             "correlationid": "0",             "userid": "0",             "opdata": "",             "suppressed": "0"         }     ],     "id": 1 } ```
fa	#### دریافت رویداد با بازه زمانی   Retrieve all events that have been created between October 9 and 10, 2012, in reverse chronological order.  Request:  ```json {     "jsonrpc": "2.0",     "method": "event.get",     "params": {         "output": "extend",         "time_from": "1349797228",         "time_till": "1350661228",         "sortfield": ["clock", "eventid"],         "sortorder": "desc"     },     "auth": "038e1d7b1735c6a5436ee9eae095879e",     "id": 1 } ```  Response:  ```json {     "jsonrpc": "2.0",     "result": [         {             "eventid": "20616",             "source": "0",             "object": "0",             "objectid": "14282",             "clock": "1350477814",             "value": "1",             "acknowledged": "0",             "ns": "0",             "name": "Less than 25% free in the history cache",             "severity": "3",             "r_eventid": "0",             "c_eventid": "0",             "correlationid": "0",             "userid": "0",             "opdata": "",             "suppressed": "0"         },         {             "eventid": "20617",             "source": "0",             "object": "0",             "objectid": "14283",             "clock": "1350477814",             "value": "0",             "acknowledged": "0",             "ns": "0",             "name": "Zabbix trapper processes more than 75% busy",             "severity": "3",             "r_eventid": "0",             "c_eventid": "0",             "correlationid": "0",             "userid": "0",             "opdata": "",             "suppressed": "0"         },         {             "eventid": "20618",             "source": "0",             "object": "0",             "objectid": "14284",             "clock": "1350477815",             "value": "1",             "acknowledged": "0",             "ns": "0",             "name": "High ICMP ping loss",             "severity": "3",             "r_eventid": "0",             "c_eventid": "0",             "correlationid": "0",             "userid": "0",             "opdata": "",             "suppressed": "0"         }     ],     "id": 1 } ```

en-us	#### Retrieving filter conditions  Retrieve the name of the LLD rule "24681" and its filter conditions. The filter uses the "and" evaluation type, so the `formula` property is empty and `eval_formula` is generated automatically.  Request:  ```json {     "jsonrpc": "2.0",     "method": "discoveryrule.get",     "params": {         "output": ["name"],         "selectFilter": "extend",         "itemids": ["24681"]     },     "auth": "038e1d7b1735c6a5436ee9eae095879e",     "id": 1 } ```  Response:  ```json {     "jsonrpc": "2.0",     "result": [         {             "itemid": "24681",             "name": "Filtered LLD rule",             "filter": {                 "evaltype": "1",                 "formula": "",                 "conditions": [                     {                         "macro": "{#MACRO1}",                         "value": "@regex1",                         "operator": "8",                         "formulaid": "A"                     },                     {                         "macro": "{#MACRO2}",                         "value": "@regex2",                         "operator": "9",                         "formulaid": "B"                     },                     {                         "macro": "{#MACRO3}",                         "value": "",                         "operator": "12",                         "formulaid": "C"                     },                     {                         "macro": "{#MACRO4}",                         "value": "",                         "operator": "13",                         "formulaid": "D"                     }                 ],                 "eval_formula": "A and B and C and D"             }         }     ],     "id": 1 } ```
fa	#### دریافت قوانین فیلتر   نام قانون LLD "24681" و شرایط فیلتر آن را بازیابی کنید. این فیلتر از نوع ارزیابی «and» استفاده می‌کند، بنابراین ویژگی «فرمول» است خالی و 'eval_formula' به طور خودکار تولید می شود.  Request:  ```json {     "jsonrpc": "2.0",     "method": "discoveryrule.get",     "params": {         "output": ["name"],         "selectFilter": "extend",         "itemids": ["24681"]     },     "auth": "038e1d7b1735c6a5436ee9eae095879e",     "id": 1 } ```  Response:  ```json {     "jsonrpc": "2.0",     "result": [         {             "itemid": "24681",             "name": "Filtered LLD rule",             "filter": {                 "evaltype": "1",                 "formula": "",                 "conditions": [                     {                         "macro": "{#MACRO1}",                         "value": "@regex1",                         "operator": "8",                         "formulaid": "A"                     },                     {                         "macro": "{#MACRO2}",                         "value": "@regex2",                         "operator": "9",                         "formulaid": "B"                     },                     {                         "macro": "{#MACRO3}",                         "value": "",                         "operator": "12",                         "formulaid": "C"                     },                     {                         "macro": "{#MACRO4}",                         "value": "",                         "operator": "13",                         "formulaid": "D"                     }                 ],                 "eval_formula": "A and B and C and D"             }         }     ],     "id": 1 } ```

en-us	#### Retrieving global macros  Retrieve all global macros.  Request:  ```json {     "jsonrpc": "2.0",     "method": "usermacro.get",     "params": {         "output": "extend",         "globalmacro": true     },     "auth": "038e1d7b1735c6a5436ee9eae095879e",     "id": 1 } ```  Response:  ```json {     "jsonrpc": "2.0",     "result": [         {             "globalmacroid": "6",             "macro": "{$SNMP_COMMUNITY}",             "value": "public",             "description": "",             "type": "0"         }     ],     "id": 1 } ```
fa	#### تغییر نام آیکون نقشه  یک آیکون نقشه  را به "آیکون سیستم عامل" تغییر نام دهید.  درخواست:  ``json {     "jsonrpc": "2.0"،     "method": "iconmap.update"،     "params": {         "iconmapid": "1"،         "name": "OS icons"     }،     "auth": "038e1d7b1735c6a5436ee9eae095879e"،     "id": 1 } ```  پاسخ:  ``json {     "jsonrpc": "2.0"،     "result": {         "iconmapids": [             "1"         ]     }،     "id": 1 } ```

en-us	#### Retrieving global regular expressions.  Request:  ```json {     "jsonrpc": "2.0",     "method": "regexp.get",     "params": {         "output": ["regexpid", "name"],         "selectExpressions": ["expression", "expression_type"],         "regexpids": [1, 2],         "preservekeys": true     },     "auth": "038e1d7b1735c6a5436ee9eae095879e",     "id": 1 } ```  Response:  ``` {.java} {   "jsonrpc": "2.0",   "result": {     "1": {       "regexpid": "1",       "name": "File systems for discovery",       "expressions": [         {           "expression": "^(btrfs|ext2|ext3|ext4|reiser|xfs|ffs|ufs|jfs|jfs2|vxfs|hfs|apfs|refs|ntfs|fat32|zfs)$",           "expression_type": "3"         }       ]     },     "2": {       "regexpid": "2",       "name": "Network interfaces for discovery",       "expressions": [         {           "expression": "^Software Loopback Interface",           "expression_type": "4"         },         {           "expression": "^(In)?[Ll]oop[Bb]ack[0-9._]*$",           "expression_type": "4"         },         {           "expression": "^NULL[0-9.]*$",           "expression_type": "4"         },         {           "expression": "^[Ll]o[0-9.]*$",           "expression_type": "4"         },         {           "expression": "^[Ss]ystem$",           "expression_type": "4"         },         {           "expression": "^Nu[0-9.]*$",           "expression_type": "4"         }       ]     }   },   "id": 1 } ```
fa	#### بازیابی عبارات منظم جهانی.  درخواست:  ``json {     "jsonrpc": "2.0"،     "روش": "regexp.get"،     "params": {         "output": ["regexpid"، "name"]،         "selectExpressions": ["expression"، "expression_type"]،         "regexpids": [1، 2]،         «محفظات»: درست است     }،     "auth": "038e1d7b1735c6a5436ee9eae095879e"،     "id": 1 } ```  واکنش:  ``` {.java} {   "jsonrpc": "2.0"،   "نتیجه": {     "1": {       "regexpid": "1"،       "name": "سیستم های فایل برای کشف"،       "اصطلاحات": [         {           "expression": "^(btrfs|ext2|ext3|ext4|reiser|xfs|ffs|ufs|jfs|jfs2|vxfs|hfs|apfs|refs|ntfs|fat32|zfs)$"،           "expression_type": "3"         }       ]     }،     "2": {       "regexpid": "2"،       "name": "واسط های شبکه برای کشف"،       "اصطلاحات": [         {           "expression": "^Software Loopback Interface",           "expression_type": "4"         }،         {           "expression": "^(در)؟[Ll]oop[Bb]ack[0-9._]*$",           "expression_type": "4"         }،         {           "expression": "^NULL[0-9.]*$"،           "expression_type": "4"         }،         {           "expression": "^[Ll]o[0-9.]*$"،           "expression_type": "4"         }،         {           "expression": "^[Ss]ystem$",           "expression_type": "4"         }،         {           "expression": "^Nu[0-9.]*$"،           "expression_type": "4"         }       ]     }   }،   "id": 1 } ```

en-us	#### Retrieving graph prototypes from a LLD rule  Retrieve all graph prototypes from an LLD rule.  Request:  ```json {     "jsonrpc": "2.0",     "method": "graphprototype.get",     "params": {         "output": "extend",         "discoveryids": "27426"     },     "auth": "038e1d7b1735c6a5436ee9eae095879e",     "id": 1 } ```  Response:  ```json {     "jsonrpc": "2.0",     "result": [         {             "graphid": "1017",             "parent_itemid": "27426",             "name": "Disk space usage {#FSNAME}",             "width": "600",             "height": "340",             "yaxismin": "0.0000",             "yaxismax": "0.0000",             "templateid": "442",             "show_work_period": "0",             "show_triggers": "0",             "graphtype": "2",             "show_legend": "1",             "show_3d": "1",             "percent_left": "0.0000",             "percent_right": "0.0000",             "ymin_type": "0",             "ymax_type": "0",             "ymin_itemid": "0",             "ymax_itemid": "0",             "discover": "0"         }     ],     "id": 1 } ```
fa	#### دریافت نمونه اولیه گراف از LLD  Retrieve all graph prototypes from an LLD rule.  Request:  ```json {     "jsonrpc": "2.0",     "method": "graphprototype.get",     "params": {         "output": "extend",         "discoveryids": "27426"     },     "auth": "038e1d7b1735c6a5436ee9eae095879e",     "id": 1 } ```  Response:  ```json {     "jsonrpc": "2.0",     "result": [         {             "graphid": "1017",             "parent_itemid": "27426",             "name": "Disk space usage {#FSNAME}",             "width": "600",             "height": "340",             "yaxismin": "0.0000",             "yaxismax": "0.0000",             "templateid": "442",             "show_work_period": "0",             "show_triggers": "0",             "graphtype": "2",             "show_legend": "1",             "show_3d": "1",             "percent_left": "0.0000",             "percent_right": "0.0000",             "ymin_type": "0",             "ymax_type": "0",             "ymin_itemid": "0",             "ymax_itemid": "0",             "discover": "0"         }     ],     "id": 1 } ```

en-us	#### Retrieving graphs from hosts  Retrieve all graphs from host "10107" and sort them by name.  Request:  ```json {     "jsonrpc": "2.0",     "method": "graph.get",     "params": {         "output": "extend",         "hostids": 10107,         "sortfield": "name"     },     "auth": "038e1d7b1735c6a5436ee9eae095879e",     "id": 1 } ```  Response:  ```json {     "jsonrpc": "2.0",     "result": [         {             "graphid": "612",             "name": "CPU jumps",             "width": "900",             "height": "200",             "yaxismin": "0",             "yaxismax": "100",             "templateid": "439",             "show_work_period": "1",             "show_triggers": "1",             "graphtype": "0",             "show_legend": "1",             "show_3d": "0",             "percent_left": "0",             "percent_right": "0",             "ymin_type": "0",             "ymax_type": "0",             "ymin_itemid": "0",             "ymax_itemid": "0",             "flags": "0"         },         {             "graphid": "613",             "name": "CPU load",             "width": "900",             "height": "200",             "yaxismin": "0",             "yaxismax": "100",             "templateid": "433",             "show_work_period": "1",             "show_triggers": "1",             "graphtype": "0",             "show_legend": "1",             "show_3d": "0",             "percent_left": "0",             "percent_right": "0",             "ymin_type": "1",             "ymax_type": "0",             "ymin_itemid": "0",             "ymax_itemid": "0",             "flags": "0"         },         {             "graphid": "614",             "name": "CPU utilization",             "width": "900",             "height": "200",             "yaxismin": "0",             "yaxismax": "100",             "templateid": "387",             "show_work_period": "1",             "show_triggers": "0",             "graphtype": "1",             "show_legend": "1",             "show_3d": "0",             "percent_left": "0",             "percent_right": "0",             "ymin_type": "1",             "ymax_type": "1",             "ymin_itemid": "0",             "ymax_itemid": "0",             "flags": "0"         },         {             "graphid": "645",             "name": "Disk space usage /",             "width": "600",             "height": "340",             "yaxismin": "0",             "yaxismax": "0",             "templateid": "0",             "show_work_period": "0",             "show_triggers": "0",             "graphtype": "2",             "show_legend": "1",             "show_3d": "1",             "percent_left": "0",             "percent_right": "0",             "ymin_type": "0",             "ymax_type": "0",             "ymin_itemid": "0",             "ymax_itemid": "0",             "flags": "4"         }     ],     "id": 1 } ```
fa	#### دریافت گراف ها از یک هاست   Retrieve all graphs from host "10107" and sort them by name.  Request:  ```json {     "jsonrpc": "2.0",     "method": "graph.get",     "params": {         "output": "extend",         "hostids": 10107,         "sortfield": "name"     },     "auth": "038e1d7b1735c6a5436ee9eae095879e",     "id": 1 } ```  Response:  ```json {     "jsonrpc": "2.0",     "result": [         {             "graphid": "612",             "name": "CPU jumps",             "width": "900",             "height": "200",             "yaxismin": "0",             "yaxismax": "100",             "templateid": "439",             "show_work_period": "1",             "show_triggers": "1",             "graphtype": "0",             "show_legend": "1",             "show_3d": "0",             "percent_left": "0",             "percent_right": "0",             "ymin_type": "0",             "ymax_type": "0",             "ymin_itemid": "0",             "ymax_itemid": "0",             "flags": "0"         },         {             "graphid": "613",             "name": "CPU load",             "width": "900",             "height": "200",             "yaxismin": "0",             "yaxismax": "100",             "templateid": "433",             "show_work_period": "1",             "show_triggers": "1",             "graphtype": "0",             "show_legend": "1",             "show_3d": "0",             "percent_left": "0",             "percent_right": "0",             "ymin_type": "1",             "ymax_type": "0",             "ymin_itemid": "0",             "ymax_itemid": "0",             "flags": "0"         },         {             "graphid": "614",             "name": "CPU utilization",             "width": "900",             "height": "200",             "yaxismin": "0",             "yaxismax": "100",             "templateid": "387",             "show_work_period": "1",             "show_triggers": "0",             "graphtype": "1",             "show_legend": "1",             "show_3d": "0",             "percent_left": "0",             "percent_right": "0",             "ymin_type": "1",             "ymax_type": "1",             "ymin_itemid": "0",             "ymax_itemid": "0",             "flags": "0"         },         {             "graphid": "645",             "name": "Disk space usage /",             "width": "600",             "height": "340",             "yaxismin": "0",             "yaxismax": "0",             "templateid": "0",             "show_work_period": "0",             "show_triggers": "0",             "graphtype": "2",             "show_legend": "1",             "show_3d": "1",             "percent_left": "0",             "percent_right": "0",             "ymin_type": "0",             "ymax_type": "0",             "ymin_itemid": "0",             "ymax_itemid": "0",             "flags": "4"         }     ],     "id": 1 } ```

en-us	#### Retrieving host groups  Retrieve names of the groups host "Zabbix server" is member of, but no host details themselves.  Request:  ```json {     "jsonrpc": "2.0",     "method": "host.get",     "params": {         "output": ["hostid"],         "selectGroups": "extend",         "filter": {             "host": [                 "Zabbix server"             ]         }     },     "auth": "038e1d7b1735c6a5436ee9eae095879e",     "id": 2 } ```  Response:  ```json {     "jsonrpc": "2.0",     "result": [         {             "hostid": "10085",             "groups": [                 {                     "groupid": "2",                     "name": "Linux servers",                     "internal": "0",                     "flags": "0"                 },                 {                     "groupid": "4",                     "name": "Zabbix servers",                     "internal": "0",                     "flags": "0"                 }             ]         }     ],     "id": 2 } ```
fa	#### دریافت گروه هاست ها   Retrieve names of the groups host "Zabbix server" is member of, but no host details themselves.  Request:  ```json {     "jsonrpc": "2.0",     "method": "host.get",     "params": {         "output": ["hostid"],         "selectGroups": "extend",         "filter": {             "host": [                 "Zabbix server"             ]         }     },     "auth": "038e1d7b1735c6a5436ee9eae095879e",     "id": 2 } ```  Response:  ```json {     "jsonrpc": "2.0",     "result": [         {             "hostid": "10085",             "groups": [                 {                     "groupid": "2",                     "name": "Linux servers",                     "internal": "0",                     "flags": "0"                 },                 {                     "groupid": "4",                     "name": "Zabbix servers",                     "internal": "0",                     "flags": "0"                 }             ]         }     ],     "id": 2 } ```

en-us	#### Retrieving host macros for a host  Retrieve all host macros defined for host "10198".  Request:  ```json {     "jsonrpc": "2.0",     "method": "usermacro.get",     "params": {         "output": "extend",         "hostids": "10198"     },     "auth": "038e1d7b1735c6a5436ee9eae095879e",     "id": 1 } ```  Response:  ```json {     "jsonrpc": "2.0",     "result": [         {             "hostmacroid": "9",             "hostid": "10198",             "macro": "{$INTERFACE}",             "value": "eth0",             "description": "",             "type": "0"         },         {             "hostmacroid": "11",             "hostid": "10198",             "macro": "{$SNMP_COMMUNITY}",             "value": "public",             "description": "",             "type": "0"         }     ],     "id": 1 } ```
fa	#### دریافت بررسی های جست و جو  برای قوانین جست و جو   Retrieve all discovery checks used by discovery rule "6".  Request:  ```json {     "jsonrpc": "2.0",     "method": "dcheck.get",     "params": {         "output": "extend",         "dcheckids": "6"     },     "auth": "038e1d7b1735c6a5436ee9eae095879e",     "id": 1 } ```  Response:  ```json {     "jsonrpc": "2.0",     "result": [         {             "dcheckid": "6",             "druleid": "4",             "type": "3",             "key_": "",             "snmp_community": "",             "ports": "21",             "snmpv3_securityname": "",             "snmpv3_securitylevel": "0",             "snmpv3_authpassphrase": "",             "snmpv3_privpassphrase": "",             "uniq": "0",             "snmpv3_authprotocol": "0",             "snmpv3_privprotocol": "0",             "host_source": "1",             "name_source": "0"                     }     ],     "id": 1 } ```

en-us	#### Retrieving host prototypes from an LLD rule  Retrieve all host prototypes, their group links, group prototypes and tags from an LLD rule.  Request:  ```json {     "jsonrpc": "2.0",     "method": "hostprototype.get",     "params": {         "output": "extend",         "selectInterfaces": "extend",         "selectGroupLinks": "extend",         "selectGroupPrototypes": "extend",         "selectTags": "extend",         "discoveryids": "23554"     },     "auth": "038e1d7b1735c6a5436ee9eae095879e",     "id": 1 } ```  Response:  ```json {     "jsonrpc": "2.0",     "result": [         {             "hostid": "10092",             "host": "{#HV.UUID}",             "name": "{#HV.UUID}",             "status": "0",             "templateid": "0",             "discover": "0",             "custom_interfaces": "1",             "inventory_mode": "-1",             "groupLinks": [                 {                     "group_prototypeid": "4",                     "hostid": "10092",                     "groupid": "7",                     "templateid": "0"                 }             ],             "groupPrototypes": [                 {                     "group_prototypeid": "7",                     "hostid": "10092",                     "name": "{#CLUSTER.NAME}",                     "templateid": "0"                 }             ],             "tags": [                 {                     "tag": "Datacenter",                     "value": "{#DATACENTER.NAME}"                 },                 {                     "tag": "Instance type",                     "value": "{#INSTANCE_TYPE}"                 }             ],             "interfaces": [                 {                     "main": "1",                     "type": "2",                     "useip": "1",                     "ip": "127.0.0.1",                     "dns": "",                     "port": "161",                     "details": {                         "version": "2",                         "bulk": "1",                         "community": "{$SNMP_COMMUNITY}"                     }                 }             ]         }     ],     "id": 1 } ```
fa	#### دریافت نمونه اولیه هاست از قانون LLD  Retrieve all host prototypes, their group links, group prototypes and tags from an LLD rule.  Request:  ```json {     "jsonrpc": "2.0",     "method": "hostprototype.get",     "params": {         "output": "extend",         "selectInterfaces": "extend",         "selectGroupLinks": "extend",         "selectGroupPrototypes": "extend",         "selectTags": "extend",         "discoveryids": "23554"     },     "auth": "038e1d7b1735c6a5436ee9eae095879e",     "id": 1 } ```  Response:  ```json {     "jsonrpc": "2.0",     "result": [         {             "hostid": "10092",             "host": "{#HV.UUID}",             "name": "{#HV.UUID}",             "status": "0",             "templateid": "0",             "discover": "0",             "custom_interfaces": "1",             "inventory_mode": "-1",             "groupLinks": [                 {                     "group_prototypeid": "4",                     "hostid": "10092",                     "groupid": "7",                     "templateid": "0"                 }             ],             "groupPrototypes": [                 {                     "group_prototypeid": "7",                     "hostid": "10092",                     "name": "{#CLUSTER.NAME}",                     "templateid": "0"                 }             ],             "tags": [                 {                     "tag": "Datacenter",                     "value": "{#DATACENTER.NAME}"                 },                 {                     "tag": "Instance type",                     "value": "{#INSTANCE_TYPE}"                 }             ],             "interfaces": [                 {                     "main": "1",                     "type": "2",                     "useip": "1",                     "ip": "127.0.0.1",                     "dns": "",                     "port": "161",                     "details": {                         "version": "2",                         "bulk": "1",                         "community": "{$SNMP_COMMUNITY}"                     }                 }             ]         }     ],     "id": 1 } ```

en-us	#### Retrieving hosts by template  Retrieve hosts that have the "10001" (*Linux by Zabbix agent*) template linked to them.  Request:  ```json {     "jsonrpc": "2.0",     "method": "template.get",     "params": {         "output": "templateid",         "templateids": "10001",         "selectHosts": ["hostid", "name"]     },     "auth": "038e1d7b1735c6a5436ee9eae095879e",     "id": 1 } ```  Response:  ```json {     "jsonrpc": "2.0",     "result": [         {             "templateid": "10001",             "hosts": [                 {                     "hostid": "10084",                     "name": "Zabbix server"                 },                 {                     "hostid": "10603",                     "name": "Host 1"                 },                 {                     "hostid": "10604",                     "name": "Host 2"                 }             ]         }     ],     "id": 1 } ```
fa	#### جست وجوی هاست با تگ و تمپلیت تگ   Retrieve a host with tags and all tags that are linked to parent templates.  Request:  ```json {     "jsonrpc": "2.0",     "method": "host.get",     "params": {         "output": ["name"],         "hostids": 10502,         "selectTags": ["tag", "value"],         "selectInheritedTags": ["tag", "value"]     },     "auth": "038e1d7b1735c6a5436ee9eae095879e",     "id": 1 } ```  Response:  ```json {     "jsonrpc": "2.0",     "result": [         {             "hostid": "10502",             "name": "Desktop",             "tags": [                 {                     "tag": "A",                     "value": "1"                 }             ],             "inheritedTags": [                 {                     "tag": "B",                     "value": "2"                 }             ]         }     ],     "id": 1 } ```

en-us	#### Retrieving item history data  Return 10 latest values received from a numeric(float) item.  Request:  ```json {     "jsonrpc": "2.0",     "method": "history.get",     "params": {         "output": "extend",         "history": 0,         "itemids": "23296",         "sortfield": "clock",         "sortorder": "DESC",         "limit": 10     },     "auth": "038e1d7b1735c6a5436ee9eae095879e",     "id": 1 } ```  Response:  ```json {     "jsonrpc": "2.0",     "result": [         {             "itemid": "23296",             "clock": "1351090996",             "value": "0.085",             "ns": "563157632"         },         {             "itemid": "23296",             "clock": "1351090936",             "value": "0.16",             "ns": "549216402"         },         {             "itemid": "23296",             "clock": "1351090876",             "value": "0.18",             "ns": "537418114"         },         {             "itemid": "23296",             "clock": "1351090816",             "value": "0.21",             "ns": "522659528"         },         {             "itemid": "23296",             "clock": "1351090756",             "value": "0.215",             "ns": "507809457"         },         {             "itemid": "23296",             "clock": "1351090696",             "value": "0.255",             "ns": "495509699"         },         {             "itemid": "23296",             "clock": "1351090636",             "value": "0.36",             "ns": "477708209"         },         {             "itemid": "23296",             "clock": "1351090576",             "value": "0.375",             "ns": "463251343"         },         {             "itemid": "23296",             "clock": "1351090516",             "value": "0.315",             "ns": "447947017"         },         {             "itemid": "23296",             "clock": "1351090456",             "value": "0.275",             "ns": "435307141"         }     ],     "id": 1 } ```
fa	#### دریافت تاریخچه آیتم   Return 10 latest values received from a numeric(float) item.  Request:  ```json {     "jsonrpc": "2.0",     "method": "history.get",     "params": {         "output": "extend",         "history": 0,         "itemids": "23296",         "sortfield": "clock",         "sortorder": "DESC",         "limit": 10     },     "auth": "038e1d7b1735c6a5436ee9eae095879e",     "id": 1 } ```  Response:  ```json {     "jsonrpc": "2.0",     "result": [         {             "itemid": "23296",             "clock": "1351090996",             "value": "0.085",             "ns": "563157632"         },         {             "itemid": "23296",             "clock": "1351090936",             "value": "0.16",             "ns": "549216402"         },         {             "itemid": "23296",             "clock": "1351090876",             "value": "0.18",             "ns": "537418114"         },         {             "itemid": "23296",             "clock": "1351090816",             "value": "0.21",             "ns": "522659528"         },         {             "itemid": "23296",             "clock": "1351090756",             "value": "0.215",             "ns": "507809457"         },         {             "itemid": "23296",             "clock": "1351090696",             "value": "0.255",             "ns": "495509699"         },         {             "itemid": "23296",             "clock": "1351090636",             "value": "0.36",             "ns": "477708209"         },         {             "itemid": "23296",             "clock": "1351090576",             "value": "0.375",             "ns": "463251343"         },         {             "itemid": "23296",             "clock": "1351090516",             "value": "0.315",             "ns": "447947017"         },         {             "itemid": "23296",             "clock": "1351090456",             "value": "0.275",             "ns": "435307141"         }     ],     "id": 1 } ```

en-us	#### Retrieving item prototypes from an LLD rule  Retrieve all item prototypes for specific LLD rule ID.  Request:  ```json {     "jsonrpc": "2.0",     "method": "itemprototype.get",     "params": {         "output": "extend",         "discoveryids": "27426"     },     "auth": "038e1d7b1735c6a5436ee9eae095879e",     "id": 1 } ```  Response:  ```json {     "jsonrpc": "2.0",     "result": [         {             "itemid": "23077",             "type": "0",             "snmp_oid": "",             "hostid": "10079",             "name": "Incoming network traffic on en0",             "key_": "net.if.in[en0]",             "delay": "1m",             "history": "1w",             "trends": "365d",             "status": "0",             "value_type": "3",             "trapper_hosts": "",             "units": "bps",             "logtimefmt": "",             "templateid": "0",             "valuemapid": "0",             "params": "",             "ipmi_sensor": "",             "authtype": "0",             "username": "",             "password": "",             "publickey": "",             "privatekey": "",             "interfaceid": "0",             "description": "",             "evaltype": "0",             "jmx_endpoint": "",             "master_itemid": "0",             "timeout": "3s",             "url": "",             "query_fields": [],             "posts": "",             "status_codes": "200",             "follow_redirects": "1",             "post_type": "0",             "http_proxy": "",             "headers": [],             "retrieve_mode": "0",             "request_method": "0",             "output_format": "0",             "ssl_cert_file": "",             "ssl_key_file": "",             "ssl_key_password": "",             "verify_peer": "0",             "verify_host": "0",             "allow_traps": "0",             "discover": "0",             "uuid": "",             "parameters": []         },         {             "itemid": "10010",             "type": "0",             "snmp_oid": "",             "hostid": "10001",             "name": "Processor load (1 min average per core)",             "key_": "system.cpu.load[percpu,avg1]",             "delay": "1m",             "history": "1w",             "trends": "365d",             "status": "0",             "value_type": "0",             "trapper_hosts": "",             "units": "",             "logtimefmt": "",             "templateid": "0",             "valuemapid": "0",             "params": "",             "ipmi_sensor": "",             "authtype": "0",             "username": "",             "password": "",             "publickey": "",             "privatekey": "",             "interfaceid": "0",             "description": "The processor load is calculated as system CPU load divided by number of CPU cores.",             "evaltype": "0",             "jmx_endpoint": "",             "master_itemid": "0",             "timeout": "3s",             "url": "",             "query_fields": [],             "posts": "",             "status_codes": "200",             "follow_redirects": "1",             "post_type": "0",             "http_proxy": "",             "headers": [],             "retrieve_mode": "0",             "request_method": "0",             "output_format": "0",             "ssl_cert_file": "",             "ssl_key_file": "",             "ssl_key_password": "",             "verify_peer": "0",             "verify_host": "0",             "allow_traps": "0",             "lastclock": "0",             "lastns": "0",             "lastvalue": "0",             "prevvalue": "0",             "discover": "0",             "uuid": "",             "parameters": []         }     ],     "id": 1 } ```
fa	#### بازیابی نمونه های اولیه آیتم از یک قانون LLD  همه نمونه های اولیه مورد را برای شناسه قانون LLD خاص بازیابی کنید.  درخواست:  ``json {     "jsonrpc": "2.0"،     "روش": "itemprototype.get"،     "params": {         "output": "extend"         "discoveyids": "27426"     }،     "auth": "038e1d7b1735c6a5436ee9eae095879e"،     "id": 1 } ```  واکنش:  ``json {     "jsonrpc": "2.0"،     "نتیجه": [         {             "itemid": "23077"،             "نوع": "0"،             "snmp_oid": "",             "hostid": "10079"،             "name": "ترافیک شبکه ورودی در en0"،             "key_": "net.if.in[en0]"،             "تاخیر": "1 متر"،             "تاریخچه": "1w"،             "روند": "365d"،             "وضعیت": "0"،             "value_type": "3"،             "trapper_hosts": "",             "واحد": "bps"،             "logtimefmt": "",             "templateid": "0",             "valuemapid": "0"،             "params": "",             "ipmi_sensor": "",             "authtype": "0"،             "نام کاربری": ""،             "کلمه عبور": ""،             "کلید عمومی": ""،             "کلید خصوصی": ""،             "interfaceid": "0"،             "شرح": ""،             "evaltype": "0"،             "jmx_endpoint": "",             "master_itemid": "0"،             "تایم اوت": "3 ثانیه"،             "url": "",             "query_fields": []،             "نوشته ها": ""،             "status_codes": "200"،             "follow_redirects": "1"،             "پست_نوع": "0"،             "http_proxy": ""،             "headers": [],             "retrieve_mode": "0"،             "request_method": "0"،             "output_format": "0"،             "ssl_cert_file": ""،             "ssl_key_file": ""،             "ssl_key_password": ""،             "verify_peer": "0"،             "verify_host": "0",             "allow_traps": "0"،             "کشف": "0"،             "uuid": ""،             "مولفه های": []         }،         {             "itemid": "10010"،             "نوع": "0"،             "snmp_oid": "",             "hostid": "10001"،             "name": "بار پردازنده (متوسط 1 دقیقه در هر هسته)"،             "key_": "system.cpu.load[percpu,avg1]"،             "تاخیر": "1 متر"،             "تاریخچه": "1w"،             "روند": "365d"،             "وضعیت": "0"،             "value_type": "0"،             "trapper_hosts": "",             "واحد": ""،             "logtimefmt": "",             "templateid": "0",             "valuemapid": "0"،             "params": "",             "ipmi_sensor": "",             "authtype": "0"،             "نام کاربری": ""،             "کلمه عبور": ""،             "کلید عمومی": ""،             "کلید خصوصی": ""،             "interfaceid": "0"،             "description": "بار پردازنده به صورت بار CPU سیستم تقسیم بر تعداد هسته های CPU محاسبه می شود."،             "evaltype": "0"،             "jmx_endpoint": "",             "master_itemid": "0"،             "تایم اوت": "3 ثانیه"،             "url": "",             "query_fields": []،             "نوشته ها": ""،             "status_codes": "200"،             "follow_redirects": "1"،             "پست_نوع": "0"،             "http_proxy": ""،             "headers": [],             "retrieve_mode": "0"،             "request_method": "0"،             "output_format": "0"،             "ssl_cert_file": ""،             "ssl_key_file": ""،             "ssl_key_password": ""،             "verify_peer": "0"،             "verify_host": "0",             "allow_traps": "0"،             "آخرین ساعت": "0"،             "lastns": "0"،             "lastvalue": "0"،             "prevvalue": "0"،             "کشف": "0"،             "uuid": ""،             "مولفه های": []         }     ]،     "id": 1 } ```

en-us	#### Retrieving items with preprocessing rules  Retrieve all items and their preprocessing rules for specific host ID.  Request:  ```json {     "jsonrpc": "2.0",     "method": "item.get",     "params": {         "output": ["itemid", "name", "key_"],         "selectPreprocessing": "extend",         "hostids": "10254"     },     "auth": "038e1d7b1735c6a5436ee9eae095879e",     "id": 1 } ```  Response:  ```json {     "jsonrpc": "2.0",     "result": {         "itemid": "23865",         "name": "HTTP agent example JSON",         "key_": "json",         "preprocessing": [             {                 "type": "12",                 "params": "$.random",                 "error_handler": "1",                 "error_handler_params": ""             }         ]     },     "id": 1 } ```
fa	#### بازیابی موارد با قوانین پیش پردازش  همه موارد و قوانین پیش پردازش آنها را برای شناسه میزبان خاص بازیابی کنید.  درخواست:  ``json {     "jsonrpc": "2.0"،     "روش": "item.get"،     "params": {         "output": ["itemid"، "name"، "key_"]،         "selectPreprocessing": "extend"         "hostids": "10254"     }،     "auth": "038e1d7b1735c6a5436ee9eae095879e"،     "id": 1 } ```  واکنش:  ``json {     "jsonrpc": "2.0"،     "نتیجه": {         "itemid": "23865"،         "name": "مثلاً عامل HTTP JSON"،         "key_": "json",         "پیش پردازش": [             {                 "نوع": "12"،                 "params": "$.random"،                 "error_handler": "1"،                 "error_handler_params": ""             }         ]     }،     "id": 1 } ```

en-us	#### Retrieving linked templates  Retrieve the IDs and names of templates linked to host "10084".  Request:  ```json {     "jsonrpc": "2.0",     "method": "host.get",     "params": {         "output": ["hostid"],         "selectParentTemplates": [             "templateid",             "name"         ],         "hostids": "10084"     },     "id": 1,     "auth": "70785d2b494a7302309b48afcdb3a401" } ```  Response:  ```json {     "jsonrpc": "2.0",     "result": [         {             "hostid": "10084",             "parentTemplates": [                 {                     "name": "Linux",                     "templateid": "10001"                 },                 {                     "name": "Zabbix Server",                     "templateid": "10047"                 }             ]         }     ],     "id": 1 } ```
fa	#### دریافت تمپلیت های لینک شده   Retrieve the IDs and names of templates linked to host "10084".  Request:  ```json {     "jsonrpc": "2.0",     "method": "host.get",     "params": {         "output": ["hostid"],         "selectParentTemplates": [             "templateid",             "name"         ],         "hostids": "10084"     },     "id": 1,     "auth": "70785d2b494a7302309b48afcdb3a401" } ```  Response:  ```json {     "jsonrpc": "2.0",     "result": [         {             "hostid": "10084",             "parentTemplates": [                 {                     "name": "Linux",                     "templateid": "10001"                 },                 {                     "name": "Zabbix Server",                     "templateid": "10047"                 }             ]         }     ],     "id": 1 } ```

en-us	#### Retrieving maintenances  Retrieve all configured maintenances, and the data about the assigned host groups, defined time periods and problem tags.  Request:  ```json {     "jsonrpc": "2.0",     "method": "maintenance.get",     "params": {         "output": "extend",         "selectGroups": "extend",         "selectTimeperiods": "extend",         "selectTags": "extend"     },     "auth": "038e1d7b1735c6a5436ee9eae095879e",     "id": 1 } ```  Response:  ```json {     "jsonrpc": "2.0",     "result": [         {             "maintenanceid": "3",             "name": "Sunday maintenance",             "maintenance_type": "0",             "description": "",             "active_since": "1358844540",             "active_till": "1390466940",             "tags_evaltype": "0",             "groups": [                 {                     "groupid": "4",                     "name": "Zabbix servers",                     "internal": "0"                 }             ],             "timeperiods": [                 {                     "timeperiod_type": "3",                     "every": "1",                     "month": "0",                     "dayofweek": "1",                     "day": "0",                     "start_time": "64800",                     "period": "3600",                     "start_date": "2147483647"                 }             ],             "tags": [                 {                     "tag": "service",                     "operator": "0",                     "value": "mysqld",                 },                 {                     "tag": "error",                     "operator": "2",                     "value": ""                 }             ]         }     ],     "id": 1 } ```
fa	#### بازیابی تعمیرات  تمام تعمیرات پیکربندی شده و اطلاعات مربوط به موارد اختصاص داده شده را بازیابی کنید گروه های میزبان، دوره های زمانی تعریف شده و برچسب های مشکل.  درخواست:  ``json {     "jsonrpc": "2.0"،     "روش": "maintenance.get"،     "params": {         "output": "extend"         "selectGroups": "extend",         "selectTimeperiods": "extend",         "selectTags": "extend"     }،     "auth": "038e1d7b1735c6a5436ee9eae095879e"،     "id": 1 } ```  واکنش:  ``json {     "jsonrpc": "2.0"،     "نتیجه": [         {             "maintenanceid": "3"،             "نام": "نگهداری یکشنبه"،             "نوع_نگهداری": "0"،             "شرح": ""،             "active_since": "1358844540"،             "active_till": "1390466940",             "tags_evaltype": "0"،             "گروه ها": [                 {                     "گروهی": "4"،                     "name": "سرورهای Zabbix",                     "داخلی": "0"                 }             ]،             "دوره های زمانی": [                 {                     "timeperiod_type": "3"،                     "هر": "1"،                     "ماه": "0"،                     "روز هفته": "1"،                     "روز": "0"،                     "start_time": "64800"،                     "دوره": "3600"،                     "start_date": "2147483647"                 }             ]،             "برچسب ها": [                 {                     "برچسب": "خدمات"،                     "اپراتور": "0"،                     "value": "mysqld",                 }،                 {                     "برچسب": "خطا"،                     "اپراتور": "2"،                     "ارزش": ""                 }             ]         }     ]،     "id": 1 } ```