[comment]: # translation:outdated

[comment]: # ({66a8ced4-66a8ced4})
# 9 Zabbix Webサービス

[comment]: # ({/66a8ced4-66a8ced4})

[comment]: # ({3eecc5cc-132b4156})
#### 概要

Zabbix Webサービスは、外部Webサービスとの通信に使用されるプロセスです。

このセクションではZabbix Webサービス設定ファイル(zabbix\_web\_service.conf)でサポートされているパラメーターの一覧を提示します。

注意点:

-   デフォルト値は、出荷時設定ファイルの値ではなく、プロセスのデフォルト値です。
-   Zabbixは[BOM](https://en.wikipedia.org/wiki/Byte_order_mark)なしのUTF-8エンコーディングでのみ構成ファイルをサポートします。
-   行の先頭が"\＃"で始まった場合のみコメントとして認識されます。

[comment]: # ({/3eecc5cc-132b4156})

[comment]: # ({new-c903a5f7})
### Parameter details

[comment]: # ({/new-c903a5f7})

[comment]: # ({new-b2fc119d})
##### AllowedIP
A list of comma delimited IP addresses, optionally in CIDR notation, or DNS names of Zabbix servers and Zabbix proxies. Incoming connections will be accepted only from the hosts listed here.<br>If IPv6 support is enabled then `127.0.0.1`, `::127.0.0.1`, `::ffff:127.0.0.1` are treated equally and `::/0` will allow any IPv4 or IPv6 address. `0.0.0.0/0` can be used to allow any IPv4 address.

Example: 

    127.0.0.1,192.168.1.0/24,::1,2001:db8::/32,zabbix.example.com

Mandatory: yes

[comment]: # ({/new-b2fc119d})

[comment]: # ({new-e5288ea7})
##### DebugLevel

Specify the debug level:<br>*0* - basic information about starting and stopping of Zabbix processes<br>*1* - critical information;<br>*2* - error information;<br>*3* - warnings;<br>*4* - for debugging (produces lots of information);<br>*5* - extended debugging (produces even more information).

Default: `3`<br>
Range: 0-5

[comment]: # ({/new-e5288ea7})

[comment]: # ({new-e99b72c0})
##### ListenPort

The service will listen on this port for connections from the server.

Default: `10053`<br>
Range: 1024-32767

[comment]: # ({/new-e99b72c0})

[comment]: # ({new-bb5252d8})
##### LogFile

The name of the log file.

Example:

    /tmp/zabbix_web_service.log

Mandatory: Yes, if LogType is set to *file*; otherwise no

[comment]: # ({/new-bb5252d8})

[comment]: # ({new-778f1edc})
##### LogFileSize

The maximum size of a log file in MB.<br>0 - disable automatic log rotation.<br>*Note*: If the log file size limit is reached and file rotation fails, for whatever reason, the existing log file is truncated and started anew.

Default: `1`<br>
Range: 0-1024

[comment]: # ({/new-778f1edc})

[comment]: # ({new-9d26f327})
##### LogType

The type of the log output:<br>*file* - write log to the file specified by LogFile parameter;<br>*system* - write log to syslog;<br>*console* - write log to standard output.

Default: `file`

[comment]: # ({/new-9d26f327})

[comment]: # ({new-ee64bcdf})
##### Timeout

Spend no more than Timeout seconds on processing.

Default: `3`<br>
Range: 1-30

[comment]: # ({/new-ee64bcdf})

[comment]: # ({new-849f8496})
##### TLSAccept

What incoming connections to accept:<br>*unencrypted* - accept connections without encryption (default)<br>*cert* - accept connections with TLS and a certificate

Default: `unencrypted`

[comment]: # ({/new-849f8496})

[comment]: # ({new-336a620d})
##### TLSCAFile

The full pathname of the file containing the top-level CA(s) certificates for peer certificate verification, used for encrypted communications between Zabbix components.

[comment]: # ({/new-336a620d})

[comment]: # ({new-185ad3c6})
##### TLSCertFile

The full pathname of the file containing the service certificate or certificate chain, used for encrypted communications with Zabbix components.

[comment]: # ({/new-185ad3c6})

[comment]: # ({new-cbcbba0a})
##### TLSKeyFile

The full pathname of the file containing the service private key, used for encrypted communications between Zabbix components.

[comment]: # ({/new-cbcbba0a})

