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>**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       }   ] } ```
fr	 ##### Demande de données proxy  La demande de `données proxy` est envoyée par proxy pour fournir des données de disponibilité, d'historique, de découverte et d'enregistrement automatique de l'interface hôte. Cette requête est envoyée toutes les `DataSenderFrequency` (paramètre de configuration du proxy) secondes. Notez que le proxy actif interrogera toujours le serveur Zabbix toutes les secondes pour les tâches de commande à distance (avec une requête `proxy data` vide).  |nom|<|type de valeur|description| |-|----------|----------|----------------------------------------| |proxy→serveur :|<|<|<| |**request**|<|*chaîne*|'proxy data'| |**host**|<|*chaîne*|Nom du proxy.| |**session**|<|*chaîne*|Jeton de session de données.| |**interface availability**|<|*tableau*|*(optionnel)* Tableau d'objets de données de disponibilité d'interface.| | |**interfaceid**|*nombre*|Identifiant d'interface.| |^|**available**|*nombre*|Disponibilité des interfaces :<br><br>**0**, *INTERFACE\_AVAILABLE\_UNKNOWN* - inconnue<br>**1**, *INTERFACE\_AVAILABLE\_TRUE* - disponible<br>**2**, *INTERFACE\_AVAILABLE\_FALSE* - indisponible| |^|**error**|*chaîne*|Message d'erreur d'interface ou chaîne vide.| |**history data**|<|*tableau*|*(optionnel)* Tableau d'objets de données d'historique.| | |**itemid**|*nombre*|Identifiant de l'élément.| |^|**clock**|*nombre*|Horodatage de la valeur de l'élément (secondes).| |^|**ns**|*nombre*|Horodatage de la valeur de l'élément (nanosecondes).| |^|**value**|*chaîne*|*(optionnel)* Valeur de l'élément.| |^|**id**|*nombre*|Identifiant de valeur (compteur croissant, unique dans une session de données).| |^|**timestamp**|*nombre*|*(optionnel)* Horodatage des éléments de type journal des événements.| |^|**source**|*chaîne*|*(optionnel)* Valeur source de l'élément du journal des événements.| |^|**severity**|*nombre*|*(optionnel)* Valeur de sévérité de l'élément du journal des événements.| |^|**eventid**|*nombre*|*(optionnel)* Valeur de l'ID d'événement de l'élément du journal des événements.| |^|**state**|*chaîne*|*(optionnel)* État de l'élément :<br>**0**, *ITEM\_STATE\_NORMAL*<br>**1**, *ITEM\_STATE\_NOTSUPPORTED*| |^|**lastlogsize**|*nombre*|*(optionnel)* Taille du dernier journal des éléments de type journal.| |^|**mtime**|*nombre*|*(optionnel)* Heure de modification des éléments de type journal.| |**discovery data**|<|*tableau*|*(optionnel)* Tableau d'objets de données de découverte.| | |**clock**|*nombre*|Horodatage des données de découverte.| |^|**druleid**|*nombre*|Identifiant de règle de découverte.| |^|**dcheckid**|*nombre*|Identifiant de vérification de découverte ou null pour les données de règle de découverte.| |^|**type**|*nombre*|Type de contrôle de découverte :<br><br>**-1** données de règle de découverte<br>**0**, *SVC\_SSH* - Vérification du service SSH<br>**1**, *SVC\_LDAP* - Vérification du service LDAP<br>**2**, *SVC\_SMTP* - Vérification du service SMTP<br>**3**, *SVC\_FTP* - Vérification du service FTP<br>**4**, *SVC\_HTTP* - Vérification du service HTTP<br>**5**, *SVC\_POP* - Vérification du service POP<br>**6**, *SVC\_NNTP* - Vérification du service NNTP<br>**7**, *SVC\_IMAP* - Vérification du service IMAP<br>**8**, *SVC\_TCP* - Vérification de la disponibilité du port TCP<br>**9**, *SVC\_AGENT* - Zabbix agent<br>**10**, *SVC\_SNMPv1* - SNMPv1 agent<br>**11**, *SVC\_SNMPv2* - SNMPv2 agent<br>**12**, *SVC\_ICMPPING* - Ping ICMP<br>**13**, *SVC\_SNMPv3* - Agent SNMPv3<br>**14**, *SVC\_HTTPS* - Vérification du service HTTPS<br>**15**, *SVC\_TELNET* - Vérification de la disponibilité Telnet| |^|**ip**|*chaîne*|Adresse IP de l'hôte.| |^|**dns**|*chaîne*|Nom DNS de l'hôte.| |^|**port**|*nombre*|*(optionnel)* Numéro de port de service.| |^|**key\_**|*chaîne*|*(optionnel)* Clé d'élément pour le contrôle de découverte de type **9** *SVC\_AGENT*| |^|**value**|*chaîne*|*(optionnel)* Valeur reçue du service, peut être vide pour la plupart des services.| |^|**status**|*nombre*|*(optionnel)* Statut du service :<br><br>**0**, *DOBJECT\_STATUS\_UP* - Service démarré<br>**1* *, *DOBJECT\_STATUS\_DOWN* - Service arrêté| |**autoregistration**|<|*tableau*|*(optionnel)* Tableau d'objets de données d'auto-enregistrement.| | |**clock**|*nombre*|Horodatage des données d'enregistrement automatique.| |^|**host**|*chaîne*|Nom d'hôte.| |^|**ip**|*chaîne*|*(optionnel)* Adresse IP de l'hôte.| |^|**dns**|*chaîne*|*(optionnel)* Nom DNS résolu à partir de l'adresse IP.| |^|**port**|*chaîne*|*(optionnel)* Port de l'hôte.| |^|**host\_metadata**|*chaîne*|*(optionnel)* Métadonnées de l'hôte envoyées par l'agent (basées sur le paramètre de configuration de l'agent HostMetadata ou HostMetadataItem).| |**tasks**|<|*tableau*|*(optionnel)* Tableau de tâches.| | |**type**|*nombre*|Type de tâche :<br><br>**0**, *ZBX\_TM\_TASK\_PROCESS\_REMOTE\_COMMAND\_RESULT* - résultat de la commande à distance| |^|**status**|*nombre*|Statut d'exécution de la commande à distance :<br><br>**0**, *ZBX\_TM\_REMOTE\_COMMAND\_COMPLETED* - commande à distance terminée avec succès<br>**1**, *ZBX\_TM\_REMOTE\_COMMAND\_FAILED* - la commande à distance a échoué| |^|**error**|*chaîne*|*(optionnel)* Message d'erreur.| |^|**parent\_taskid**|*nombre*|ID de la tâche parent.| |**more**|<|*nombre*|*(optionnel)* 1 - il y a plus de données d'historique à envoyer.| |**clock**|<|*nombre*|*(optionnel)* Horodatage du transfert de données (secondes).| |**ns**|<|*nombre*|*(optionnel)* Horodatage du transfert de données (nanosecondes).| |**version**|<|*chaîne*|Version du Proxy(\<major\>.\<minor\>.\<build\>).| |serveur→proxy :|<|<|<| |**response**|<|*chaîne*|Demander des informations sur le succès ('success' ou 'failed').| |**upload**|<|*chaîne*|Contrôle de téléchargement des données historiques (historique, enregistrement automatique, disponibilité de l'hôte, découverte du réseau) :<br>**activé** - fonctionnement normal<br>**désactivé** - le serveur n'accepte pas les données (peut-être en raison d'un dépassement de la limite du cache interne )| |**tasks**|<|*tableau*|*(optionnel)* Tableau de tâches.| | |**type**|*nombre*|Type de tâche :<br><br>**1**, *ZBX\_TM\_TASK\_PROCESS\_REMOTE\_COMMAND* - commande à distance| |^|**clock**|*nombre*|Heure de création de la tâche.| |^|**ttl**|*nombre*|Temps en secondes après lequel la tâche expire.| |^|**commandtype**|*nombre*|Type de commande à distance :<br><br>**0**, *ZBX\_SCRIPT\_TYPE\_CUSTOM\_SCRIPT* - utiliser un script personnalisé<br>**1**, *ZBX\_SCRIPT\_TYPE\_IPMI* - use IPMI<br>**2**, *ZBX\_SCRIPT\_TYPE\_SSH* - utiliser SSH<br>**3**, *ZBX\_SCRIPT\_TYPE\_TELNET* - utiliser Telnet<br>**4**, *ZBX\_SCRIPT\_TYPE\_GLOBAL\_SCRIPT* - utiliser le script global (actuellement équivalent fonctionnellement au script personnalisé) | |^|**command**|*chaîne*|Commande distante à exécuter.| |^|**execute\_on**|*nombre*|Cible d'exécution pour les scripts personnalisés :<br><br>**0**, *ZBX\_SCRIPT\_EXECUTE\_ON\_AGENT* - exécuter le script sur l'agent<br>**1**, *ZBX\_SCRIPT\_EXECUTE\_ON\_SERVER* - exécuter le script sur le serveur<br>**2**, *ZBX\_SCRIPT\_EXECUTE\_ON\_PROXY* - exécuter le script sur le proxy| |^|**port**|*nombre*|*(optionnel)* Port for Telnet and SSH commands.| |^|**authtype**|*nombre*|*(optionnel)* Type d'authentification pour les commandes SSH.| |^|**username**|*chaîne*|*(optionnel)* Nom d'utilisateur pour les commandes Telnet et SSH.| |^|**password**|*chaîne*|*(optionnel)* Mot de passe pour les commandes Telnet et SSH.| |^|**publickey**|*chaîne*|*(optionnel)* Clé publique pour les commandes SSH.| |^|**privatekey**|*chaîne*|*(optionnel)* Clé privée pour les commandes SSH.| |^|**parent\_taskid**|*nombre*|ID de la tâche parent.| |^|**hostid**|*nombre*|ID de l'hôte cible.|  Exemple :  proxy→serveur :  ``` {.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" } ```  serveur→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  
fr	# proxy.delete  

en-us	##### Proxy features  When making a choice of using/not using a proxy, several considerations must be taken into account.  | |Proxy| |--------|--| |*Lightweight*|**Yes**| |*GUI*|No| |*Works independently*|**Yes**| |*Easy maintenance*|**Yes**| |*Automatic DB creation*|**Yes**^1^| |*Local administration*|No| |*Ready for embedded hardware*|**Yes**| |*One way TCP connections*|**Yes**| |*Centralized configuration*|**Yes**| |*Generates notifications*|No|  ^1^ Automatic DB creation feature works only with SQLite. Other databases require [manual setup](/manual/appendix/install/db_scripts).
fr	##### Fonctions du proxy  Lorsque vous choisissez d'utiliser ou de ne pas utiliser un proxy, plusieurs considérations doivent être prises en compte.  | |Proxy| |--------|--| |*Légèreté*|**Oui**| |*GUI*|Non| |*Fonctionnement indépendant*|**Oui**| |*Facilité de maintenance*|**Oui**| |*Création automatique de la BDD*|**Oui**^1^| |*Administration locale*|Non| |*Prêt pour le matériel embarqué*|**Oui**| |*Connexions TCP à sens unique*|**Oui**| |*Configuration centralisée*|**Oui**| |*Génération de notifications*|Non|  ^1^ La fonctionnalité de création automatique de base de données ne fonctionne qu'avec SQLite. Les autres bases de données nécessitent une [configuration manuelle](/fr/manual/appendix/install/db_scripts).

en-us	# proxy.get
fr	# proxy.get

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" } ```
fr	##### Demande de heartbeat proxy  La requête `proxy heartbeat` est envoyée par proxy pour signaler que le proxy est en cours d'exécution. Cette requête est envoyée toutes les `HeartbeatFrequency` (paramètre de configuration du proxy) secondes.  |nom|type de valeur|description| |----------|----------|----------------------------------------| |proxy→serveur:|<|<| |**request**|*string*|'proxy heartbeat'| |**host**|*string*|Nom du proxy.| |**version**|*string*|Version du proxy (<major>.<minor>.<build>).| |serveur→proxy:|<|<| |**response**|*string*|Information sur le succès de la requête ('success' ou 'failed').|  proxy→serveur:  ``` {.javascript} {    "request": "proxy heartbeat",    "host": "Proxy #12",    "version": "5.4.0" } ```  serveur→proxy:  ``` {.javascript} {   "response": "success" } ```

en-us	### Proxy installation  Once the required repository is added, you can install Zabbix proxy by running:      # dnf install zabbix-proxy-mysql zabbix-sql-scripts  Substitute 'mysql' in the commands with 'pgsql' to use PostgreSQL, or with 'sqlite3' to use SQLite3 (proxy only).  The package 'zabbix-sql-scripts' contains database schemas for all supported database management systems for both Zabbix server and Zabbix proxy and will be used for data import.
fr	### Installation du proxy  Une fois le référentiel requis ajouté, vous pouvez installer le proxy Zabbix en exécutant :      # dnf install zabbix-proxy-mysql zabbix-sql-scripts  Remplacez 'mysql' dans la commande par 'pgsql' pour utiliser PostgreSQL, ou par 'sqlite3' pour utiliser SQLite3.  Le package 'zabbix-sql-scripts' contient des schémas de base de données pour tous les systèmes de gestion de base de données pris en charge par le serveur Zabbix et le proxy Zabbix et sera utilisé pour l'importation de données.

en-us	### Proxy interface  The proxy interface object defines the interface used to connect to a passive proxy. It has the following properties.  |Property|[Type](/manual/api/reference_commentary#data_types)|Description| |--|--|------| |**dns**<br>(required)|string|DNS name to connect to.<br><br>Can be empty if connections are made via IP address.| |**ip**<br>(required)|string|IP address to connect to.<br><br>Can be empty if connections are made via DNS names.| |**port**<br>(required)|string|Port number to connect to.| |**useip**<br>(required)|integer|Whether the connection should be made via IP address.<br><br>Possible values are:<br>0 - connect using DNS name;<br>1 - connect using IP address.|
fr	### Interface de proxy  L'objet interface proxy définit l'interface utilisée pour se connecter à un proxy passif. Il a les propriétés suivantes.  |Propriété|[Type](/manual/api/reference_commentary#data_types)|Description| |--|--|------| |**dns**<br>(obligatoire)|string|Nom DNS auquel se connecter.<br><br>Peut être vide si les connexions sont établies via une adresse IP.| |**ip**<br>(obligatoire)|string|Adresse IP à laquelle se connecter.<br><br>Peut être vide si les connexions sont établies via des noms DNS.| |**port**<br>(obligatoire)|string|Numéro de port auquel se connecter.| |**useip**<br>(obligatoire)|integer|Si la connexion doit être établie via l'adresse IP.<br><br>Les valeurs possibles sont :<br>0 - se connecter en utilisant le nom DNS ;<br>1 - se connecter en utilisant l'adresse IP.|

en-us	# > Proxy object  The following objects are directly related to the `proxy` API.
fr	# > Objet Proxy  Les objets suivants sont directement liés à l'API `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).
fr	#### Types de processus du Proxy  -   `​availability manager`​ - processus de mise à jour de la disponibilité de l'hôte -   `​configuration syncer`​ - processus pour gérer le cache mémoire des données de configuration -   `​data sender`​ - permet au proxy d'envoyer les données -   `​discoverer`​ - processus pour la découvertes des équipements -   `​heartbeat sender`​ - permet au proxy d'envoyer les tests de vie ​ -   `​history syncer`​ - écriture en base de données de l'historique -   `​history poller`​ - processus de traitement des contrôles calculés, agrégés et internes nécessitant une connexion à une base de données -   `​housekeeper`​ - processus pour supprimer les anciennes données d'historique -   `​http poller`​ - poller pour la supervision web -   `​icmp pinger`​ - poller pour les vérifications icmpping -   `​ipmi manager`​ - gestionnaire de poller IPMI -   `​ipmi poller`​ - poller pour les vérifications IPMI -   `​java poller`​ - poller pour les vérifications Java -   `odbc poller` - poller pour les vérifications ODBC -   `​poller`​ - poller normal pour les vérifications passives -   `​preprocessing manager`​ - responsable des tâches de prétraitement -   `​preprocessing worker`​ - processus de prétraitement des données -   `​self-monitoring`​ - processus collectant les statistiques internes du servuer -   `​snmp trapper`​ - trapper pour les traps SNMP -   `​task manager`​ - processus pour l'exécution à distance de tâches demandées par d'autres composants (ex : fermeture d'un problème, acquittement d'un problème, vérifier maintenant un élément, fonctionnalité de commande à distance) -   `​trapper`​ - trapper pour les vérifications actives, traps, communication avec le proxy -   `​unreachable poller`​ - poller pour équipements injoignables -   `​vmware collector`​ - Collecteur de données VMware responsable de récupérer les données des services VMware  Le fichier journal du proxy peut être utilisé pour observer ces types de processus.  Plusieurs types de processus proxy Zabbix peuvent être supervisés en utilisant l'[élément interne](/manual/config/items/itemtypes/internal) **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       }   ] } ```
fr	 ##### Requête de proxy  La demande de `données prox` est utilisée pour obtenir des données de disponibilité, d'historique, de découverte et d'enregistrement automatique de l'interface hôte à partir du proxy. Cette requête est envoyée toutes les `ProxyDataFrequency` (paramètre de configuration du serveur) secondes.  |nom|<|type de valeur|description| |-|----------|----------|----------------------------------------| |serveur→proxy :|<|<|<| |**request**|<|*chaîne*|'proxy data'| |proxy→serveur :|<|<|<| |**session**|<|*chaîne*|Jeton de session de données.| |**interface availability**|<|*tableau*|*(optionnel)* Tableau d'objets de données de disponibilité d'interface.| | |**interfaceid**|*nombre*|Identificateur d'interface.| |^|**available**|*nombre*|Disponibilité des interfaces :<br><br>**0**, *INTERFACE\_AVAILABLE\_UNKNOWN* - inconnue<br>**1**, *INTERFACE\_AVAILABLE\_TRUE* - disponible<br>**2**, *INTERFACE\_AVAILABLE\_FALSE* - indisponible| |^|**error**|*chaîne*|Message d'erreur d'interface ou chaîne vide.| |**history data**|<|*tableau*|*(optionnel)* Tableau d'objets de données d'historique.| | |**itemid**|*nombre*|Identificateur d'élément.| |^|**clock**|*nombre*|Horodatage de la valeur de l'élément (secondes).| |^|**ns**|*nombre*|Horodatage de la valeur de l'élément (nanosecondes).| |^|**value**|*chaîne*|*(optionnel)* Valeur de l'élément.| |^|**id**|*nombre*|Identificateur de valeur (compteur croissant, unique dans une session de données).| |^|**timestamp**|*nombre*|*(optionnel)* Horodatage des éléments de type journal.| |^|**source**|*chaîne*|*(optionnel)* Valeur source de l'élément du journal des événements.| |^|**severity**|*nombre*|*(optionnel)* Valeur de sévérité de l'élément du journal des événements.| |^|**eventid**|*nombre*|*(optionnel)* Valeur de l'ID d'événement de l'élément du journal des événements.| |^|**state**|*chaîne*|*(optionnel)* État de l'élément :<br>**0**, *ITEM\_STATE\_NORMAL*<br>**1**, *ITEM\_STATE\_NOTSUPPORTED*| |^|**lastlogsize**|*nombre*|*(optionnel)* Taille du dernier journal des éléments de type journal.| |^|**mtime**|*nombre*|*(optionnel)* Heure de modification des rubriques de type log.| |**discovery data**|<|*tableau*|*(optionnel)* Tableau d'objets de données de découverte.| | |**clock**|*nombre*|Horodatage des données de découverte.| |^|**druleid**|*nombre*|Identificateur de règle de découverte.| |^|**dcheckid**|*nombre*|Identifiant de vérification de découverte ou nul pour les données de règle de découverte.| |^|**type**|*nombre*|Type de contrôle de découverte :<br><br>**-1** données de règle de découverte<br>**0**, *SVC\_SSH* - Vérification du service SSH<br>**1**, *SVC\_LDAP* - Vérification du service LDAP<br>**2**, *SVC\_SMTP* - Vérification du service SMTP<br>**3**, *SVC\_FTP* - Vérification du service FTP<br>**4**, *SVC\_HTTP* - Vérification du service HTTP<br>**5**, *SVC\_POP* - Vérification du service POP<br>**6**, *SVC\_NNTP* - Vérification du service NNTP<br>**7**, *SVC\_IMAP* - Vérification du service IMAP<br>**8**, *SVC\_TCP* - Vérification de la disponibilité du port TCP<br>**9**, *SVC\_AGENT* - Agent Zabbix<br>**10**, *SVC\_SNMPv1* - Agent SNMPv1<br>**11**, *SVC\_SNMPv2* - Agent SNMPv2<br>**12**, *SVC\_ICMPPING* - Ping ICMP<br>**13**, *SVC\_SNMPv3* - Agent SNMPv3<br>**14**, *SVC\_HTTPS* - Vérification du service HTTPS<br>**15**, *SVC\_TELNET* - Vérification de la disponibilité Telnet| |^|**ip**|*chaîne*|Adresse IP de l'hôte.| |^|**dns**|*chaîne*|Nom DNS de l'hôte.| |^|**port**|*nombre*|*(optionnel)* Numéro de port de service.| |^|**key\_**|*chaîne*|*(optionnel)* Clé d'élément pour le contrôle de découverte de type **9** *SVC\_AGENT*| |^|**value**|*chaîne*|*(optionnel)* Valeur reçue du service, peut être vide pour la plupart des services.| |^|**status**|*nombre*|*(optionnel)* État du service:<br><br>**0**, *DOBJECT\_STATUS\_UP* - Service démarré<br>**1**, *DOBJECT\_STATUS\_DOWN* - Service arrêté| |**auto registration**|<|*tableau*|*(optionnel)* Tableau d'objets de données d'enregistrement automatique.| | |**clock**|*nombre*|Horodatage des données d'enregistrement automatique.| |^|**host**|*chaîne*|Nom d'hôte.| |^|**ip**|*chaîne*|*(optionnel)* Adresse IP de l'hôte.| |^|**dns**|*chaîne*|*(optionnel)* Nom DNS résolu à partir de l'adresse IP.| |^|**port**|*chaîne*|*(optionnel)* Port de l'hôte.| |^|**host\_metadata**|*chaîne*|*(optionnel)* Métadonnées de l'hôte envoyées par l'agent (basées sur le paramètre de configuration de l'agent HostMetadata ou HostMetadataItem).| |**tasks**|<|*tableau*|*(optionnel)* Tableau de tâches.| | |**type**|*nombre*|Type de tâche :<br><br>**0**, *ZBX\_TM\_TASK\_PROCESS\_REMOTE\_COMMAND\_RESULT* - résultat de la commande à distance | |^|**status**|*nombre*|Statut d'exécution de la télécommande :<br><br>**0**, *ZBX\_TM\_REMOTE\_COMMAND\_COMPLETED* - commande à distance terminée avec succès<br>**1**, *ZBX\_TM\_REMOTE\_COMMAND\_FAILED* - la commande à distance a échoué| |^|**error**|*chaîne*|*(optionnel)* Message d'erreur.| |^|**parent\_taskid**|*nombre*|ID de tâche parent.| |**more**|<|*nombre*|*(optionnel)* 1 - il y a plus de données d'historique à envoyer.| |**clock**|<|*nombre*|*(optionnel)* Horodatage du transfert de données (secondes).| |**ns**|<|*nombre*|*(optionnel)* Horodatage du transfert de données (nanosecondes).| |**version**|<|*chaîne*|Version proxy (\<major\>.\<minor\>.\<build\>).| |serveur→proxy :|<|<|<| |**response**|<|*chaîne*|Demander des informations sur le succès ('success' ou 'failed').| |**tasks**|<|*tableau*|*(optionnel)* Tableau de tâches.| | |**type**|*nombre*|Type de tâche :<br><br>**1**, *ZBX\_TM\_TASK\_PROCESS\_REMOTE\_COMMAND* - commande à distance| |^|**clock**|*nombre*|Heure de création de la tâche.| |^|**ttl**|*nombre*|Temps en secondes après lequel la tâche expire.| |^|**commandtype**|*nombre*|Type de commande à distance :<br><br>**0**, *ZBX\_SCRIPT\_TYPE\_CUSTOM\_SCRIPT* - utiliser un script personnalisé<br>**1**, *ZBX\_SCRIPT\_TYPE\_IPMI* - utiliser IPMI<br>**2**, *ZBX\_SCRIPT\_TYPE\_SSH* - utiliser SSH<br>**3**, *ZBX\_SCRIPT\_TYPE\_TELNET* - utiliser Telnet<br>**4**, *ZBX\_SCRIPT\_TYPE\_GLOBAL\_SCRIPT* - utiliser le script global (actuellement équivalent fonctionnellement du script personnalisé) | |^|**command**|*chaîne*|Commande distante à exécuter.| |^|**execute\_on**|*nombre*|Cible d'exécution pour les scripts personnalisés :<br><br>**0**, *ZBX\_SCRIPT\_EXECUTE\_ON\_AGENT* - exécuter le script sur l'agent<br>**1**, *ZBX\_SCRIPT\_EXECUTE\_ON\_SERVER* - exécuter le script sur le serveur<br>**2**, *ZBX\_SCRIPT\_EXECUTE\_ON\_PROXY* - exécuter le script sur le proxy| |^|**port**|*nombre*|*(optionnel)* Port pour les commandes Telnet et SSH.| |^|**authtype**|*nombre*|*(optionnel)* Type d'authentification pour les commandes SSH.| |^|**username**|*chaîne*|*(optionnel)* Nom d'utilisateur pour les commandes Telnet et SSH.| |^|**password**|*chaîne*|*(optionnel)* Mot de passe pour les commandes Telnet et SSH.| |^|**publickey**|*chaîne*|*(optionnel)* Clé publique pour les commandes SSH.| |^|**privatekey**|*chaîne*|*(optionnel)* Clé privée pour les commandes SSH.| |^|**parent\_taskid**|*nombre*|ID de tâche parent.| |^|**hostid**|*nombre*|ID de l'hôte cible.|  Exemple :  serveur→proxy :  ``` {.javascript} {   "request": "proxy data" } ```  proxy→serveur :  ``` {.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" } ```  serveur→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 startup with MySQL 8.0.0-8.0.17  zabbix\_proxy on MySQL versions 8.0.0-8.0.17 fails with the following "access denied" error:      [Z3001] connection to database 'zabbix' failed: [1227] Access denied; you need (at least one of) the SUPER, SYSTEM_VARIABLES_ADMIN or SESSION_VARIABLES_ADMIN privilege(s) for this operation  That is due to MySQL 8.0.0 starting to enforce special permissions for setting session variables. However, in 8.0.18 this behavior was removed: [As of MySQL 8.0.18, setting the session value of this system variable is no longer a restricted operation.](https://dev.mysql.com/doc/refman/8.0/en/server-system-variables.html)  The workaround is based on granting additional privileges to the `zabbix` user:  For MySQL versions 8.0.14 - 8.0.17:      grant SESSION_VARIABLES_ADMIN on *.* to 'zabbix'@'localhost';  For MySQL versions 8.0.0 - 8.0.13:      grant SYSTEM_VARIABLES_ADMIN on *.* to 'zabbix'@'localhost';
fr	#### Démarrage du proxy avec MySQL 8.0.0-8.0.17  zabbix\_proxy sur MySQL versions 8.0.0-8.0.17 échoue avec l'erreur "accès refusé" suivante :      [Z3001] connection to database 'zabbix' failed: [1227] Access denied; you need (at least one of) the SUPER, SYSTEM_VARIABLES_ADMIN or SESSION_VARIABLES_ADMIN privilege(s) for this operation  Cela est dû au fait que MySQL 8.0.0 commence à appliquer des autorisations spéciales pour définir les variables de session. Cependant, dans la version 8.0.18, ce comportement a été supprimé : [Depuis MySQL 8.0.18, la définition de la valeur de session de cette variable système n'est plus une opération restreinte.](https://dev.mysql.com/doc/refman/8.0/en/server-system-variables.html)  La solution de contournement est basée sur l'octroi de privilèges supplémentaires à l'utilisateur `zabbix` :  Pour les versions 8.0.14 à 8.0.17 de MySQL :       grant SESSION_VARIABLES_ADMIN on *.* to 'zabbix'@'localhost';  Pour les versions 8.0.0 à 8.0.13 de MySQL :      grant SYSTEM_VARIABLES_ADMIN on *.* to 'zabbix'@'localhost';

en-us	### Proxy  The proxy object has the following properties.  |Property|[Type](/manual/api/reference_commentary#data_types)|Description| |--|--|------| |proxyid|string|*(readonly)* ID of the proxy.| |**host**<br>(required)|string|Name of the proxy.| |**status**<br>(required)|integer|Type of proxy.<br><br>Possible values:<br>5 - active proxy;<br>6 - passive proxy.| |description|text|Description of the proxy.| |lastaccess|timestamp|*(readonly)* Time when the proxy last connected to the server.| |tls\_connect|integer|Connections to host.<br><br>Possible values are:<br>1 - *(default)* No encryption;<br>2 - PSK;<br>4 - certificate.| |tls\_accept|integer|Connections from host.<br><br>Possible bitmap values are:<br>1 - *(default)* No encryption;<br>2 - PSK;<br>4 - certificate.| |tls\_issuer|string|Certificate issuer.| |tls\_subject|string|Certificate subject.| |tls\_psk\_identity|string|*(write-only)* PSK identity. Required if either `tls_connect` or `tls_accept` has PSK enabled.<br>Do not put sensitive information in the PSK identity, it is transmitted unencrypted over the network to inform a receiver which PSK to use.| |tls\_psk|string|*(write-only)* The preshared key, at least 32 hex digits. Required if either `tls_connect` or `tls_accept` has PSK enabled.| |proxy\_address|string|Comma-delimited IP addresses or DNS names of active Zabbix proxy.| |auto\_compress|integer|*(readonly)* Indicates if communication between Zabbix server and proxy is compressed.<br><br>Possible values are:<br>0 - No compression;<br>1 - Compression enabled;|  Note that for some methods (update, delete) the required/optional parameter combination is different.
fr	### Proxy  L'objet proxy a les propriétés suivantes.  |Propriété|[Type](/manual/api/reference_commentary#data_types)|Description| |--|--|------| |proxyid|string|*(lecture seule)* ID du proxy.| |**host**<br>(obligatoire)|string|Nom du proxy.| |**status**<br>(obligatoire)|integer|Type de proxy.<br><br>Valeurs possibles :<br>5 - proxy actif ;<br>6 - proxy passif.| |description|text|Description du proxy.| |lastaccess|timestamp|*(lecture seule)* Heure à laquelle le proxy s'est connecté au serveur la dernière fois.| |tls\_connect|integer|Connexion à l'hôte.<br><br>Valeurs possibles :<br>1 - *(par défaut)* Pas de chiffrement ;<br>2 - PSK ;<br>4 - certificat.| |tls\_accept|integer|Connexion de l'hôte.<br><br>Valeurs possibles :<br>1 - *(par défaut)* Pas de chiffrement ;<br>2 - PSK ;<br>4 - certificat.| |tls\_issuer|string|Émetteur du certificat.| |tls\_subject|string|Sujet du certificat.| |tls\_psk\_identity|string|*(écriture seule)* Identité PSK. Requis si `tls_connect` ou `tls_accept` ont PSK activé.| |tls\_psk|string|*(écriture seule)*La clé pré-partagée, au moins 32 chiffres hexadécimaux. Requis si `tls_connect` ou `tls_accept` ont PSK activé.| |auto\_compress|integer|*(lecture seule)* Indique si la communication entre le serveur Zabbix et le proxy est compressée.<br><br>Valeurs possibles :<br>0 - Pas de compression ;<br>1 - Compression activée ;|  Notez que pour certaines méthodes (mise à jour, suppression) la combinaison de paramètres requise/optionnelle est différente.

en-us	# Proxy  This class is designed to work with proxies.  Object references:\  -   [Proxy](/manual/api/reference/proxy/object#proxy) -   [Proxy     interface](/manual/api/reference/proxy/object#proxy_interface)  Available methods:\  -   [proxy.create](/manual/api/reference/proxy/create) - create new     proxies -   [proxy.delete](/manual/api/reference/proxy/delete) - delete proxies -   [proxy.get](/manual/api/reference/proxy/get) - retrieve proxies -   [proxy.update](/manual/api/reference/proxy/update) - update proxies  
fr	# Proxy  Cette classe est conçue pour travailler avec les proxys.  Référentiel des objets :\  -   [Proxy](/manual/api/reference/proxy/object#proxy) -   [Interface du proxy](/manual/api/reference/proxy/object#proxy_interface)  Méthodes disponibles :\  -   [proxy.create](/manual/api/reference/proxy/create) - créer de nouveaux proxys -   [proxy.delete](/manual/api/reference/proxy/delete) - supprimer des proxys -   [proxy.get](/manual/api/reference/proxy/get) - récupérer des proxys -   [proxy.update](/manual/api/reference/proxy/update) - mettre à jour des proxys  

en-us	# proxy.update
fr	# proxy.update

en-us	#### Proxy upgrade process
fr	#### Procédure de mise à jour du Proxy

en-us	##### Proxy  [Zabbix proxy](/manual/concepts/proxy) can collect performance and availability data on behalf of Zabbix server. A proxy is an optional part of Zabbix deployment; however, it may be very beneficial to distribute the load of a single Zabbix server.
fr	##### Proxy  Le [Proxy Zabbix](/manual/concepts/proxy) peut collecter des données de performance et de disponibilité au nom du serveur Zabbix. Un proxy est un composant facultatif du déploiement de Zabbix. Cependant, il peut être très bénéfique de distribuer la charge d'un seul serveur Zabbix.

en-us	#### PSK contains an odd number of hex-digits  Proxy or agent does not start, message in the proxy or agent log:      invalid PSK in file "/home/zabbix/zabbix_proxy.psk"
fr	#### PSK contient un nombre impair de chiffres hexadécimaux  Le proxy ou l'agent ne démarre pas, message dans le journal du proxy ou de l'agent :      invalid PSK in file "/home/zabbix/zabbix_proxy.psk"

en-us	#### PSK identity string longer than 128 bytes is passed to GnuTLS  In TLS client side log:      gnutls_handshake() failed: -110 The TLS connection was non-properly terminated.  In TLS server side log.      gnutls_handshake() failed: -90 The SRP username supplied is illegal.
fr	#### Une chaîne d'identité PSK supérieure à 128 octets est transmise à GnuTLS  Dans le journal côté client TLS :      gnutls_handshake() failed: -110 The TLS connection was non-properly terminated.  Dans le journal côté serveur TLS :      gnutls_handshake() failed: -90 The SRP username supplied is illegal.

en-us	#### Public and private maps  All users in Zabbix (including non-admin users) can create network maps. Maps have an owner - the user who created them. Maps can be made public or private.  -   *Public* maps are visible to all users, although to see it the user     must have read access to at least one map element. Public maps can     be edited in case a user/ user group has read-write permissions for     this map and at least read permissions to all elements of the     corresponding map including triggers in the links.  ```{=html} <!-- --> ``` -   *Private* maps are visible only to their owner and the users/user     groups the map is [shared](/manual/config/visualization/maps/map)     with by the owner. Regular (non-Super admin) users can only share     with the groups and users they are members of. Admin level users can     see private maps regardless of being the owner or belonging to the     shared user list. Private maps can be edited by the owner of the map     and in case a user/ user group has read-write permissions for this     map and at least read permissions to all elements of the     corresponding map including triggers in the links.  Map elements that the user does not have read permission to are displayed with a grayed-out icon and all textual information on the element is hidden. However, the trigger label is visible even if the user has no permission to the trigger.  To add an element to the map the user must also have at least read permission to the element.
fr	 #### Cartes publiques et privées  Tous les utilisateurs de Zabbix (y compris les utilisateurs non administrateurs) peuvent créer des cartes réseau. Les cartes ont un propriétaire - l'utilisateur qui les a créées. Les cartes peuvent être rendues publiques ou privées.  -   Les cartes *publiques* sont visibles par tous les utilisateurs, bien que pour les voir, l'utilisateur doit avoir un accès en lecture à au moins un élément de la carte. Les cartes publiques peuvent être modifiées dans le cas où un utilisateur/groupe d'utilisateurs a des autorisations de lecture-écriture pour cette carte et au moins des autorisations de lecture pour tous les éléments de la carte correspondante, y compris les déclencheurs dans les liens.  ```{=html} <!-- --> ``` -   Les cartes *privées* ne sont visibles que par leur propriétaire et les utilisateurs/groupes d'utilisateurs avec lesquels la carte est [partagée](/manual/config/visualization/maps/map) par le propriétaire. Les utilisateurs réguliers (non super-administrateurs) ne peuvent partager qu'avec les groupes et les utilisateurs dont ils sont membres. Les utilisateurs de niveau administrateur peuvent voir des cartes privées, qu'ils soient propriétaires ou qu'ils appartiennent à la liste d'utilisateurs partagés. Les cartes privées peuvent être modifiées par le propriétaire de la carte et dans le cas où un utilisateur/groupe d'utilisateurs a des autorisations de lecture-écriture pour cette carte et au moins des autorisations de lecture pour tous les éléments de la carte correspondante, y compris les déclencheurs dans les liens.  Les éléments de carte pour lesquels l'utilisateur n'a pas l'autorisation de lecture sont affichés avec une icône grisée et toutes les informations textuelles sur l'élément sont masquées. Cependant, l'étiquette du déclencheur est visible même si l'utilisateur n'a aucune autorisation sur le déclencheur.  Pour ajouter un élément à la carte, l'utilisateur doit également avoir au moins une autorisation de lecture sur l'élément.

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.
fr	 ##### Objectif des fichiers persistants  Lorsque l'agent Zabbix est démarré, il reçoit une liste des vérifications actives du serveur ou du proxy Zabbix. Pour les métriques log\*\[\], il reçoit la taille du journal traité et l'heure de modification pour trouver où commencer la surveillance du fichier journal. En fonction de la taille réelle du fichier journal et de l'heure de modification signalée par le système de fichiers, l'agent décide soit de poursuivre la surveillance du fichier journal à partir de la taille du journal traité, soit de ré\-analyser le fichier journal depuis le début.  Un agent en cours d'exécution conserve un plus grand ensemble d'attributs pour le suivi de tous les fichiers journaux surveillés entre les vérifications. Cet état en\-mémoire est perdu lorsque l'agent est arrêté.  Le nouveau paramètre facultatif **persistent\_dir** spécifie un répertoire pour stocker cet état de l'élément log\[\], log.count\[\], logrt\[\] ou logrt.count\[\] dans un fichier . L'état de l'élément de journal est restauré à partir du fichier persistant après le redémarrage de l'agent Zabbix.  Le principal cas d'usage est la surveillance du fichier journal situé sur un système de fichiers en miroir. Jusqu'à un certain moment, le fichier journal est écrit sur les deux miroirs. Ensuite, les miroirs sont divisés. Sur la copie active, le fichier journal continue de croître, obtenant de nouveaux enregistrements. L'agent Zabbix l'analyse et envoie la taille et l'heure de modification des journaux traités au serveur. Sur la copie passive, le fichier journal reste le même, bien derrière la copie active. Plus tard, le système d'exploitation et l'agent Zabbix sont redémarrés à partir de la copie passive. La taille du journal traité et l'heure de modification que l'agent Zabbix reçoit du serveur peuvent ne pas être valides pour la situation sur la copie passive. Pour continuer la surveillance du fichier journal à partir de l'endroit où l'agent s'est arrêté au moment de la division du miroir du système de fichiers, l'agent restaure son état à partir du fichier persistant.

en-us	#### Query language comparison  The following table lists differences and similarities between PromQL and Zabbix Prometheus preprocessing query language.  |[PromQL instant vector selector](https://prometheus.io/docs/prometheus/latest/querying/basics/#instant-vector-selectors)|<|Zabbix Prometheus preprocessing| |----|----|----| |**Differences**|<|<| |Query target|Prometheus server|Plain text in Prometheus exposition format| |Returns|Instant vector|Metric or label value (Prometheus pattern)<br>Array of metrics for single value in JSON (Prometheus to JSON)| |Label matching operators|**=**, **!=**, **=\~**, **!\~**|**=**, **!=**, **=\~**, **!\~**| |Regular expression used in label or metric name matching|RE2|PCRE| |Comparison operators|See [list](https://prometheus.io/docs/prometheus/latest/querying/operators/#comparison-binary-operators)|Only **==** (equal) is supported for value filtering| |**Similarities**|<|<| |Selecting by metric name that equals string|<metric name> or {\_\_name\_\_="<metric name>"}|<metric name> or {\_\_name\_\_="<metric name>"}| |Selecting by metric name that matches regular expression|{\_\_name\_\_=\~"<regex>"}|{\_\_name\_\_=\~"<regex>"}| |Selecting by <label name> value that equals string|{<label name>="<label value>",...}|{<label name>="<label value>",...}| |Selecting by <label name> value that matches regular expression|{<label name>=\~"<regex>",...}|{<label name>=\~"<regex>",...}| |Selecting by value that equals string|{\_\_name\_\_=\~".\*"} == <value>|{\_\_name\_\_=\~".\*"} == <value>|
fr	 #### Comparaison des langages de requête  Le tableau suivant répertorie les différences et les similitudes entre le langage de requête de prétraitement PromQL et Zabbix Prometheus.  |[PromQL instant vector selector](https://prometheus.io/docs/prometheus/latest/querying/basics/#instant-vector-selectors)|<|Prétraitement Zabbix Prometheus| |----|----|----| |**Différences**|<|<| |Cible de la requête|Serveur Prometheus|Texte brut au format d'exposition Prometheus| |Renvois|Vecteur instantané|Valeur de métrique ou d'étiquette (modèle Prometheus)<br>Tableau de métriques pour une valeur unique dans JSON (Prometheus vers JSON)| |Opérateurs de correspondance d'étiquettes|**=**, **!=**, **=\~**, **!\~**|**=**, **!=**, **=\~**, **!\~**| |Expression régulière utilisée dans la correspondance de libellé ou de nom de métrique|RE2|PCRE| |Opérateurs de comparaison|Voir la [liste](https://prometheus.io/docs/prometheus/latest/querying/operators/#comparison-binary-operators)|Seulement **==** (égal) est pris en charge pour le filtrage de valeur | |**Similitudes**|<|<| |Sélection par nom de métrique égal à chaîne|<nom de métrique> or {\_\_nom\_\_="<nom de métrique>"}|<nom de métrique> or {\_\_nom\_\_="<nom de métrique>"}| |Sélection par nom de métrique qui correspond à l'expression régulière|{\_\_nom\_\_=\~"\<regex\>"}|{\_\_nom\_\_=\~"\<regex\>"}| |Sélection par <nom d'étiquette> valeur égale à string|{\<nom d'étiquette\>=\"<valeur d'étiquette\>",...}|{\<nom d'étiquette\>="\<valeur d'étiquette\>",...}| |Sélection par la valeur <nom d'étiquette> qui correspond à l'expression régulière |{\<nom d'étiquette\>=\~"\<regex\>",...}|{\<nom d'étiquette\>=\~"\<regex\>",...}| |Sélection par valeur égale à chaîne|{\_\_nom\_\_=\~".\*"} == \<valeur\>|{\_\_nom\_\_=\~".\*"} == \<valeur\>|

en-us	### Query separate tablespaces in Oracle databases with Zabbix agent 2  The following [Zabbix agent 2 items](/manual/config/items/itemtypes/zabbix_agent/zabbix_agent2), supported for the Oracle plugin, now have additional optional parameters:  -   oracle.diskgroups.stats\[<existingParameters>,**<diskgroup>**\] -   oracle.archive.info\[<existingParameters>,**<destination>**\] -   oracle.cdb.info\[<existingParameters>,**<database>**\] -   oracle.pdb.info\[<existingParameters>,**<database>**\] -   oracle.ts.stats\[<existingParameters>,**<tablespace>**,**<type>**\]  These parameters allow to query separate instances of data instead of all data, thus improving performance.
fr	### Interroger des tablespaces séparés dans les bases de données Oracle avec l'agent Zabbix 2  Les [éléments Zabbix agent 2](/manual/config/items/itemtypes/zabbix_agent/zabbix_agent2) suivants, pris en charge pour le plugin Oracle, ont maintenant des paramètres facultatifs supplémentaires :  -   oracle.diskgroups.stats\[<paramètresExistants>,**<groupeDeDisque>**\] -   oracle.archive.info\[<paramètresExistants>,**<destination>**\] -   oracle.cdb.info\[<paramètresExistants>,**<baseDeDonnée>**\] -   oracle.pdb.info\[<paramètresExistants>,**<baseDeDonnée>**\] -   oracle.ts.stats\[<paramètresExistants>,**<tablespace>**,**<type>**\]  Ces paramètres permettent d'interroger des instances de données distinctes au lieu de toutes les données, améliorant ainsi les performances.

en-us	### Query separate tablespaces in Oracle databases with Zabbix agent 2  The following [Zabbix agent 2 items](/manual/config/items/itemtypes/zabbix_agent/zabbix_agent2), supported for the Oracle plugin, now have additional optional parameters:  -   oracle.diskgroups.stats\[<existingParameters>,**<diskgroup>**\] -   oracle.archive.info\[<existingParameters>,**<destination>**\] -   oracle.cdb.info\[<existingParameters>,**<database>**\] -   oracle.pdb.info\[<existingParameters>,**<database>**\] -   oracle.ts.stats\[<existingParameters>,**<tablespace>**,**<type>**\]  These parameters allow to query separate instances of data instead of all data, thus improving performance.
fr	### Interroger des tablespaces séparés dans les bases de données Oracle avec l'agent Zabbix 2  Les [éléments Zabbix agent 2](/manual/config/items/itemtypes/zabbix_agent/zabbix_agent2) suivants, pris en charge pour le plugin Oracle, ont maintenant des paramètres facultatifs supplémentaires :  -   oracle.diskgroups.stats\[<paramètresExistants>,**<groupeDeDisque>**\] -   oracle.archive.info\[<paramètresExistants>,**<destination>**\] -   oracle.cdb.info\[<paramètresExistants>,**<baseDeDonnée>**\] -   oracle.pdb.info\[<paramètresExistants>,**<baseDeDonnée>**\] -   oracle.ts.stats\[<paramètresExistants>,**<tablespace>**,**<type>**\]  Ces paramètres permettent d'interroger des instances de données distinctes au lieu de toutes les données, améliorant ainsi les performances.

en-us	#### Queue item  A special internal item **zabbix\[queue,<from>,<to>\]** can be used to monitor the health of the queue in Zabbix. It will return the number of items delayed by the set amount of time. For more information see [Internal items](/manual/config/items/itemtypes/internal).
fr	#### Élément de file d'attente  Un élément interne spécifique à **zabbix\[queue,<from>,<to>\]** peut être utilisé pour superviser l'intégrité de la file d'attente dans Zabbix. Il renverra le nombre d'éléments retardés par rapport à la durée définie. Pour plus d'informations, voir [Éléments internes](/manual/config/items/itemtypes/internal).

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"}
fr	##### Résumé lisible dans les cartes  Une propriété "aria-label" cachée est disponible permettant aux informations de la carte d'être lues avec un lecteur d'écran. La description générale de la carte et une description d'élément individuel est disponible, au format suivant :  - pour la description de la carte :     `<Nom de la carte>, <* de * éléments en état de problème>, <* problèmes au total>.` - pour décrire un élément avec un problème :     `<Type d'élément>, Statut <Statut de l'élément>, <Nom de l'élément>, <Description du problème>.` - pour décrire un élément avec plusieurs problèmes :     `<Type d'élément>, Statut <Statut de l'élément>, <Nom de l'élément>, <* problèmes>.` - pour décrire un élément sans problème :     `<Type d'élément>, Statut <Statut de l'élément>, <Nom de l'élément>.`  Par exemple, cette description est disponible :      'Réseau local, 1 élément sur 6 en état de problème, 1 problème au total. Hôte, Problème d'état, Mon hôte, L'espace disque libre est inférieur à 20 % sur le volume \/. Groupe d'hôtes, Statut ok, Serveurs virtuels. Hôte, état ok, serveur 1. Hôte, état ok, serveur 2. Hôte, état ok, serveur 3. Hôte, état ok, serveur 4. '  pour la carte suivante :  ![](../../../../../assets/en/manual/web_interface/map_aria_label.png){width="600"}

en-us	#### Reading host availability  Host availability icons reflect the current host interface status on Zabbix server. Therefore, in the frontend:  -   If you disable a host, availability icons will not immediately turn     gray (unknown status), because the server has to synchronize the     configuration changes first; -   If you enable a host, availability icons will not immediately turn     green (available), because the server has to synchronize the     configuration changes and start polling the host first.
fr	#### Lecture de la disponibilité de l'hôte  Les icônes de disponibilité de l'hôte reflètent l'état actuel de l'interface hôte sur le serveur Zabbix. Par conséquent, sur l'interface Web :  -   Si vous désactivez un hôte, les icônes de disponibilité ne deviendront pas immédiatement grises (état inconnu), car le serveur doit d'abord synchroniser les changements de configuration ; -   Si vous activez un hôte, les icônes de disponibilité ne deviendront pas immédiatement vertes (disponibles), car le serveur doit d'abord synchroniser les modifications de configuration et commencer à interroger l'hôte.

en-us	#### Ready-to-use templates  The default dataset in Zabbix offers several ready-to-use templates for monitoring VMware vCenter or directly ESX hypervisor. These templates contain pre-configured LLD rules as well as a number of built-in checks for monitoring virtual installations.  Templates for VMware vCenter and ESX hypervisor monitoring:  -   *VMware* - uses UUID data for corresponding macros; -   *VMware FQDN* - uses FQDN data for corresponding macros.  ::: noteclassic  In order for the *VMware FQDN* template to work correctly each monitored VM should have a unique OS name compliant with FQDN rules and VMware Tools must be installed on every machine. If these conditions are met, it is recommended to use *VMware FQDN* template. The creation of *VMware FQDN* template became possible after introducing the ability to create hosts with custom interfaces in Zabbix 5.2.\ \ A classic *VMware* template is still available and can be used if FQDN requirements cannot be met. Please keep in mind, that the *VMware* template has a known issue. Hosts for discovered virtual machines will be created with the names saved in the vCenter (for example, VM1, VM2, etc.). If Zabbix agent active is installed on these hosts later with autoregistration enabled, the autoregistration process will read host names as they have been registered upon launch (for example, vm1.example.com, vm2.example.com, etc.) and create new hosts since no name matches have been found. As a result there will be two duplicate hosts for each machine with different names.  :::  Templates used by discovery (normally, these templates should not be manually linked to a host):  -   *VMware Hypervisor*; -   *VMware Guest*.  ![](../../assets/en/manual/vm_monitoring/templates_vm.png)
fr	 #### Modèles prêts à l'emploi  L'ensemble de données par défaut dans Zabbix propose plusieurs modèles prêts à l'emploi pour surveiller VMware vCenter ou directement l'hyperviseur ESX. Ces modèles contiennent des règles LLD préconfigurées ainsi qu'un certain nombre de contrôles intégrés pour la surveillance des installations virtuelles.  Modèles pour la surveillance de l'hyperviseur VMware vCenter et ESX :  -   *VMware* - utilise les données UUID pour les macros correspondantes ; -   *VMware FQDN* - utilise les données FQDN pour les macros correspondantes.  ::: noteclassic Pour que le modèle *VMware FQDN* fonctionne correctement, chaque machine virtuelle surveillée doit avoir un nom de système d'exploitation unique conforme aux règles FQDN et VMware Tools doit être installé sur chaque machine. Si ces conditions sont remplies, il est recommandé d'utiliser le modèle *VMware FQDN*. La création du modèle *VMware FQDN* est devenue possible après l'introduction de la possibilité de créer des hôtes avec des interfaces personnalisées dans Zabbix 5.2.\ \ Un modèle *VMware* classique est toujours disponible et peut être utilisé si les exigences FQDN ne peuvent pas être satisfaites. N'oubliez pas que le modèle *VMware* présente un problème connu. Les hôtes des machines virtuelles découvertes seront créés avec les noms enregistrés dans le vCenter (par exemple, VM1, VM2, etc.). Si l'agent Zabbix actif est installé ultérieurement sur ces hôtes avec l'enregistrement automatique activé, le processus d'enregistrement automatique lira les noms d'hôte tels qu'ils ont été enregistrés au lancement (par exemple, vm1.example.com, vm2.example.com, etc.) et créera de nouveaux hôtes car aucune correspondance de nom n'a été trouvée. En conséquence, il y aura deux hôtes en double pour chaque machine avec des noms différents. :::  Modèles utilisés par la découverte (normalement, ces modèles ne doivent pas être liés manuellement à un hôte) :  -   *VMware Hypervisor*; -   *VMware Guest*.  ![](../../assets/en/manual/vm_monitoring/templates_vm.png)

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).
fr	##### Marqueurs de changement récent  Des triangles rouges pointant vers l'intérieur autour d'un élément indiquent une changement d'état du déclencheur - qui s'est produit au cours des 30 dernières minutes. Ces triangles sont affichés si la case à cocher *Marquer les élément sur changement de l'état du déclencheur* est cochée dans la [configuration](/manual/config/visualization/maps/map#creating_a_map) de la carte.

