zabbix 清理旧数据zabbix 清理旧数据 #!/bin/bashUser=userPasswd=passwdDate=`date-d$(date-d"-30day"+%Y%m%d)+%s`#取30天之前的时间戳$(whichmysql)-u${User}-p${Passwd}-S/tmp/mysql.sock