[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Check Host in MONIT
From: |
Paul Sun |
Subject: |
RE: Check Host in MONIT |
Date: |
Mon, 11 Apr 2011 21:27:17 +0800 |
Should I use "if succeeded" or "if passed"?
BTW, I noticed that the monit is core dumped before, anything can help
to check?
- PS
-----Original Message-----
From: address@hidden
[mailto:address@hidden On
Behalf Of Martin Pala
Sent: Monday, 11 April, 2011 21:23
To: This is the general mailing list for monit
Subject: Re: Check Host in MONIT
Yes, this setup is possible - the recovery/succeeded action will be
executed only on failure->success change however (if the service was up
when monit started, no action is done). You can check logs to see
whether the action was executed on service recovery.
Regards,
Martin
On Apr 10, 2011, at 3:16 PM, Paul Sun wrote:
> 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"
>
> --
> To unsubscribe:
> http://lists.nongnu.org/mailman/listinfo/monit-general
--
To unsubscribe:
http://lists.nongnu.org/mailman/listinfo/monit-general
- Re: Help on building MONIT on Solaris x86-64, (continued)
- Re: [Bulk] Re: Help on building MONIT on Solaris x86-64, Kevin Chadwick, 2011/04/09
- Re: [Bulk] Re: Help on building MONIT on Solaris x86-64, Jan-Henrik Haukeland, 2011/04/09
- Check Host in MONIT, Paul Sun, 2011/04/10
- Re: Check Host in MONIT, Martin Pala, 2011/04/11
- RE: Check Host in MONIT,
Paul Sun <=
- Re: Check Host in MONIT, Martin Pala, 2011/04/11
- RE: Check Host in MONIT, Paul Sun, 2011/04/11
- Re: Check Host in MONIT, Martin Pala, 2011/04/11
- RE: Check Host in MONIT, Paul Sun, 2011/04/11
- Re: Check Host in MONIT, Martin Pala, 2011/04/11
- Auto start of MONIT on Solaris 10, Paul Sun, 2011/04/12
- Re: Auto start of MONIT on Solaris 10, Martin Pala, 2011/04/12
- Can a MONIT script accept arguments?, Ortiz, Nelson, 2011/04/29
- Re: Can a MONIT script accept arguments?, Kevin Chadwick, 2011/04/30
- OpenBSD portable binary (Was Re: Help on building MONIT on Solaris x86-64), Kevin Chadwick, 2011/04/11