This is a translation of the original English documentation page. Help us make it better.

Sidebar

Zabbix Summit 2022
Register for Zabbix Summit 2022

> Objet Scenario Web

Les objets suivants sont directement liés à l'API webcheck.

Web scenario

The web scenario object has the following properties.

Property Type Description
httptestid string (readonly) ID of the web scenario.
hostid
(required)
string ID of the host that the web scenario belongs to.
name
(required)
string Name of the web scenario.
agent string User agent string that will be used by the web scenario.

Default: Zabbix
applicationid string ID of the application that the web scenario belongs to.
authentication integer Authentication method that will be used by the web scenario.

Possible values:
0 - (default) none;
1 - basic HTTP authentication;
2 - NTLM authentication.
delay string Execution interval of the web scenario. Accepts seconds, time unit with suffix and user macro.

Default: 1m.
headers string (deprecated)
array of HTTP fields
HTTP headers that will be sent when performing a request.
http_password string Password used for authentication.

Required for web scenarios with basic HTTP or NTLM authentication.
http_proxy string Proxy that will be used by the web scenario given as http://[username[:password]@]proxy.example.com[:port].
http_user string User name used for authentication.

Required for web scenarios with basic HTTP or NTLM authentication.
nextcheck timestamp (readonly) Time of the next web scenario execution.
retries integer Number of times a web scenario will try to execute each step before failing.

Default: 1.
ssl_cert_file string Name of the SSL certificate file used for client authentication (must be in PEM format).
ssl_key_file string Name of the SSL private key file used for client authentication (must be in PEM format).
ssl_key_password string SSL private key password.
status integer Whether the web scenario is enabled.

Possible values are:
0 - (default) enabled;
1 - disabled.
templateid string (readonly) ID of the parent template web scenario.
variables string (deprecated)
array of HTTP fields
Web scenario variables.
verify_host integer Whether to verify that the host name specified in the SSL certificate matches the one used in the scenario.

Possible values are:
0 - (default) skip host verification;
1 - verify host.
verify_peer integer Whether to verify the SSL certificate of the web server.

Possible values are:
0 - (default) skip peer verification;
1 - verify peer.

Tag de scénario Web

L'objet tag de scénario Web possède les propriétés suivantes.

Propriété Type Description
tag
(obligatoire)
string Nom du tag du scénario Web.
value string Valeur du tag du scénario Web.

HTTP field

The HTTP field object defines a name and value that is used to specify variable, HTTP header, POST form field data of query field data. It has the following properties.

Property Type Description
name
(required)
string Name of header / variable / POST or GET field.
value
(required)
string Value of header / variable / POST or GET field.

Champ HTTP

L'objet de champ HTTP définit un nom et une valeur utilisés pour spécifier une variable, un en-tête HTTP, des données de champ de formulaire POST ou des données de champ de requête. Il a les propriétés suivantes.

Propriété Type Description
name
(obligatoire)
string Nom de l'en-tête / variable / champ POST ou GET.
value
(obligatoire)
string Valeur de l'en-tête / variable / champ POST ou GET..