mkuzmich/zabbixlaravel 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

mkuzmich/zabbixlaravel

Composer 安装命令:

composer require mkuzmich/zabbixlaravel

包简介

This package provides a Zabbix API library for Laravel

README 文档

README

Installation

You can install the package via composer:

composer require mkuzmych/zabbixlaravel

Configuration

Laravel Zabbix requires connection configuration. To get started, you'll need to publish all vendor assets:

$ php artisan vendor:publish --provider="Mkuzmych\Zabbixlaravel\ZabbixlaravelServiceProvider"

This will create a config/zabbix.php file in your app that you can modify to set your configuration. Also, make sure you check for changes to the original config file in this package between releases.

You are free to change the configuration file as needed. In envorement you can set:

ZABBIX_APIURL="http://company.com/api_jsonrpc.php"
ZABBIX_USER="user"
ZABBIX_PASSWORD="password"
ZABBIX_HTTPUSER="httpuser"
ZABBIX_HTTPPASSWORD="httppassword"
ZABBIX_AUTHTOKEN=

Usage

Use the library as Facade in Laravel.

\Zabbixlaravel::request('host.get', array(
				'with_items' => true,
				'selectItems' => true
			));

\Zabbixlaravel::getAuthToken();

Documentation

There are other classes in this package that are not documented here. This is because the package is a Laravel wrapper of the Zabbix PHP package.

Changelog

Please see CHANGELOG for more information what has changed recently.

Troubleshooting

If you have any questions or problems, create a ticket.

License

The MIT License (MIT). Please see License File for more information.

统计信息

  • 总下载量: 3
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2020-03-25

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固