[comment]: # translation:outdated

[comment]: # aside:5

[comment]: # ({ebceda3d-cb56af0f})
# 例

このセクションでは、カスタムモジュールのベースとして使用できる、サンプルモジュールとウィジェットのファイルを提供します。

モジュールの使用方法：

1. ZIPアーカイブをダウンロードします。
2. Zabbix Webインターフェースをインストールの*modules*ディレクトリ内の別のディレクトリにコンテンツを解凍します (例 : */zabbix/ui/modules*)。
3. Zabbix Webインターフェースにモジュールを登録します。

[comment]: # ({/ebceda3d-cb56af0f})

[comment]: # ({441c3aee-0914dca2})
### モジュールの例

- ホストグループ作成時に、設定されたユーザーグループに読み取り権限を付与します - [hg_auto_perm.zip](/../assets/en/devel/modules/examples/hg_auto_perm.zip)

[comment]: # ({/441c3aee-0914dca2})

[comment]: # ({a62af023-c8a013f0})
### ウィジェットの例

- 最小限のウィジェット - [widget_min.zip](/../assets/en/devel/modules/examples/widget_min.zip)
- CSSのみを使用した"Hello, world"ウィジェット - [hello_world_css.zip](/../assets/en/devel/modules/examples/hello_world_css.zip)
- JavaScriptのみを使用した"Hello, world"ウィジェット - [hello_world_js.zip](/../assets/en/devel/modules/examples/hello_world_js.zip)
- PHPを使用した"Hello, world"ウィジェット - [hello_world_php.zip](/../assets/en/devel/modules/examples/hello_world_php.zip)

::: notetip
[Zabbixネイティブウィジェット](https://git.zabbix.com/projects/ZBX/repos/zabbix/browse/ui/widgets)も例として利用できます。
:::

[comment]: # ({/a62af023-c8a013f0})
