定制 munkireport/user_sessions 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

munkireport/user_sessions

最新稳定版本:v3.0

Composer 安装命令:

composer require munkireport/user_sessions

包简介

User_sessions module for munkireport.

README 文档

README

Gathers logins, logout, shut downs, and reboots on the client computer. The widget shows all events and the count listing shows them only for the past year.

Configuration

User Sessions module will by default log all events. To skip some events, set the events that you want to skip to be false. By default the module also saves historical data. To disable this, set the user_sessions_keep_historical key to false. The configuration can be set by adding them to the server environment variables or the .env file.

user_sessions_save_remote_ssh=TRUE;
user_sessions_save_login=TRUE;
user_sessions_save_logout=TRUE;
user_sessions_save_reboot=TRUE;
user_sessions_save_shutdown=TRUE;
user_sessions_keep_historical=TRUE;
user_sessions_unique_users_only=FALSE;

Table Schema

Database:

  • event - varchar(255) - event type
  • time - int - UNIX time of event occurrence
  • user - varchar(255) - user name associated with event
  • ssh_remove - varchar(255) - IP address of the remote SSH user

Module by @tuxudo, script by @clburlison and @pudquick (frogor)

统计信息

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

GitHub 信息

  • Stars: 1
  • Watchers: 2
  • Forks: 4
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2018-11-04