en-us	#### Recent data vs longer periods  For very recent data a **single** line is drawn connecting each received value. The single line is drawn as long as there is at least one horizontal pixel available for one value.  For data that show a longer period **three lines** are drawn - a dark green one shows the average, while a light pink and a light green line shows the maximum and minimum values at that point in time. The space between the highs and the lows is filled with yellow background.  Working time (working days) is displayed in graphs as a white background, while non-working time is displayed in gray (with the *Original blue* default frontend theme).  ![](../../../../../assets/en/manual/config/graph_working_time.png){width="550"}  Working time is always displayed in simple graphs, whereas displaying it in [custom graphs](custom#configuring_custom_graphs) is a user preference.  Working time is not displayed if the graph shows more than 3 months.
fr	 #### Données récentes vs périodes plus longues  Pour les données très récentes, une ligne **simple** est tracée reliant chaque valeur reçue. La ligne unique est tracée tant qu'il y a au moins un pixel horizontal disponible pour une valeur.  Pour les données qui affichent une période plus longue, **trois lignes** sont dessinées : une ligne vert foncé indique la moyenne, tandis qu'une ligne rose clair et une ligne vert clair indiquent les valeurs maximale et minimale à ce moment précis. L'espace entre les hauts et les bas est rempli de fond jaune.  Le temps de travail (jours ouvrés) est affiché dans les graphiques sur fond blanc, tandis que le temps chômé est affiché en gris (avec le thème frontal par défaut *Original blue*).  ![](../../../../../assets/en/manual/config/graph_working_time.png){width="550"}  Le temps de travail est toujours affiché dans des graphiques simples, alors que son affichage dans des [graphiques personnalisés](custom#configuring_custom_graphs) est une préférence de l'utilisateur.  Le temps de travail n'est pas affiché si le graphique montre plus de 3 mois.

