# SdsShtermSyslog **Repository Path**: steeed/SdsShtermSyslog ## Basic Information - **Project Name**: SdsShtermSyslog - **Description**: 收集堡垒机发来的syslog并滚动刷新 - **Primary Language**: Python - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 0 - **Created**: 2020-01-16 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: SDS ## README # SdsShtermSyslog ### Description 收集堡垒机发来的syslog并滚动刷新 ### Software Architecture Software architecture description ### Installation 1. script/sds_shterm_syslog_install.sh 是部署的shell脚本。检查、修了下参数,然后执行完成部署 2. 调用sds_shterm_syslog.py的命令被注释掉了,调用的是测试用的test_script.py。这样不依赖消息也能看到信息刷新的效果 3. 如果test_script.py看到的刷新效果没问题,将test_script.py的调用注释掉,放开sds_shterm_syslog.py的注释 ### Instructions 1. 运行 bin 目录下的 test_script.py,查看滚动刷新的效果 2. 运行 bin 目录下的 sds_shterm_syslog.py,滚动刷新接收到的syslog消息 3. 使用脚本创建的用户登录系统,直接进入并运行sds_shterm_syslog.py,并且无法退出。强制退出后直接退出系统登录 ### Contribution 1. gitee.com/steeed