marqu3s / yii2-itam-module
此软件包最新版本(dev-master)没有可用的许可证信息。
ITAM - Yii 2 的 IT 资产管理模块。
dev-master
2017-08-14 19:05 UTC
Requires
- consynki/yii2-pushover: *
- devmastersbv/yii2-fontawesome: 2.17.1
- ivkos/pushbullet: 3.*
- longman/telegram-bot: ^0.44.0
- marqu3s/yii2-behaviors: *
This package is auto-updated.
Last update: 2024-09-19 06:38:00 UTC
README
ITAM - Yii2 的 IT 资产管理模块。Yii2.
要使用此模块,您必须在 Yii2 应用程序上安装它。如果您没有,请查看 此版本。
描述
此模块的目的是允许 IT 管理员管理 IT 资产。支持硬件和软件资产。还有一个监控模块,可以帮助监控重要资产,如服务器和交换机。
当前支持的以下硬件资产
- 服务器
- 智能手机
- 交换机
- 工作站
当前支持的以下软件资产及其许可证
- 操作系统 (OS)
- 办公套件
- 其他软件
提供报告,帮助 IT 管理员控制许可证的使用。
安装
Web 应用程序
首选的安装方法是使用 composer。
composer require "marqu3s/yii2-itam-module:dev-master"
您只需将以下内容添加到 composer.json 文件的 require
部分
"marqu3s/yii2-itam-module": "dev-master"
然后将其添加到您的 web 应用程序的 main.php
配置文件
'modules' => [
'itam' => [
'class' => 'marqu3s\itam\Module',
'rbacAuthorization' => true,
'nmapPath' => '/usr/bin/' // Set this to the path of the nmap executable on your system.
],
],
注意: 初始设置 rbacAuthorization
为 false
是一个好主意,这样您就可以访问管理设置页面并创建授权内容。然后启用 rbacAuthorization
并将其设置为 true
。
控制台应用程序(监控)
要使用监控控制台命令,请将其添加到您的 console 应用程序的 main.php
配置文件
'controllerMap' => [
'itam-monitoring' => [
'class' => 'marqu3s\itam\console\controllers\MonitoringController',
'nmapPath' => '/usr/bin/',
'pushbulletAPIKey' => '',
'pushbulletChannelTag' => '',
'pushoverUserKey' => '',
'pushoverAPIKey' => '',
],
],
有关资产上下线通知目前通过 Pushbullet 或 Pushover 发送。欢迎添加其他通知提供商并增强此模块。
未来改进
- 仪表板应只显示至少包含一个资产的资产类型计数。
- 更好的设置向导(主要是创建数据库中的表和一些设置说明)
- 新的资产类型
- Wi-Fi AP
- IP 摄像头
- 投影仪
- 打印机
- WAN 链接