en-us	### Red Hat Enterprise Linux  Open the `/etc/yum.repos.d/zabbix.repo` file and set enabled=1 for the `zabbix-unstable` repo.       [zabbix-unstable]     name=Zabbix Official Repository (unstable) - $basearch     baseurl=https://repo.zabbix.com/zabbix/5.5/rhel/8/$basearch/     enabled=1     gpgcheck=1     gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-ZABBIX-A14FE591
fr	### Red Hat Enterprise Linux  Ouvrez le fichier `/etc/yum.repos.d/zabbix.repo` et définissez enabled=1 pour le dépôt `zabbix-unstable`.       [zabbix-unstable]     name=Zabbix Official Repository (unstable) - $basearch     baseurl=https://repo.zabbix.com/zabbix/5.5/rhel/8/$basearch/     enabled=1     gpgcheck=1     gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-ZABBIX-A14FE591

en-us	 ### Redis  |Key|<|<|<| |--|--|------|------| |**Description**|**Return value**|**Parameters**|**Comments**| |redis.config\[connString,<password>,<pattern>\]|<|<|<| |Gets the configuration parameters of a Redis instance that match the pattern.|JSON - if a glob-style pattern was used<br><br>single value - if a pattern did not contain any wildcard character|**connString** - URI or session name.<br>**password** - Redis password.<br>**pattern** - glob-style pattern (*\** by default).| | |redis.info\[connString,<password>,<section>\]|<|<|<| |Gets the output of the INFO command.|JSON - output is serialized as JSON|**connString** - URI or session name.<br>**password** - Redis password.<br>**section** - [section](https://redis.io/commands/info) of information (*default* by default).| | |redis.ping\[connString,<password>\]|<|<|<| |Test if a connection is alive or not.|1 - connection is alive<br><br>0 - connection is broken (if there is any error presented including AUTH and configuration issues)|**connString** - URI or session name.<br>**password** - Redis password.| | |redis.slowlog.count\[connString,<password>\]|<|<|<| |The number of slow log entries since Redis was started.|Integer|**connString** - URI or session name.<br>**password** - Redis password.| |
fr	  ### Redis  |Clé|<|<|<| |--|--|------|------| |**Description**|**Valeur  retournée**|**Paramètres**|**Commentaires**| |redis.config\[connString,\<password\>,\<pattern\>\]|<|<|<| |Obtient les paramètres de configuration d'une instance Redis qui correspondent au modèle.|JSON - si un modèle de style glob a été utilisé<br><br>valeur unique - si un modèle ne contient aucun caractère générique|**connString** - URI ou nom de session.<br>**password** - Mot de passe Redis.<br>**pattern** - motif de style glob (*\** par défaut).| | |redis.info\[connString,\<password\>,\<section\>\]|<|<|<| |Obtient la sortie de la commande INFO.|JSON - la sortie est sérialisée en JSON|**connString** - URI ou nom de session.<br>**password** - Mot de passe Redis.<br>**section** - [section](https://redis.io/commands/info) de l'information (*default* par défaut).| | |redis.ping\[connString,\<password\>\]|<|<|<| |Teste si une connexion est active ou non.|1 - la connexion est active<br><br>0 - la connexion est interrompue (en cas d'erreur, y compris AUTH et problèmes de configuration)|**connString** - URI ou nom de session.<br>**password** - Mot de passe Redis.| | |redis.slowlog.count\[connString,\<password\>\]|<|<|<| |Le nombre d'entrées de journal lentes depuis le démarrage de Redis.|Entier|**connString** - URI ou nom de session.<br>**password** - Mot de passe Redis.| |

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.
fr	##### Référencer une carte du réseau  Les cartes réseau peuvent être référencées par les paramètres GET `sysmapid` et `mapname`. Par exemple,      http://zabbix/zabbix/zabbix.php?action=map.view&mapname=Local%20network  ouvrira la carte portant ce nom (Local network).  Si `sysmapid` (ID de carte) et `mapname` (nom de carte) sont spécifiés, `mapname` a une priorité plus élevée.

