|
| From: | Paul Sun |
| Subject: | Check Host in MONIT |
| Date: | Sun, 10 Apr 2011 21:16:37 +0800 |
Hi
I would like to know whether monit support to action if the check host
is success? I tried below configuration, but doesn't seems work
- PS
check host SERVER1 with address 10.219.35.80
if failed icmp type echo count 3 with timeout 3 seconds then alert
if failed port 2054 then exec "/user/scripts/set_alarm.sh"
else if succeeded then exec "/user/scripts/clear_alarm.sh"
| [Prev in Thread] | Current Thread | [Next in Thread] |