[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Ping test - success script not executed during startup

From: Russell Simpkins
Subject: Re: Ping test - success script not executed during startup
Date: Mon, 25 May 2015 09:48:44 -0400

According to the manual the syntax is

Hope that helps.

On Mon, May 25, 2015 at 6:56 AM, Srinivasan Thandapani <address@hidden> wrote:

Hi Team,


I’m monitoring a remote host using ping test and here is the configuration,


check host my_instance_xx.xx.xx.xx with address xx.xx.xx.xx

                if failed ping

                                then exec "/root/"

                else if passed 2 cycles

                                then exec "/root/"


After editing conf file & restarting Monit, though the remote host is available, the is not called.


But I could see failure_script & success_script are called whenever there is a state change (when I poweroff & restart the machine and vice-versa).


Any way to execute the success_script to call during startup?



Monit version: 5.12.1 (tried in 5.13 as well)





"DISCLAIMER: This message is proprietary to Aricent and is intended solely for the use of the individual to whom it is addressed. It may contain privileged or confidential information and should not be circulated or used for any purpose other than for what it is intended. If you have received this message in error, please notify the originator immediately. If you are not the intended recipient, you are notified that you are strictly prohibited from using, copying, altering, or disclosing the contents of this message. Aricent accepts no responsibility for loss or damage arising from the use of the information transmitted by this email including damage from virus."

To unsubscribe:

reply via email to

[Prev in Thread] Current Thread [Next in Thread]