en-us	#### regexp  Changes:\ [ZBXNEXT-6717](https://support.zabbix.com/browse/ZBXNEXT-6717) added `regexp.get`, `regexp.create`, `regexp.update` and `regexp.delete` API.\
fr	#### regexp  Changements :\ [ZBXNEXT-6717](https://support.zabbix.com/browse/ZBXNEXT-6717) ajout des API `regexp.get`, `regexp.create`, `regexp.update` et `regexp.delete`.\

en-us	# regexp.create
fr	# regexp.create

en-us	# regexp.delete  
fr	# regexp.delete  

en-us	# regexp.get
fr	# regexp.get

en-us	# regexp.update
fr	# regexp.update

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"}
fr	###### Requête d'enregistrement  Requête envoyée par l'agent lors de la phase de démarrage de l'agent pour obtenir les métriques fournies pour enregistrer un plug-in.  |   |   | |---|---| |direction|agent → plugin| |réponse|oui|  Paramètres spécifiques aux requêtes d'enregistrement :  |Nom|Type|Commentaires| |---------|--------|----------| |version|string|La version du protocole <major>.<minor>|  *Exemple:*      {"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"}
fr	 ###### Réponse d'enregistrement  Réponse du plugin à la requête d'enregistrement.  |   |   | |---|---| |direction|plugin → agent| |réponse|n/a|  Paramètres spécifiques aux réponses d'enregistrements :  |Nom|Type|Commentaires| |---------|--------|----------| |name|string|Le nom du plug-in.| |metrics|tableau de chaînes (facultatif)|Les métriques avec des descriptions telles qu'elles sont utilisées dans le plugin. Renvoie RegisterMetrics(). Absent si une erreur est renvoyée.| |interfaces|uint32 (facultatif)|Le masque binaire des interfaces prises en charge par le plugin. Absent si une erreur est renvoyée.| |error|string (facultatif)|Un message d'erreur est renvoyé si un plugin ne peut pas être démarré. Absent, si les métriques sont renvoyées.|  *Exemples:*      {"id":2,"type":3,"metrics":["external.test", "Test de l'exportateur externe."], "interfaces": 4}  ou      {"id":2,"type":3,"error":"message d'erreur"}

en-us	# > Regular expression object  The following objects are directly related to the `regexp` API.
fr	# > Objet Expression régulière  Les objets suivants sont directement liés à l'API `regexp`.

en-us	#### Regular expressions  Manage global regular expressions.  [Regular expression API](/manual/api/reference/regexp)  
fr	#### Expressions régulières  Gérez les expressions régulières globales.  [API Expressions régulières](/manual/api/reference/regexp)  

en-us	#### - Regular expressions  This section allows creating custom regular expressions that can be used in several places in the frontend. See [Regular expressions](/manual/regular_expressions) section for details.
fr	#### - Expressions régulières  Cette section permet de créer des expressions régulières personnalisées qui peuvent être utilisées à plusieurs endroits dans l'interface. Voir [Expressions régulières](/manual/regular_expressions) pour plus de détails.

en-us	### Regular expression  The global regular expression object has the following properties.  |Property|[Type](/manual/api/reference_commentary#data_types)|Description| |--|--|------| |regexpid|string|*(readonly)* ID of the regular expression.| |**name**<br>(required)|string|Name of the regular expression.| |test\_string|string|Test string.|  Note that for some methods (update, delete) the required/optional parameter combination is different.
fr	### Expression régulière  L'objet d'expression régulière globale a les propriétés suivantes.  |Propriété|[Type](/manual/api/reference_commentary#data_types)|Description| |--|--|------| |regexpid|string|*(lecture seule)* ID de l'expression régulière.| |**name**<br>(obligatoire)|string|Nom de l'expression régulière.| |test\_string|string|Chaîne de caractère de test.|  Notez que pour certaines méthodes (mise à jour, suppression) la combinaison de paramètres requise/optionnelle est différente.

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  
fr	# Expression régulière  Cette classe est conçue pour travailler avec les expressions régulières globales.  Référentiel des objets :\  -   [Expression régulière](/manual/api/reference/regexp/object)  Méthodes disponibles :\  -   [regexp.create](/manual/api/reference/regexp/create) - créer de nouvelles expressions régulières -   [regexp.delete](/manual/api/reference/regexp/delete) - supprimer des expressions régulières -   [regexp.get](/manual/api/reference/regexp/get) - récupérer des expressions régulières -   [regexp.update](/manual/api/reference/regexp/update) - mettre à jour des expressions régulières  

en-us	#### Remote commands with multiple interfaces  If the target system has multiple interfaces of the selected type (Zabbix agent or IPMI), remote commands will be executed on the default interface.  It is possible to execute remote commands via SSH and Telnet using another interface than the Zabbix agent one. The available interface to use is selected in the following order:        * Zabbix agent default interface       * SNMP default interface       * JMX default interface       * IPMI default interface
fr	#### Commandes à distance avec plusieurs interfaces  Si le système cible possède plusieurs interfaces du type sélectionné (agent Zabbix ou IPMI), les commandes à distance seront exécutées sur l'interface par défaut.  Il est possible d'exécuter des commandes à distance via SSH et Telnet en utilisant une autre interface que celle de l'agent Zabbix. L'interface disponible à utiliser est sélectionnée dans l'ordre suivant :  -   Interface par défaut de l'agent Zabbix -   Interface par défaut SNMP -   Interface par défaut JMX -   Interface par défaut IPMI

