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