摘要: #!/bin/bash ssh root@192.168.1.99 "find /mnt/yfnbk/test/JenkinsDailyPack/ -type d -mtime +6 | xargs rm -rf" today=$(date +%F)sub_dir=test/JenkinsDaily 阅读全文
posted @ 2025-05-15 14:23 joechenyao 阅读(7) 评论(0) 推荐(0)
摘要: 【windows】C:\Program Files\Zabbix Agent\zabbix_agentd.conf # 被动模式(多个服务器用逗号分隔)Server=192.168.1.161,192.168.2.55 修改保存后,重启服务【Zabbix Agent】 【linux】vi /etc/ 阅读全文
posted @ 2025-05-15 14:10 joechenyao 阅读(48) 评论(0) 推荐(0)
摘要: # windowsfor host in 15 18 20do ip=192.168.1.$host echo -e "\n check link to $ip (windows) " ping -c 3 $ipdone # pvefor host in 11 12do ip=192.168.1.$ 阅读全文
posted @ 2025-05-15 14:08 joechenyao 阅读(14) 评论(0) 推荐(0)