en-us	#### Remove token expiry  Remove expiry date from token.  Request:  ```json {     "jsonrpc": "2.0",     "method": "token.update",     "params": {         "tokenid": "2",         "expires_at": "0"     },     "auth": "038e1d7b1735c6a5436ee9eae095879e",     "id": 1 } ```  Response:  ```json {     "jsonrpc": "2.0",     "result": {         "tokenids": [             "2"         ]     },     "id": 1 } ```
fr	#### Renommer le token  Supprimer la date d'expiration du token.  Requête :  ```json {     "jsonrpc": "2.0",     "method": "token.update",     "params": {         "tokenid": "2",         "expires_at": "0"     },     "auth": "038e1d7b1735c6a5436ee9eae095879e",     "id": 1 } ```  Réponse :  ```json {     "jsonrpc": "2.0",     "result": {         "tokenids": [             "2"         ]     },     "id": 1 } ```

en-us	#### Removing hosts from host groups  Remove two hosts from the given host groups.  Request:  ``` {.java} {     "jsonrpc": "2.0",     "method": "hostgroup.massremove",     "params": {         "groupids": [             "5",             "6"         ],         "hostids": [             "30050",             "30001"         ]     },     "auth": "038e1d7b1735c6a5436ee9eae095879e",     "id": 1 } ```  Response:  ``` {.java} {     "jsonrpc": "2.0",     "result": {         "groupids": [             "5",             "6"         ]     },     "id": 1 } ```
fr	#### Suppression d'hôtes de groupes d'hôtes  Supprimez deux hôtes des groupes d'hôtes donnés.  Requête :  ``` {.java} {     "jsonrpc": "2.0",     "method": "hostgroup.massremove",     "params": {         "groupids": [             "5",             "6"         ],         "hostids": [             "30050",             "30001"         ]     },     "auth": "038e1d7b1735c6a5436ee9eae095879e",     "id": 1 } ```  Réponse :  ``` {.java} {     "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:  ``` {.java} {     "jsonrpc": "2.0",     "method": "hostinterface.massremove",     "params": {         "hostids": [             "30050",             "30052"         ],         "interfaces": {             "dns": "",             "ip": "127.0.0.1",             "port": "161"         }     },     "auth": "038e1d7b1735c6a5436ee9eae095879e",     "id": 1 } ```  Response:  ``` {.java} {     "jsonrpc": "2.0",     "result": {         "interfaceids": [             "30069",             "30070"         ]     },     "id": 1 } ```
fr	#### Suppression d'interfaces  Supprimez l'interface SNMP "127.0.0.1" de deux hôtes.  Requête :  ``` {.java} {     "jsonrpc": "2.0",     "method": "hostinterface.massremove",     "params": {         "hostids": [             "30050",             "30052"         ],         "interfaces": {             "dns": "",             "ip": "127.0.0.1",             "port": "161"         }     },     "auth": "038e1d7b1735c6a5436ee9eae095879e",     "id": 1 } ```  Réponse :  ``` {.java} {     "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 } ```
fr	#### Suppression de modèles d'un groupe  Supprimez deux modèles du groupe "2".  Requête :  ```json {     "jsonrpc": "2.0",     "method": "template.massremove",     "params": {         "templateids": [             "10085",             "10086"         ],         "groupids": "2"     },     "auth": "038e1d7b1735c6a5436ee9eae095879e",     "id": 1 } ```  Réponse :  ```json {     "jsonrpc": "2.0",     "result": {         "templateids": [             "10085",             "10086"         ]     },     "id": 1 } ```

en-us	#### Removing web server test page  It is recommended to remove the web server test page to avoid information exposure. By default, web server webroot contains a test page called index.html (Apache2 on Ubuntu is used as an example):  ![](../../../../assets/en/manual/installation/requirements/test_page.png)  The test page should be removed or should be made unavailable as part of the web server hardening process.
fr	#### Suppression de la page de test du serveur Web  Il est recommandé de supprimer la page de test du serveur Web pour éviter l'exposition d'informations. Par défaut, la racine du serveur Web contient une page de test appelée index.html (Apache2 sur Ubuntu est utilisé comme exemple) :  ![](../../../../assets/en/manual/installation/requirements/test_page.png)  La page de test doit être supprimée ou rendue indisponible dans le cadre du processus de renforcement du serveur Web.

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 } ```
fr	#### Renommer la carte d'icônes  Renommez une carte d'icônes en "OS icons".  Requête :  ```json {     "jsonrpc": "2.0",     "method": "iconmap.update",     "params": {         "iconmapid": "1",         "name": "OS icons"     },     "auth": "038e1d7b1735c6a5436ee9eae095879e",     "id": 1 } ```  Réponse :  ```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 } ```
fr	#### Renommer l'image  Renommez l'image en "Cloud icon".  Requête :  ```json {     "jsonrpc": "2.0",     "method": "image.update",     "params": {         "imageid": "2",         "name": "Cloud icon"     },     "auth": "038e1d7b1735c6a5436ee9eae095879e",     "id": 1 } ```  Réponse :  ```json {     "jsonrpc": "2.0",     "result": {         "imageids": [             "2"         ]     },     "id": 1 } ```

en-us	#### Renaming a dashboard  Rename a dashboard to "SQL server status".  Request:  ``` {.java} {     "jsonrpc": "2.0",     "method": "dashboard.update",     "params": {         "dashboardid": "2",         "name": "SQL server status"     },     "auth": "038e1d7b1735c6a5436ee9eae095879e",     "id": 1 } ```  Response:  ``` {.java} {     "jsonrpc": "2.0",     "result": {         "dashboardids": [             "2"         ]     },     "id": 1 } ```
fr	#### Renommage d'un tableau de bord  Renomme un tableau de bord en "Etat du serveur SQL".  Requête :  ``` {.java} {     "jsonrpc": "2.0",     "method": "dashboard.update",     "params": {         "dashboardid": "2",         "name": "SQL server status"     },     "auth": "038e1d7b1735c6a5436ee9eae095879e",     "id": 1 } ```  Réponse :  ``` {.java} {     "jsonrpc": "2.0",     "result": {         "dashboardids": [             "2"         ]     },     "id": 1 } ```

en-us	#### Renaming a host group  Rename a host group to "Linux hosts."  Request:  ``` {.java} {     "jsonrpc": "2.0",     "method": "hostgroup.update",     "params": {         "groupid": "7",         "name": "Linux hosts"     },     "auth": "700ca65537074ec963db7efabda78259",     "id": 1 } ```  Response:  ``` {.java} {     "jsonrpc": "2.0",     "result": {         "groupids": [             "7"         ]     },     "id": 1 } ```
fr	#### Renommer un groupe d'hôtes  Renommer un groupe d'hôtes en "Linux hosts."  Requête :  ``` {.java} {     "jsonrpc": "2.0",     "method": "hostgroup.update",     "params": {         "groupid": "7",         "name": "Linux hosts"     },     "auth": "700ca65537074ec963db7efabda78259",     "id": 1 } ```  Réponse :  ``` {.java} {     "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 } ```
fr	#### Renommer un modèle de tableau de bord  Renommez un modèle de tableau de bord en "Performance graphs".  Requête :  ```json {     "jsonrpc": "2.0",     "method": "templatedashboard.update",     "params": {         "dashboardid": "23",         "name": "Performance graphs"     },     "auth": "038e1d7b1735c6a5436ee9eae095879e",     "id": 1 } ```  Réponse :  ```json {     "jsonrpc": "2.0",     "result": {         "dashboardids": [             "23"         ]     },     "id": 1 } ```

en-us	#### Renaming a template  Rename the template to "Template OS Linux".  Request:  ```json {     "jsonrpc": "2.0",     "method": "template.update",     "params": {         "templateid": "10086",         "name": "Template OS Linux"     },     "auth": "038e1d7b1735c6a5436ee9eae095879e",     "id": 1 } ```  Response:  ```json {     "jsonrpc": "2.0",     "result": {         "templateids": [             "10086"         ]     },     "id": 1 } ```
fr	#### Renommer un modèle  Renommez le modèle en "Template OS Linux".  Requête :  ```json {     "jsonrpc": "2.0",     "method": "template.update",     "params": {         "templateid": "10086",         "name": "Template OS Linux"     },     "auth": "038e1d7b1735c6a5436ee9eae095879e",     "id": 1 } ```  Réponse :  ```json {     "jsonrpc": "2.0",     "result": {         "templateids": [             "10086"         ]     },     "id": 1 } ```

en-us	#### Renaming a user  Rename a user to John Doe.  Request:  ``` {.java} {     "jsonrpc": "2.0",     "method": "user.update",     "params": {         "userid": "1",         "name": "John",         "surname": "Doe"     },     "auth": "038e1d7b1735c6a5436ee9eae095879e",     "id": 1 } ```  Response:  ``` {.java} {     "jsonrpc": "2.0",     "result": {         "userids": [             "1"         ]     },     "id": 1 } ```
fr	#### Renommer un utilisateur  Renommez un utilisateur en John Doe.  Requête :  ``` {.java} {     "jsonrpc": "2.0",     "method": "user.update",     "params": {         "userid": "1",         "name": "John",         "surname": "Doe"     },     "auth": "038e1d7b1735c6a5436ee9eae095879e",     "id": 1 } ```  Réponse :  ``` {.java} {     "jsonrpc": "2.0",     "result": {         "userids": [             "1"         ]     },     "id": 1 } ```

en-us	#### Replace conditions, but keep the evaluation method  Request:  ``` {.java} {     "jsonrpc": "2.0",     "method": "correlation.update",     "params": {         "correlationid": "1",         "filter": {             "conditions": [                 {                     "type": 3,                     "oldtag": "error",                     "newtag": "ok"                 }             ]         }     },     "auth": "343baad4f88b4106b9b5961e77437688",     "id": 1 } ```  Response:  ``` {.java} {     "jsonrpc": "2.0",     "result": {         "correlationids": [             "1"         ]     },     "id": 1 } ```
fr	#### Remplacement de conditions, en conservant la méthode d'évaluation  Requête :  ``` {.java} {  "jsonrpc": "2.0",  "method": "correlation.update",  "params": {  "correlationid": "1",  "filter": {  "conditions": [  {  "type": 3,  "oldtag": "error",  "newtag": "ok"  }  ]  }  },  "auth": "343baad4f88b4106b9b5961e77437688",  "id": 1 } ```  Réponse :  ``` {.java} {  "jsonrpc": "2.0",  "result": {  "correlationids": [  "1"  ]  },  "id": 1 } ```

en-us	#### Replacing host groups  Unlink and clear template "10091" from the given templates.  Request:  ```json {     "jsonrpc": "2.0",     "method": "template.massupdate",     "params": {         "templates": [             {                 "templateid": "10085"             },             {                 "templateid": "10086"             }         ],         "templates_clear": [             {                 "templateid": "10091"             }         ]     },     "auth": "038e1d7b1735c6a5436ee9eae095879e",     "id": 1 } ```  Response:  ```json {     "jsonrpc": "2.0",     "result": {         "templateids": [             "10085",             "10086"         ]     },     "id": 1 } ```
fr	#### Remplacement des groupes d'hôtes  Dissociez et effacez le modèle "10091" des modèles donnés.  Requête :  ```json {     "jsonrpc": "2.0",     "method": "template.massupdate",     "params": {         "templates": [             {                 "templateid": "10085"             },             {                 "templateid": "10086"             }         ],         "templates_clear": [             {                 "templateid": "10091"             }         ]     },     "auth": "038e1d7b1735c6a5436ee9eae095879e",     "id": 1 } ```  Réponse :  ```json {     "jsonrpc": "2.0",     "result": {         "templateids": [             "10085",             "10086"         ]     },     "id": 1 } ```

en-us	#### Replacing host interfaces  Replace all host interfaces with a single agent interface.  Request:  ``` {.java} {     "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:  ``` {.java} {     "jsonrpc": "2.0",     "result": {         "interfaceids": [             "30081"         ]     },     "id": 1 } ```
fr	#### Remplacement des interfaces hôtes  Remplacez toutes les interfaces hôtes par une seule interface agent.  Requête :  ``` {.java} {     "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 } ```  Réponse :  ``` {.java} {     "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 } ```
fr	#### Remplacement d'hôtes et de modèles dans un groupe d'hôtes  Remplacez tous les hôtes d'un groupe d'hôtes par ceux mentionnés et dissociez tous les modèles du groupe d'hôtes.  Requête :  ```json {     "jsonrpc": "2.0",     "method": "hostgroup.massupdate",     "params": {         "groups": [             {                 "groupid": "6"             }         ],         "hosts": [             {                 "hostid": "30050"             }         ],         "templates": []     },     "auth": "f223adf833b2bf2ff38574a67bba6372",     "id": 1 } ```  Réponse :  ```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 } ```
fr	#### Remplacement des tags de prototype de déclencheur  Remplacement des tags d'un prototype de déclencheur.  Requête :  ```json {     "jsonrpc": "2.0",     "method": "triggerprototype.update",     "params": {         "triggerid": "17373",         "tags": [             {                 "tag": "volume",                 "value": "{#FSNAME}"             },             {                 "tag": "type",                 "value": "{#FSTYPE}"             }         ]     },     "auth": "038e1d7b1735c6a5436ee9eae095879e",     "id": 1 } ```  Réponse :  ```json {     "jsonrpc": "2.0",     "result": {         "triggerids": [             "17373"         ]     },     "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 } ```
fr	#### Remplacement des tags des déclencheurs  Remplacement des tags des déclencheurs.  Requête :  ```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 } ```  Réponse :  ```json {  "jsonrpc": "2.0",  "result": {  "triggerids": [  "13938"  ]  },  "id": 1 } ```

en-us	# report.create
fr	# report.create

en-us	# report.delete  
fr	# report.delete  

en-us	# report.get
fr	# report.get

en-us	 ### Reporting file systems with zero inodes  `vfs.fs.get` agent items are now capable of reporting file systems with the inode count equal to zero, which can be the case for file systems with dynamic inodes (e.g. btrfs).  Additionally `vfs.fs.inode` items now will not become unsupported in such cases with mode set to 'pfree' or 'pused'. Instead the pfree/pused values for such file systems will be reported as "100" and "0" respectively.
fr	  ### Signaler des systèmes de fichiers sans inode   Les éléments d'agent `vfs.fs.get` sont désormais capables de signaler les systèmes de fichiers avec un nombre d'inode égal à zéro, ce qui peut être le cas pour les systèmes de fichiers avec des inodes dynamiques (par exemple, btrfs).  De plus, les éléments `vfs.fs.inode` ne deviendront plus non pris en charge dans de tels cas avec le mode défini sur 'pfree' ou 'pused'. Au lieu de cela, les valeurs pfree/pused pour de tels systèmes de fichiers seront transmises comme "100" et "0" respectivement.

en-us	# > Report object  The following objects are directly related to the `report` API.
fr	# > Objet Rapport  Les objets suivants sont directement liés à l'API `report`.

en-us	 ### Report  The filter allows to select the report based on the SLA name as well as the  service name. It is also possible to limit the displayed period.  ![](../../../../../assets/en/manual/web_interface/sla_report.png){width="600"}  Each column (period) displays the SLI for that period. SLIs that are in breach of the set  SLO are highlighted in red.  20 periods are displayed in the report. A maximum of 100 periods can be displayed, if  both the *From* date and *To* date are specified. 
fr	### Rapport  Le filtre permet de sélectionner le rapport en fonction du nom du SLA ainsi que du nom du service. Il est également possible de limiter la période affichée.  ![](../../../../../assets/en/manual/web_interface/sla_report.png){width="600"}  Chaque colonne (période) affiche le SLI pour cette période. Les SLI qui ne respectent pas le SLO défini sont surlignés en rouge.  20 périodes sont affichées dans le rapport. Un maximum de 100 périodes peuvent être affichées, si la date *De* et la date *À* sont spécifiées.

en-us	### Report  The report object has the following properties:  |Property|[Type](/manual/api/reference_commentary#data_types)|Description| |--|--|------| |reportid|string|*(readonly)* ID of the report.| |**userid**<br>(required)|string|ID of the user who created the report.| |**name**<br>(required)|string|Unique name of the report.| |**dashboardid**<br>(required)|string|ID of the dashboard that the report is based on.| |period|integer|Period for which the report will be prepared.<br><br>Possible values:<br>0 - *(default)* previous day;<br>1 - previous week;<br>2 - previous month;<br>3 - previous year.| |cycle|integer|Period repeating schedule.<br><br>Possible values:<br>0 - *(default)* daily;<br>1 - weekly;<br>2 - monthly;<br>3 - yearly.| |start\_time|integer|Time of the day, in seconds, when the report will be prepared for sending.<br><br>Default: 0.| |weekdays|integer|Days of the week for sending the report.<br><br>Required for weekly reports only.<br><br>Days of the week are stored in binary form with each bit representing the corresponding week day. For example, 12 equals 1100 in binary and means that reports will be sent every Wednesday and Thursday.<br><br>Default: 0.| |active\_since|string|On which date to start.<br><br>Possible values:<br>empty string - *(default)* not specified (stored as 0);<br>specific date in YYYY-MM-DD format (stored as a timestamp of the beginning of a day (00:00:00)).| |active\_till|string|On which date to end.<br><br>Possible values:<br>empty string - *(default)* not specified (stored as 0);<br>specific date in YYYY-MM-DD format (stored as a timestamp of the end of a day (23:59:59)).| |subject|string|Report message subject.| |message|string|Report message text.| |status|integer|Whether the report is enabled or disabled.<br><br>Possible values:<br>0 - Disabled;<br>1 - *(default)* Enabled.| |description|text|Description of the report.| |state|integer|*(readonly)* State of the report.<br><br>Possible values:<br>0 - *(default)* report was not yet processed;<br>1 - report was generated and successfully sent to all recipients;<br>2 - report generating failed; "info" contains error information;<br>3 - report was generated, but sending to some (or all) recipients failed; "info" contains error information.| |lastsent|timestamp|*(readonly)* Unix timestamp of the last successfully sent report.| |info|string|*(readonly)* Error description or additional information.|  Note that for some methods (update, delete) the required/optional parameter combination is different.
fr	### Rapport  L'objet de rapport a les propriétés suivantes :  |Propriété|[Type](/manual/api/reference_commentary#data_types)|Description| |--|--|------| |reportid|string|*(lecture seule)* ID du rapport.| |**userid**<br>(obligatoire)|string|ID de l'utilisateur qui a créé le rapport.| |**name**<br>(obligatoire)|string|Nom unique du rapport.| |**dashboardid**<br>(obligatoire)|string|ID du tableau de bord sur lequel le rapport est basé.| |period|integer|Période pour laquelle le rapport sera préparé.<br><br>Valeurs possibles :<br>0 - *(par défaut)* jour précédent ;<br>1 - semaine précédente ;<br>2 - précédent mois ;<br>3 - année précédente.| |cycle|integer|Programmation de répétition de la période.<br><br>Valeurs possibles :<br>0 - *(par défaut)* quotidien ;<br>1 - hebdomadaire ;<br>2 - mensuel ;<br>3 - annuel .| |start\_time|integer|Heure du jour, en secondes, à laquelle le rapport sera préparé pour l'envoi.<br><br>Par défaut : 0.| |weekdays|integer|Jours de la semaine pour l'envoi du rapport.<br><br>Requis pour les rapports hebdomadaires uniquement.<br><br>Les jours de la semaine sont stockés sous forme binaire, chaque bit représentant le jour de la semaine correspondant. Par exemple, 12 est égal à 1100 en binaire et signifie que les rapports seront envoyés tous les mercredis et jeudis.<br><br>Par défaut : 0.| |active\_since|string|À quelle date commencer.<br><br>Valeurs possibles :<br>chaîne vide - *(par défaut)* non spécifié (stocké sous la forme 0) ;<br>date spécifique au format YYYY-MM-DD (stocké comme horodatage du début de la journée (00:00:00)).| |active\_till|string|À quelle date se terminer.<br><br>Valeurs possibles :<br>chaîne vide - *(par défaut)* non spécifié (stocké sous la forme 0) ;<br>date spécifique au format YYYY-MM-DD (stocké sous la forme d'un horodatage de fin de la journée (23:59:59)).| |subject|string|Sujet du message du rapport.| |message|string|Texte du message du rapport.| |status|integer|Indique sile rapport est activé ou désactivé.<br><br>Valeurs possibles :<br>0 - Désactivé ;<br>1 - *(par défaut)* Activé.| |description|texte|Description du rapport.| |state|integer|*(lecture seule)* État du rapport.<br><br>Valeurs possibles :<br>0 - *(par défaut)* le rapport n'a pas encore été traité ;<br>1 - le rapport a été généré avec succès envoyé à tous les destinataires ;<br>2 - échec de la génération du rapport ; "info" contient des informations d'erreur ;<br>3 - le rapport a été généré, mais l'envoi à certains (ou à tous) destinataires a échoué ; "info" contient des informations d'erreur.| |lastsent|timestamp|*(lecture seule)* Horodatage Unix du dernier rapport envoyé avec succès.| |info|string|*(lecture seule)* Description de l'erreur ou informations supplémentaires.|  Notez que pour certaines méthodes (mise à jour, suppression) la combinaison de paramètres requise/optionnelle est différente.

en-us	# Report  This class is designed to work with scheduled reports.  Object references:\  -   [Report](/manual/api/reference/report/object#report) -   [Users](/manual/api/reference/report/object#users) -   [User groups](/manual/api/reference/report/object#user_groups)  Available methods:\  -   [report.create](/manual/api/reference/report/create) - create new     scheduled reports -   [report.delete](/manual/api/reference/report/delete) - delete     scheduled reports -   [report.get](/manual/api/reference/report/get) - retrieve scheduled     reports -   [report.update](/manual/api/reference/report/update) - update     scheduled reports  
fr	# Rapport  Cette classe est conçue pour travailler avec les rapports.  Référentiel des objets :\  -   [Rapport](/manual/api/reference/report/object#report) -   [Utilisateurs](/manual/api/reference/report/object#users) -   [Groupes d'utilisateur](/manual/api/reference/report/object#user_groups)  Méthodes disponibles :\  -   [report.create](/manual/api/reference/report/create) - créer de nouveaux rapports programmés -   [report.delete](/manual/api/reference/report/delete) - supprimer des rapports programmés -   [report.get](/manual/api/reference/report/get) - récupérer des rapports programmés -   [report.update](/manual/api/reference/report/update) - mettre à jour des rapports programmés  

en-us	# report.update
fr	# report.update

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
fr	##### - Dépôts  Le [dépôt](/manual/installation/install_from_packages/rhel) officiel de Zabbix a été ajouté à */etc/yum.repos.d* :      [zabbix]     name=Zabbix Official Repository - $basearch     baseurl=http://repo.zabbix.com/zabbix/5.2/rhel/8/$basearch/     enabled=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 } ```
fr	Requête :  ```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 } ```  Réponse :  ```json {     "jsonrpc": "2.0",     "result": {         "slaids": [             "5"         ]     },     "id": 1 } ```

en-us	### Required mode
fr	### Mode requis

en-us	### Required mode
fr	### Mode requis

en-us	#### Required software  Zabbix is built around modern web servers, leading database engines, and PHP scripting language.
fr	#### Logiciels requis  Zabbix est construit autour de serveurs Web modernes, de moteurs de base de données de pointe et du langage de script PHP.

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. 
fr	##### Spécifications  Les éléments suivants sont requis pour configurer le chiffrement :  - Le système d'exploitation pris en charge par les développeurs avec OpenSSL >=1.1.X ou alternative.  ::: noteclassic  Il est recommandé d'éviter les systèmes d'exploitation en fin de vie, en particulier dans le cas de nouvelles installations :::  - Le moteur de base de données (RDBMS) installé et maintenu à partir du référentiel officiel fourni par le développeur. Les systèmes d'exploitation sont souvent livrés avec des versions de logiciels de base de données obsolètes pour lesquelles la prise en charge du chiffrement n'est pas mise en œuvre, par exemple les systèmes basés sur RHEL 7 et PostgreSQL 9.2, MariaDB 5.5 sans prise en charge du chiffrement.

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").
fr	### Valeur d'ID réservée "0"  La valeur d'ID réservée "0" peut être utilisée pour filtrer des éléments et pour supprimer des objets référencés. Par exemple, pour supprimer un proxy référencé d'un hôte, proxy\_hostid doit être défini sur 0 ("proxy\_hostid": "0") ou pour filtrer les hôtes surveillés par le serveur, l'option proxyids doit être définie sur 0 ("proxyids": "0").

en-us	#### Resize a map  Change the size of the map to 1200x1200 pixels.  Request:  ```json {     "jsonrpc": "2.0",     "method": "map.update",     "params": {         "sysmapid": "8",         "width": 1200,         "height": 1200     },     "auth": "038e1d7b1735c6a5436ee9eae095879e",     "id": 1 } ```  Response:  ```json {     "jsonrpc": "2.0",     "result": {         "sysmapids": [             "8"         ]     },     "id": 1 } ```
fr	#### Redimensionnement d'une carte  Changer la taille de la carte en 1200x1200 pixels.  Requête :  ```json {     "jsonrpc": "2.0",     "method": "map.update",     "params": {         "sysmapid": "8",         "width": 1200,         "height": 1200     },     "auth": "038e1d7b1735c6a5436ee9eae095879e",     "id": 1 } ```  Réponse :  ```json {     "jsonrpc": "2.0",     "result": {         "sysmapids": [             "8"         ]     },     "id": 1 } ```

en-us	#### Retrieve alerts by action ID  Retrieve all alerts generated by action "3".  Request:  ``` {.java} {     "jsonrpc": "2.0",     "method": "alert.get",     "params": {         "output": "extend",         "actionids": "3"     },     "auth": "038e1d7b1735c6a5436ee9eae095879e",     "id": 1 } ```  Response:  ``` {.java} {     "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 } ```
fr	#### Récupérer les alertes par identifiant d'action  Récupérer tous les alertes générées par l'action "3".  Requête :  ``` {.java} {     "jsonrpc": "2.0",     "method": "alert.get",     "params": {         "output": "extend",         "actionids": "3"     },     "auth": "038e1d7b1735c6a5436ee9eae095879e",     "id": 1 } ```  Réponse :  ``` {.java} {     "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 } ```

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 } ```
fr	#### Récupération de toutes les règles de découverte  Récupérer toutes les règles de découverte configurées et les vérifications de découverte qu'elles utilisent.  Requête :  ```json {     "jsonrpc": "2.0",     "method": "drule.get",     "params": {         "output": "extend",         "selectDChecks": "extend"     },     "auth": "038e1d7b1735c6a5436ee9eae095879e",     "id": 1 } ```  Réponse :  ```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 all proxies  Retrieve all configured proxies and their interfaces.  Request:  ```json {     "jsonrpc": "2.0",     "method": "proxy.get",     "params": {         "output": "extend",         "selectInterface": "extend"     },     "auth": "038e1d7b1735c6a5436ee9eae095879e",     "id": 1 } ```  Response:  ```json {     "jsonrpc": "2.0",     "result": [         {             "host": "Active proxy",             "status": "5",             "lastaccess": "0",             "description": "",             "tls_connect": "1",             "tls_accept": "1",             "tls_issuer": "",             "tls_subject": "",             "proxy_address": "",             "auto_compress": "0",             "proxyid": "30091",             "interface": []         },         {             "host": "Passive proxy",             "status": "6",             "lastaccess": "0",             "description": "",             "tls_connect": "1",             "tls_accept": "1",             "tls_issuer": "",             "tls_subject": "",             "proxy_address": "",             "auto_compress": "0",             "proxyid": "30092",             "interface": {                 "interfaceid": "30109",                 "hostid": "30092",                 "useip": "1",                 "ip": "127.0.0.1",                 "dns": "",                 "port": "10051"             ]         }     ],     "id": 1 } ```
fr	#### Récupérer tous les proxys  Récupérez tous les proxys configurés et leurs interfaces.  Requête :  ```json {     "jsonrpc": "2.0",     "method": "proxy.get",     "params": {         "output": "extend",         "selectInterface": "extend"     },     "auth": "038e1d7b1735c6a5436ee9eae095879e",     "id": 1 } ```  Réponse :  ```json {     "jsonrpc": "2.0",     "result": [         {             "host": "Active proxy",             "status": "5",             "lastaccess": "0",             "description": "",             "tls_connect": "1",             "tls_accept": "1",             "tls_issuer": "",             "tls_subject": "",             "proxy_address": "",             "auto_compress": "0",             "proxyid": "30091",             "interface": []         },         {             "host": "Passive proxy",             "status": "6",             "lastaccess": "0",             "description": "",             "tls_connect": "1",             "tls_accept": "1",             "tls_issuer": "",             "tls_subject": "",             "proxy_address": "",             "auto_compress": "0",             "proxyid": "30092",             "interface": {                 "interfaceid": "30109",                 "hostid": "30092",                 "useip": "1",                 "ip": "127.0.0.1",                 "dns": "",                 "port": "10051"             ]         }     ],     "id": 1 } ```

