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)
统计信息
- 总下载量: 10.62k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2018-11-04