nagios自定義腳本監控

客戶端IP:192.168.1.11java 服務端IP:192.168.1.12ios 目的:檢查eip用戶的java進程是否存在 bash 客戶端配置ide 腳本名:check_pid.sh測試 腳本以下:spa #! /bin/bash插件 si=`ps -ef|grep java|grep eip|wc -l`rest if [ $si -eq 1 ];thenblog echo "sta
相關文章
相關標籤/搜索