en-us	#### Retrieve all scripts  Retrieve all configured scripts.  Request:  ```json {     "jsonrpc": "2.0",     "method": "script.get",     "params": {         "output": "extend"     },     "auth": "038e1d7b1735c6a5436ee9eae095879e",     "id": 1 } ```  Response:  ```json {     "jsonrpc": "2.0",     "result": [             {             "scriptid": "1",             "name": "Ping",             "command": "/bin/ping -c 3 {HOST.CONN} 2>&1",             "host_access": "2",             "usrgrpid": "0",             "groupid": "0",             "description": "",             "confirmation": "",             "type": "0",             "execute_on": "1",             "timeout": "30s",             "parameters": []         },         {             "scriptid": "2",             "name": "Traceroute",             "command": "/usr/bin/traceroute {HOST.CONN} 2>&1",             "host_access": "2",             "usrgrpid": "0",             "groupid": "0",             "description": "",             "confirmation": "",             "type": "0",             "execute_on": "1",             "timeout": "30s",             "parameters": []         },         {             "scriptid": "3",             "name": "Detect operating system",             "command": "sudo /usr/bin/nmap -O {HOST.CONN} 2>&1",             "host_access": "2",             "usrgrpid": "7",             "groupid": "0",             "description": "",             "confirmation": "",             "type": "0",             "execute_on": "1",             "timeout": "30s",             "parameters": []         },         {             "scriptid": "4",             "name": "Webhook",             "command": "try {\n var request = new HttpRequest(),\n response,\n data;\n\n request.addHeader('Content-Type: application/json');\n\n response = request.post('https://localhost/post', value);\n\n try {\n response = JSON.parse(response);\n }\n catch (error) {\n response = null;\n }\n\n if (request.getStatus() !== 200 || !('data' in response)) {\n throw 'Unexpected response.';\n }\n\n data = JSON.stringify(response.data);\n\n Zabbix.Log(3, '[Webhook Script] response data: ' + data);\n\n return data;\n}\ncatch (error) {\n Zabbix.Log(3, '[Webhook Script] script execution failed: ' + error);\n throw 'Execution failed: ' + error + '.';\n}",             "host_access": "2",             "usrgrpid": "7",             "groupid": "0",             "description": "",             "confirmation": "",             "type": "5",             "execute_on": "1",             "timeout": "30s",             "parameters": [                 {                     "name": "token",                     "value": "{$WEBHOOK.TOKEN}"                 },                 {                     "name": "host",                     "value": "{HOST.HOST}"                 },                 {                     "name": "v",                     "value": "2.2"                 }             ]         }     ],     "id": 1 } ```
fr	#### Récupération de tous les scripts  Récupérez tous les scripts configurés.  Requête :  ```json {     "jsonrpc": "2.0",     "method": "script.get",     "params": {         "output": "extend"     },     "auth": "038e1d7b1735c6a5436ee9eae095879e",     "id": 1 } ```  Réponse :  ```json {     "jsonrpc": "2.0",     "result": [             {             "scriptid": "1",             "name": "Ping",             "command": "/bin/ping -c 3 {HOST.CONN} 2>&1",             "host_access": "2",             "usrgrpid": "0",             "groupid": "0",             "description": "",             "confirmation": "",             "type": "0",             "execute_on": "1",             "timeout": "30s",             "parameters": []         },         {             "scriptid": "2",             "name": "Traceroute",             "command": "/usr/bin/traceroute {HOST.CONN} 2>&1",             "host_access": "2",             "usrgrpid": "0",             "groupid": "0",             "description": "",             "confirmation": "",             "type": "0",             "execute_on": "1",             "timeout": "30s",             "parameters": []         },         {             "scriptid": "3",             "name": "Detect operating system",             "command": "sudo /usr/bin/nmap -O {HOST.CONN} 2>&1",             "host_access": "2",             "usrgrpid": "7",             "groupid": "0",             "description": "",             "confirmation": "",             "type": "0",             "execute_on": "1",             "timeout": "30s",             "parameters": []         },         {             "scriptid": "4",             "name": "Webhook",             "command": "try {\n var request = new HttpRequest(),\n response,\n data;\n\n request.addHeader('Content-Type: application/json');\n\n response = request.post('https://localhost/post', value);\n\n try {\n response = JSON.parse(response);\n }\n catch (error) {\n response = null;\n }\n\n if (request.getStatus() !== 200 || !('data' in response)) {\n throw 'Unexpected response.';\n }\n\n data = JSON.stringify(response.data);\n\n Zabbix.Log(3, '[Webhook Script] response data: ' + data);\n\n return data;\n}\ncatch (error) {\n Zabbix.Log(3, '[Webhook Script] script execution failed: ' + error);\n throw 'Execution failed: ' + error + '.';\n}",             "host_access": "2",             "usrgrpid": "7",             "groupid": "0",             "description": "",             "confirmation": "",             "type": "5",             "execute_on": "1",             "timeout": "30s",             "parameters": [                 {                     "name": "token",                     "value": "{$WEBHOOK.TOKEN}"                 },                 {                     "name": "host",                     "value": "{HOST.HOST}"                 },                 {                     "name": "v",                     "value": "2.2"                 }             ]         }     ],     "id": 1 } ```

