31

zabbix以trapper监控备份文件-loong576的博客

 6 years ago
source link: http://blog.51cto.com/3241766/2123179
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
需求:生产上有台mysql服务器每天以定时任务方式用mysqldump命令进行数据库逻辑备份,定时任务执行时间为23:30,备份时长5分钟左右,生成的备份文件命名方式为‘mysql-$(date+%Y-%m-%d).sql’,大小3G左右,备份文件保留3份,即执行完mysqldump命令后对大前天备份文件进行删除操作,现要对备份文件进行检查监控。定时任务方式1.模拟生产备份文件[root@zabb

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK