monit-general
[Top][All Lists]
Advanced

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

Re: EXEC not working Help Help Help .....


From: Martin Pala
Subject: Re: EXEC not working Help Help Help .....
Date: Mon, 22 May 2006 15:16:25 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20060205 Debian/1.7.12-1.1

Hi,

1.) which monit version is it?

2.) what is expted behavior and what is wrong with exec?

3.) please run monit in verbose mode: "monit -vI", replicate the state where you expect EXEC to be performed and send use the output

4.) please attach the mentioned /etc/test.sh

Thanks,
Martin


rushi wrote:
please help me out i am working on monit since last three days and not getting the EXEC work my configuration file is as below set daemon 5 # Poll at 5 seconds intervals
set logfile syslog facility log_daemon
set httpd port 2812 and use address 192.168.13.55
     allow 192.168.7.51
     allow 192.168.1.114 # Allow localhost to connect
     allow admin:monit # Allow Basic Auth
check process mysql with pidfile /var/lib/mysql/manage.pid
start program = "/etc/ha.d/resource.d/sqld start"
   stop program = "/etc/ha.d/resource.d/sqld stop"
        if changed pid
                then EXEC "/etc/test.sh"
if failed host 127.0.0.1 port 3306 protocol mysql
                then EXEC "/etc/test.sh"
plese somebody help me out waiting for the earliest reply... <http://elitecore.com> Impossible itself Says I M Possible

        
*Rushiraj Rathod*
/Software Engineer/     *Elitecore Technologies*
904,Silicon Towers,
Off. C.G.Road,
Ahmedabad 380006
address@hidden <mailto:address@hidden>    
tel:
fax:
mobile:         +91 79 2640 5600 #270
+91 79 2640 7640
+91 98981 96971

        

/Add me to your address book.../ <https://www.plaxo.com/add_me?u=47245968310&v0=2634698&k0=1301551471&v1=2634699&k1=587599293> /Want a signature like this?/ <http://www.plaxo.com/signature>


------------------------------------------------------------------------

------------------------------------
eLitecore Technologies Ltd


------------------------------------------------------------------------

--
To unsubscribe:
http://lists.nongnu.org/mailman/listinfo/monit-general




reply via email to

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