en-us	#### Retrieve a map  Retrieve all data about map "3".  Request:  ```json {     "jsonrpc": "2.0",     "method": "map.get",     "params": {         "output": "extend",         "selectSelements": "extend",         "selectLinks": "extend",         "selectUsers": "extend",         "selectUserGroups": "extend",         "selectShapes": "extend",         "selectLines": "extend",         "sysmapids": "3"     },     "auth": "038e1d7b1735c6a5436ee9eae095879e",     "id": 1 } ```  Response:  ```json {     "jsonrpc": "2.0",     "result": [         {             "selements": [                 {                     "selementid": "10",                     "sysmapid": "3",                     "elementtype": "4",                     "evaltype": "0",                     "iconid_off": "1",                     "iconid_on": "0",                     "label": "Zabbix server",                     "label_location": "3",                     "x": "11",                     "y": "141",                     "iconid_disabled": "0",                     "iconid_maintenance": "0",                     "elementsubtype": "0",                     "areatype": "0",                     "width": "200",                     "height": "200",                     "tags": [                         {                             "tag": "service",                             "value": "mysqld",                             "operator": "0"                         }                     ],                     "viewtype": "0",                     "use_iconmap": "1",                     "urls": [],                     "elements": []                 },                 {                     "selementid": "11",                     "sysmapid": "3",                     "elementtype": "4",                     "evaltype": "0",                     "iconid_off": "1",                     "iconid_on": "0",                     "label": "Web server",                     "label_location": "3",                     "x": "211",                     "y": "191",                     "iconid_disabled": "0",                     "iconid_maintenance": "0",                     "elementsubtype": "0",                     "areatype": "0",                     "width": "200",                     "height": "200",                     "viewtype": "0",                     "use_iconmap": "1",                     "tags": [],                     "urls": [],                     "elements": []                 },                 {                     "selementid": "12",                     "sysmapid": "3",                     "elementtype": "0",                     "evaltype": "0",                     "iconid_off": "185",                     "iconid_on": "0",                     "label": "{HOST.NAME}\r\n{HOST.CONN}",                     "label_location": "0",                     "x": "111",                     "y": "61",                     "iconid_disabled": "0",                     "iconid_maintenance": "0",                     "elementsubtype": "0",                     "areatype": "0",                     "width": "200",                     "height": "200",                     "viewtype": "0",                     "use_iconmap": "0",                     "tags": [],                     "urls": [],                     "elements": [                         {                             "hostid": "10084"                         }                     ]                 }             ],             "links": [                 {                     "linkid": "23",                     "sysmapid": "3",                     "selementid1": "10",                     "selementid2": "11",                     "drawtype": "0",                     "color": "00CC00",                     "label": "",                     "linktriggers": []                 }             ],             "users": [                 {                     "sysmapuserid": "1",                     "userid": "2",                     "permission": "2"                 }             ],             "userGroups": [                 {                     "sysmapusrgrpid": "1",                     "usrgrpid": "7",                     "permission": "2"                 }             ],             "shapes":[                   {                       "sysmap_shapeid":"1",                     "type":"0",                     "x":"0",                     "y":"0",                     "width":"680",                     "height":"15",                     "text":"{MAP.NAME}",                     "font":"9",                     "font_size":"11",                     "font_color":"000000",                     "text_halign":"0",                     "text_valign":"0",                     "border_type":"0",                     "border_width":"0",                     "border_color":"000000",                     "background_color":"",                     "zindex":"0"                 }             ],             "lines":[                 {                     "sysmap_shapeid":"2",                     "x1": 30,                     "y1": 10,                     "x2": 100,                     "y2": 50,                     "line_type": 1,                     "line_width": 10,                     "line_color": "009900",                     "zindex":"1"                 }             ],             "sysmapid": "3",             "name": "Local network",             "width": "400",             "height": "400",             "backgroundid": "0",             "label_type": "2",             "label_location": "3",             "highlight": "1",             "expandproblem": "1",             "markelements": "0",             "show_unack": "0",             "grid_size": "50",             "grid_show": "1",             "grid_align": "1",             "label_format": "0",             "label_type_host": "2",             "label_type_hostgroup": "2",             "label_type_trigger": "2",             "label_type_map": "2",             "label_type_image": "2",             "label_string_host": "",             "label_string_hostgroup": "",             "label_string_trigger": "",             "label_string_map": "",             "label_string_image": "",             "iconmapid": "0",             "expand_macros": "0",             "severity_min": "0",             "userid": "1",             "private": "1",             "show_suppressed": "1"         }     ],     "id": 1 } ```
fr	 #### Récupération d'une carte  Récupérer toutes les données concernant la carte "3".  Requête :  ```json {     "jsonrpc": "2.0",     "method": "map.get",     "params": {         "output": "extend",         "selectSelements": "extend",         "selectLinks": "extend",         "selectUsers": "extend",         "selectUserGroups": "extend",         "selectShapes": "extend",         "selectLines": "extend",         "sysmapids": "3"     },     "auth": "038e1d7b1735c6a5436ee9eae095879e",     "id": 1 } ```  Réponse :  ```json {     "jsonrpc": "2.0",     "result": [         {             "selements": [                 {                     "selementid": "10",                     "sysmapid": "3",                     "elementtype": "4",                     "evaltype": "0",                     "iconid_off": "1",                     "iconid_on": "0",                     "label": "Zabbix server",                     "label_location": "3",                     "x": "11",                     "y": "141",                     "iconid_disabled": "0",                     "iconid_maintenance": "0",                     "elementsubtype": "0",                     "areatype": "0",                     "width": "200",                     "height": "200",                     "tags": [                         {                             "tag": "service",                             "value": "mysqld",                             "operator": "0"                         }                     ],                     "viewtype": "0",                     "use_iconmap": "1",                     "urls": [],                     "elements": []                 },                 {                     "selementid": "11",                     "sysmapid": "3",                     "elementtype": "4",                     "evaltype": "0",                     "iconid_off": "1",                     "iconid_on": "0",                     "label": "Web server",                     "label_location": "3",                     "x": "211",                     "y": "191",                     "iconid_disabled": "0",                     "iconid_maintenance": "0",                     "elementsubtype": "0",                     "areatype": "0",                     "width": "200",                     "height": "200",                     "viewtype": "0",                     "use_iconmap": "1",                     "tags": [],                     "urls": [],                     "elements": []                 },                 {                     "selementid": "12",                     "sysmapid": "3",                     "elementtype": "0",                     "evaltype": "0",                     "iconid_off": "185",                     "iconid_on": "0",                     "label": "{HOST.NAME}\r\n{HOST.CONN}",                     "label_location": "0",                     "x": "111",                     "y": "61",                     "iconid_disabled": "0",                     "iconid_maintenance": "0",                     "elementsubtype": "0",                     "areatype": "0",                     "width": "200",                     "height": "200",                     "viewtype": "0",                     "use_iconmap": "0",                     "tags": [],                     "urls": [],                     "elements": [                         {                             "hostid": "10084"                         }                     ]                 }             ],             "links": [                 {                     "linkid": "23",                     "sysmapid": "3",                     "selementid1": "10",                     "selementid2": "11",                     "drawtype": "0",                     "color": "00CC00",                     "label": "",                     "linktriggers": []                 }             ],             "users": [                 {                     "sysmapuserid": "1",                     "userid": "2",                     "permission": "2"                 }             ],             "userGroups": [                 {                     "sysmapusrgrpid": "1",                     "usrgrpid": "7",                     "permission": "2"                 }             ],             "shapes":[                   {                       "sysmap_shapeid":"1",                     "type":"0",                     "x":"0",                     "y":"0",                     "width":"680",                     "height":"15",                     "text":"{MAP.NAME}",                     "font":"9",                     "font_size":"11",                     "font_color":"000000",                     "text_halign":"0",                     "text_valign":"0",                     "border_type":"0",                     "border_width":"0",                     "border_color":"000000",                     "background_color":"",                     "zindex":"0"                 }             ],             "lines":[                 {                     "sysmap_shapeid":"2",                     "x1": 30,                     "y1": 10,                     "x2": 100,                     "y2": 50,                     "line_type": 1,                     "line_width": 10,                     "line_color": "009900",                     "zindex":"1"                 }             ],             "sysmapid": "3",             "name": "Local network",             "width": "400",             "height": "400",             "backgroundid": "0",             "label_type": "2",             "label_location": "3",             "highlight": "1",             "expandproblem": "1",             "markelements": "0",             "show_unack": "0",             "grid_size": "50",             "grid_show": "1",             "grid_align": "1",             "label_format": "0",             "label_type_host": "2",             "label_type_hostgroup": "2",             "label_type_trigger": "2",             "label_type_map": "2",             "label_type_image": "2",             "label_string_host": "",             "label_string_hostgroup": "",             "label_string_trigger": "",             "label_string_map": "",             "label_string_image": "",             "iconmapid": "0",             "expand_macros": "0",             "severity_min": "0",             "userid": "1",             "private": "1",             "show_suppressed": "1"         }     ],     "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 } ```
fr	#### Récupération d'une carte d'icônes  Récupérez toutes les données sur la carte d'icônes "3".  Requête :  ```json {     "jsonrpc": "2.0",     "method": "iconmap.get",     "params": {         "iconmapids": "3",         "output": "extend",         "selectMappings": "extend"     },     "auth": "038e1d7b1735c6a5436ee9eae095879e",     "id": 1 } ```  Réponse :  ```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 } ```
fr	#### Récupérer une image  Récupérez toutes les données de l'image avec l'ID "2".  Requête :  ```json {     "jsonrpc": "2.0",     "method": "image.get",     "params": {         "output": "extend",         "select_image": true,         "imageids": "2"     },     "auth": "038e1d7b1735c6a5436ee9eae095879e",     "id": 1 } ```  Réponse :  ```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 } ```

