这是原厂英文文档的翻译页面. 欢迎帮助我们 完善文档.
2022 Zabbix中国峰会
2022 Zabbix中国峰会
Table of Contents

> Module object

The following objects are directly related to the module API.

Module

The module object has the following properties.

Property Type Description
moduleid string (readonly) ID of the module as stored in the database.
id
(required)
string Unique module ID as defined by a developer in the manifest.json file of the module.

Possible values for built-in modules:
see property "type" description in Dashboard widget.
relative_path
(required)
string Path to the directory of the module relative to the directory of the Zabbix frontend.

Possible values:
widgets/* - for built-in widget modules;
modules/* - for third-party modules.
status integer Whether the module is enabled or disabled.

Possible values:
0 - (default) Disabled;
1 - Enabled.
config object Module configuration.

Note that for some methods (update, delete) the required/optional parameter combination is different.