flowti/zabbix-bundle
最新稳定版本:1.0
Composer 安装命令:
composer require flowti/zabbix-bundle
包简介
Zabbix integration for Symfony
README 文档
README
Zabbix integration for Symfony
Obtaining monitoring data captured by Zabbix in a simple way, with easy configuration, requiring only the host name to return a list of the server's monitoring data.
Instalation:
composer require flowti/zabbix-bundle
Generate a parameters file:
php bin/console config:dump-reference FlowtiZabbixBundle > config/packages/flowti_zabbix.yaml
Example: src/config/packages/flowti_zabbix.yaml
flowti_zabbix:
client:
host: "https://seu-servidor"
username: "user"
password: "pass"
Call Example:
/**
* @Route("/zabbix", name="zabbix-test")
*/
public function zabbixText(FlowtiZabbixClient $zabbix)
{
dump($zabbix->getTrigger(629272));
dd($zabbix->getHost('srvdata02rj-q01147'));
}
统计信息
- 总下载量: 1.4k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2022-01-04