en-us	#### Retrieve a token  Retrieve all data for the token with ID "2".  Request:  ```json {     "jsonrpc": "2.0",     "method": "token.get",     "params": {         "output": "extend",         "tokenids": "2"     },     "auth": "038e1d7b1735c6a5436ee9eae095879e",     "id": 1 } ```  Response:  ```json {     "jsonrpc": "2.0",     "result": [         {             "tokenid": "1",             "name": "The Token",             "description": "",             "userid": "1",             "lastaccess": "0",             "status": "0",             "expires_at": "1609406220",             "created_at": "1611239454",             "creator_userid": "1"         }     ],     "id": 1 } ```
fr	 #### Récupération d'un token  Récupérez toutes les données du token avec l'ID "2".  Requête :  ```json {     "jsonrpc": "2.0",     "method": "token.get",     "params": {         "output": "extend",         "tokenids": "2"     },     "auth": "038e1d7b1735c6a5436ee9eae095879e",     "id": 1 } ```  Réponse :  ```json {     "jsonrpc": "2.0",     "result": [         {             "tokenid": "1",             "name": "The Token",             "description": "",             "userid": "1",             "lastaccess": "0",             "status": "0",             "expires_at": "1609406220",             "created_at": "1611239454",             "creator_userid": "1"         }     ],     "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:  ``` {.java} {     "jsonrpc": "2.0",     "method": "correlation.get",     "params": {         "output": "extend",         "selectOperations": "extend",         "selectFilter": "extend"     },     "auth": "343baad4f88b4106b9b5961e77437688",     "id": 1 } ```  Response:  ``` {.java} {     "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 } ```
fr	#### Récupération des corrélations  Récupérer toutes les corrélations configurées ainsi que les conditions et opérations de corrélation. Le filtre utilise le type d'évaluation "et/ou", ainsi la propriété `formula` est vide et la propriété `eval_formula` est générée automatiquement.  Requête :  ``` {.java} {  "jsonrpc": "2.0",  "method": "correlation.get",  "params": {  "output": "extend",  "selectOperations": "extend",  "selectFilter": "extend"  },  "auth": "343baad4f88b4106b9b5961e77437688",  "id": 1 } ```  Réponse :  ``` {.java} {  "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 } ```

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 } ```
fr	#### Récupération des hôtes découverts par règle de découverte  Récupérer tous les hôtes et les services découverts qu'ils exécutent, détectés par la règle de découverte "4".  Requête :  ```json {     "jsonrpc": "2.0",     "method": "dhost.get",     "params": {         "output": "extend",         "selectDServices": "extend",         "druleids": "4"     },     "auth": "038e1d7b1735c6a5436ee9eae095879e",     "id": 1 } ```  Réponse :  ```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 } ```
fr	 #### Récupération des actions de découverte  Récupérer toutes les actions de découverte configurées avec les conditions d'action et les opérations. Le filtre utilise le type d'évaluation "and", la propriété `formula` est donc vide et la propriété `eval_formula` est générée automatiquement.  Requête :  ```json {     "jsonrpc": "2.0",     "method": "action.get",     "params": {         "output": "extend",         "selectOperations": "extend",         "selectFilter": "extend",         "filter": {             "eventsource": 1         }     },     "auth": "038e1d7b1735c6a5436ee9eae095879e",     "id": 1 } ```  Réponse :  ```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 } ```

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 } ```
fr	#### Récupération de tests de découverte d'une règle de découverte  Récupérer toutes les vérifications de découverte utilisés par la règle de découverte "6".  Requête :  ```json {     "jsonrpc": "2.0",     "method": "dcheck.get",     "params": {         "output": "extend",         "dcheckids": "6"     },     "auth": "038e1d7b1735c6a5436ee9eae095879e",     "id": 1 } ```  Réponse :  ```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 } ```
fr	#### Récupérer les interfaces hôtes  Récupérez toutes les données sur les interfaces utilisées par l'hôte "30057".  Requête :  ```json {     "jsonrpc": "2.0",     "method": "hostinterface.get",     "params": {         "output": "extend",         "hostids": "30057"     },     "auth": "038e1d7b1735c6a5436ee9eae095879e",     "id": 1 } ```  Réponse :  ```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:  ``` {.java} {     "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:  ``` {.java} {     "jsonrpc": "2.0",     "result": [         {             "itemid": "28336",             "type": "19",             "snmp_oid": "",             "hostid": "10257",             "name": "API HTTP agent",             "key_": "api_discovery_rule",             "delay": "5s",             "history": "90d",             "trends": "0",             "status": "0",             "value_type": "4",             "trapper_hosts": "",             "units": "",             "error": "",             "logtimefmt": "",             "templateid": "0",             "valuemapid": "0",             "params": "",             "ipmi_sensor": "",             "authtype": "0",             "username": "",             "password": "",             "publickey": "",             "privatekey": "",             "flags": "1",             "interfaceid": "5",             "description": "",             "inventory_link": "0",             "lifetime": "30d",             "state": "0",             "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",             "parameters": []         }     ],     "id": 39 } ```
fr	#### Récupération d'une règle par URL  Récupérer la règle pour l'hôte par la valeur du champ URL de la règle. Seule la correspondance exacte de la chaîne d'URL définie pour la règle est prise en charge.  Requête :  ``` {.java} {     "jsonrpc": "2.0",     "method": "discoveryrule.get",     "params": {         "hostids": "10257",         "filter": {             "type": "19",             "url": "http://127.0.0.1/discoverer.php"         }     },     "id": 39,     "auth": "d678e0b85688ce578ff061bd29a20d3b" } ```  Réponse :  ``` {.java} {     "jsonrpc": "2.0",     "result": [         {             "itemid": "28336",             "type": "19",             "snmp_oid": "",             "hostid": "10257",             "name": "API HTTP agent",             "key_": "api_discovery_rule",             "delay": "5s",             "history": "90d",             "trends": "0",             "status": "0",             "value_type": "4",             "trapper_hosts": "",             "units": "",             "error": "",             "logtimefmt": "",             "templateid": "0",             "valuemapid": "0",             "params": "",             "ipmi_sensor": "",             "authtype": "0",             "username": "",             "password": "",             "publickey": "",             "privatekey": "",             "flags": "1",             "interfaceid": "5",             "description": "",             "inventory_link": "0",             "lifetime": "30d",             "state": "0",             "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",             "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 } ```
fr	#### Récupération d'une règle LLD avec remplacements  Récupérer une règle LLD qui possède divers paramètres de remplacement.  Requête :  ``` {.java} {     "jsonrpc": "2.0",     "method": "discoveryrule.get",     "params": {         "output": ["name"],         "itemids": "30980",         "selectOverrides": ["name", "step", "stop", "filter", "operations"]     },     "id": 39,     "auth": "d678e0b85688ce578ff061bd29a20d3b" } ```  Réponse :  ``` {.java} {     "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 scripts by host IDs  Retrieve all scripts available on hosts "30079" and "30073".  Request:  ``` {.java} {     "jsonrpc": "2.0",     "method": "script.getscriptsbyhosts",     "params": [         "30079",         "30073"     ],     "auth": "038e1d7b1735c6a5436ee9eae095879e",     "id": 1 } ```  Response:  ``` {.java} {     "jsonrpc": "2.0",     "result": {         "30079": [             {                 "scriptid": "3",                 "name": "Detect operating system",                 "command": "sudo /usr/bin/nmap -O {HOST.CONN} 2>&1",                 "host_access": "2",                 "usrgrpid": "7",                 "groupid": "0",                 "description": "",                 "confirmation": "",                 "type": "0",                 "execute_on": "1",                 "hostid": "10001"             },             {                 "scriptid": "1",                 "name": "Ping",                 "command": "/bin/ping -c 3 {HOST.CONN} 2>&1",                 "host_access": "2",                 "usrgrpid": "0",                 "groupid": "0",                 "description": "",                 "confirmation": "",                 "type": "0",                 "execute_on": "1",                 "hostid": "10001"             },             {                 "scriptid": "2",                 "name": "Traceroute",                 "command": "/usr/bin/traceroute {HOST.CONN} 2>&1",                 "host_access": "2",                 "usrgrpid": "0",                 "groupid": "0",                 "description": "",                 "confirmation": "",                 "type": "0",                 "execute_on": "1",                 "hostid": "10001"             }         ],         "30073": [             {                 "scriptid": "3",                 "name": "Detect operating system",                 "command": "sudo /usr/bin/nmap -O {HOST.CONN} 2>&1",                 "host_access": "2",                 "usrgrpid": "7",                 "groupid": "0",                 "description": "",                 "confirmation": "",                 "type": "0",                 "execute_on": "1",                 "hostid": "10001"             },             {                 "scriptid": "1",                 "name": "Ping",                 "command": "/bin/ping -c 3 {HOST.CONN} 2>&1",                 "host_access": "2",                 "usrgrpid": "0",                 "groupid": "0",                 "description": "",                 "confirmation": "",                 "type": "0",                 "execute_on": "1",                 "hostid": "10001"             },             {                 "scriptid": "2",                 "name": "Traceroute",                 "command": "/usr/bin/traceroute {HOST.CONN} 2>&1",                 "host_access": "2",                 "usrgrpid": "0",                 "groupid": "0",                 "description": "",                 "confirmation": "",                 "type": "0",                 "execute_on": "1",                 "hostid": "10001"             }         ]     },     "id": 1 } ```
fr	#### Récupération des scripts par ID d'hôte  Récupérer tous les scripts disponibles sur les hôtes "30079" et "30073".  Requête :  ``` {.java} {  "jsonrpc": "2.0",  "method": "script.getscriptsbyhosts",  "params": [  "30079",  "30073"  ],  "auth": "038e1d7b1735c6a5436ee9eae095879e",  "id": 1 } ```  Réponse :  ``` {.java} {  "jsonrpc": "2.0",  "result": {  "30079": [  {  "scriptid": "3",  "name": "Detect operating system",  "command": "sudo /usr/bin/nmap -O {HOST.CONN} 2>&1",  "host_access": "2",  "usrgrpid": "7",  "groupid": "0",  "description": "",  "confirmation": "",  "type": "0",  "execute_on": "1",  "hostid": "10001"  },  {  "scriptid": "1",  "name": "Ping",  "command": "/bin/ping -c 3 {HOST.CONN} 2>&1",  "host_access": "2",  "usrgrpid": "0",  "groupid": "0",  "description": "",  "confirmation": "",  "type": "0",  "execute_on": "1",  "hostid": "10001"  },  {  "scriptid": "2",  "name": "Traceroute",  "command": "/usr/bin/traceroute {HOST.CONN} 2>&1",  "host_access": "2",  "usrgrpid": "0",  "groupid": "0",  "description": "",  "confirmation": "",  "type": "0",  "execute_on": "1",  "hostid": "10001"  }  ],  "30073": [  {  "scriptid": "3",  "name": "Detect operating system",  "command": "sudo /usr/bin/nmap -O {HOST.CONN} 2>&1",  "host_access": "2",  "usrgrpid": "7",  "groupid": "0",  "description": "",  "confirmation": "",  "type": "0",  "execute_on": "1",  "hostid": "10001"  },  {  "scriptid": "1",  "name": "Ping",  "command": "/bin/ping -c 3 {HOST.CONN} 2>&1",  "host_access": "2",  "usrgrpid": "0",  "groupid": "0",  "description": "",  "confirmation": "",  "type": "0",  "execute_on": "1",  "hostid": "10001"  },  {  "scriptid": "2",  "name": "Traceroute",  "command": "/usr/bin/traceroute {HOST.CONN} 2>&1",  "host_access": "2",  "usrgrpid": "0",  "groupid": "0",  "description": "",  "confirmation": "",  "type": "0",  "execute_on": "1",  "hostid": "10001"  }  ]  },  "id": 1 } ```

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 } ```
fr	#### Récupération des services découverts sur un hôte  Récupérer tous les services découverts détectés sur l'hôte découvert "11".  Requête :  ```json {     "jsonrpc": "2.0",     "method": "dservice.get",     "params": {         "output": "extend",         "dhostids": "11"     },     "auth": "038e1d7b1735c6a5436ee9eae095879e",     "id": 1 } ```  Réponse :  ```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 task by ID  Retrieve all the data about the task with the ID "1".  Request:  ```json {     "jsonrpc": "2.0",     "method": "task.get",     "params": {         "output": "extend",         "taskids": "1"     },     "auth": "038e1d7b1735c6a5436ee9eae095879e",     "id": 1 } ```  Response:  ```json {     "jsonrpc": "2.0",     "result": [         {             "taskid": "1",             "type": "7",             "status": "3",             "clock": "1601039076",             "ttl": "3600",             "proxy_hostid": null,             "request": {                 "alerting": {                     "stats": [                         "alerts"                     ],                     "top": {                         "media.alerts": 10                     }                 },                 "lld": {                     "stats": "extend",                     "top": {                         "values": 5                     }                 }             },             "result": {                 "data": {                     "alerting": {                         "alerts": 0,                         "top": {                             "media.alerts": []                         },                         "time": 0.000663                     },                     "lld": {                         "rules": 0,                         "values": 0,                         "top": {                             "values": []                         },                         "time": 0.000442                     }                 },                 "status": "0"             }         }     ],     "id": 1 } ```
fr	#### Récupérer d'une tâche par ID  Récupérez toutes les données sur la tâche avec l'ID "1".  Requête :  ```json {     "jsonrpc": "2.0",     "method": "task.get",     "params": {         "output": "extend",         "taskids": "1"     },     "auth": "038e1d7b1735c6a5436ee9eae095879e",     "id": 1 } ```  Réponse :  ```json {     "jsonrpc": "2.0",     "result": [         {             "taskid": "1",             "type": "7",             "status": "3",             "clock": "1601039076",             "ttl": "3600",             "proxy_hostid": null,             "request": {                 "alerting": {                     "stats": [                         "alerts"                     ],                     "top": {                         "media.alerts": 10                     }                 },                 "lld": {                     "stats": "extend",                     "top": {                         "values": 5                     }                 }             },             "result": {                 "data": {                     "alerting": {                         "alerts": 0,                         "top": {                             "media.alerts": []                         },                         "time": 0.000663                     },                     "lld": {                         "rules": 0,                         "values": 0,                         "top": {                             "values": []                         },                         "time": 0.000442                     }                 },                 "status": "0"             }         }     ],     "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 } ```
fr	 #### Récupération des actions sur déclencheurs  Récupérer toutes les actions sur déclencheurs configurées avec les conditions d'action et les opérations.  Requête :  ```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 } ```  Réponse :  ```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 } ```
fr	#### Récupérer des prototypes de déclencheur à partir d'une règle LLD  Récupérez tous les prototypes de déclencheur et leurs fonctions à partir d'une règle LLD.  Requête :  ```json {     "jsonrpc": "2.0",     "method": "triggerprototype.get",     "params": {         "output": "extend",         "selectFunctions": "extend",         "discoveryids": "22450"     },     "auth": "038e1d7b1735c6a5436ee9eae095879e",     "id": 1 } ```  Réponse :  ```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 } ```

en-us	#### Retrieving a dashboard by ID  Retrieve all data about dashboards "1" and "2".  Request:  ``` {.java} {     "jsonrpc": "2.0",     "method": "dashboard.get",     "params": {         "output": "extend",         "selectPages": "extend",         "selectUsers": "extend",         "selectUserGroups": "extend",         "dashboardids": [             "1",             "2"         ]     },     "auth": "038e1d7b1735c6a5436ee9eae095879e",     "id": 1 } ```  Response:  ``` {.java} {     "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 } ```
fr	#### Récupération d'un tableau de bord par ID  Récupérer toutes les données des tableaux de bord "1" et "2".  Requête :  ``` {.java} {     "jsonrpc": "2.0",     "method": "dashboard.get",     "params": {         "output": "extend",         "selectPages": "extend",         "selectUsers": "extend",         "selectUserGroups": "extend",         "dashboardids": [             "1",             "2"         ]     },     "auth": "038e1d7b1735c6a5436ee9eae095879e",     "id": 1 } ```  Réponse :  ``` {.java} {     "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 additional information with docker.container_info[]  The `docker.container_info[]` [Zabbix agent 2 item](/manual/config/items/itemtypes/zabbix_agent/zabbix_agent2) now supports the option to retrieve either partial (short) or full low-level information about a Docker container.
fr	### Récupérer des informations supplémentaires avec docker.container_info[]  Le `docker.container_info[]` [élément Zabbix agent 2](/manual/config/items/itemtypes/zabbix_agent/zabbix_agent2) prend désormais en charge la possibilité de récupérer des informations partielles (courtes) ou complètes de bas niveau sur un conteneur Docker.

en-us	#### Retrieving all services  Retrieve all data about all services and their dependencies.  Request:  ```json {     "jsonrpc": "2.0",     "method": "service.get",     "params": {         "output": "extend",         "selectChildren": "extend",         "selectParents": "extend"     },     "auth": "038e1d7b1735c6a5436ee9eae095879e",     "id": 1 } ```  Response:  ```json {     "jsonrpc": "2.0",     "result": [         {             "serviceid": "1",             "name": "My Service - 0001",             "status": "-1",             "algorithm": "2",             "sortorder": "0",             "weight": "0",             "propagation_rule": "0",             "propagation_value": "0",             "description": "My Service Description 0001.",             "uuid": "dfa4daeaea754e3a95c04d6029182681",             "created_at": "946684800",             "readonly": false,             "parents": [],             "children": []         },         {             "serviceid": "2",             "name": "My Service - 0002",             "status": "-1",             "algorithm": "2",             "sortorder": "0",             "weight": "0",             "propagation_rule": "0",             "propagation_value": "0",             "description": "My Service Description 0002.",             "uuid": "20ea0d85212841219130abeaca28c065",             "created_at": "946684800",             "readonly": false,             "parents": [],             "children": []         }     ],     "id": 1 } ```
fr	 #### Récupération de tous les services  Récupérez toutes les données sur tous les services et leurs dépendances.  Requête :  ```json {     "jsonrpc": "2.0",     "method": "service.get",     "params": {         "output": "extend",         "selectChildren": "extend",         "selectParents": "extend"     },     "auth": "038e1d7b1735c6a5436ee9eae095879e",     "id": 1 } ```  Réponse :  ```json {     "jsonrpc": "2.0",     "result": [         {             "serviceid": "1",             "name": "My Service - 0001",             "status": "-1",             "algorithm": "2",             "sortorder": "0",             "weight": "0",             "propagation_rule": "0",             "propagation_value": "0",             "description": "My Service Description 0001.",             "uuid": "dfa4daeaea754e3a95c04d6029182681",             "created_at": "946684800",             "readonly": false,             "parents": [],             "children": []         },         {             "serviceid": "2",             "name": "My Service - 0002",             "status": "-1",             "algorithm": "2",             "sortorder": "0",             "weight": "0",             "propagation_rule": "0",             "propagation_value": "0",             "description": "My Service Description 0002.",             "uuid": "20ea0d85212841219130abeaca28c065",             "created_at": "946684800",             "readonly": false,             "parents": [],             "children": []         }     ],     "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 } ```
fr	#### Récupération de tous les SLA  Récupérez toutes les données sur tous les SLA et leurs propriétés.  Requête :  ```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 } ```  Réponse :  ```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 } ```

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 } ```
fr	#### Récupération d'un prototype de déclencheur spécifique avec des tags  Requête :  ```json {     "jsonrpc": "2.0",     "method": "triggerprototype.get",     "params": {         "output": [             "triggerid",             "description"         ]         "selectTags": "extend",         "triggerids": [             "17373"         ]     },     "auth": "038e1d7b1735c6a5436ee9eae095879e",     "id": 1 } ```  Réponse :  ```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 } ```

en-us	#### Retrieving a specific trigger with tags  Retrieve a specific trigger with tags.  Request:  ```json {     "jsonrpc": "2.0",     "method": "trigger.get",     "params": {         "output": [             "triggerid",             "description"         ],         "selectTags": "extend",         "triggerids": [             "17578"         ]     },     "auth": "038e1d7b1735c6a5436ee9eae095879e",     "id": 1 } ```  Response:  ```json {     "jsonrpc": "2.0",     "result": [         {             "triggerid": "17370",             "description": "Service status",             "tags": [                 {                     "tag": "service",                     "value": "{{ITEM.VALUE}.regsub(\"Service (.*) has stopped\", \"\\1\")}"                 },                 {                     "tag": "error",                     "value": ""                 }             ]         }     ],     "id": 1 } ```
fr	#### Récupération d'un déclencheur spécifique avec des tags  Récupération d'un déclencheur spécifique avec des tags.  Requête :  ```json {     "jsonrpc": "2.0",     "method": "trigger.get",     "params": {         "output": [             "triggerid",             "description"         ],         "selectTags": "extend",         "triggerids": [             "17578"         ]     },     "auth": "038e1d7b1735c6a5436ee9eae095879e",     "id": 1 } ```  Réponse :  ```json {     "jsonrpc": "2.0",     "result": [         {             "triggerid": "17370",             "description": "Service status",             "tags": [                 {                     "tag": "service",                     "value": "{{ITEM.VALUE}.regsub(\"Service (.*) has stopped\", \"\\1\")}"                 },                 {                     "tag": "error",                     "value": ""                 }             ]         }     ],     "id": 1 } ```