摘要
为了解决银行手动对比文件一致性时效率低、易出错、文件内容及属性不一致时无法及时发现的问题,提出了“shell+crontab+zabbix+grafana”集成的方式作为文件一致性对比自动化运维的解决方案,阐述了该方案的实现原理、脚本的设计思路及实现过程。并结合生产环境的实际应用,验证该方案提升了运维工作效率。
In order to solve the problems that can not be found in time when manually comparing file consistency,such as low efficiency,easy to make mistakes,and inconsistent file contents and attributes,this paper puts forward the method of"shell+crontab+zabbix+grafana"integration as the solution of automatic operation and maintenance of file consistency comparison,expounds the implementation principle of this scheme,and focuses on the design idea and implementation process of list.sh,cmp-md5.sh and cmp-permission.sh scripts.The scheme has been verified in the test environment,and has been applied in the production environment,which greatly improves the efficiency of operation and maintenance.
出处
《信息技术与标准化》
2022年第9期40-45,共6页
Information Technology & Standardization
关键词
文件内容
文件属性
文件一致性校验
自动化运维
file content
file properties
file consistency check
automatic operation and maintenance