Make sure your monit configuration file has "include" statement set for this directory. If you add some include file, you have to reload Monit to load it (CLI: "monit reload").
Sorry but another question. I created a script in monitrc.d, but it seems that is not being read, how can I know if the script is really being read ?
From: address@hidden [mailto:monit-address@hidden] On Behalf Of Jorge Bastos
Sent: segunda-feira, 14 de Outubro de 2013 21:44
To: 'This is the general mailing list for monit'
Subject: RE: Question about restart/stop
From: address@hidden [mailto:address@hidden] On Behalf Of Martin Pala
Sent: segunda-feira, 14 de Outubro de 2013 21:05
To: This is the general mailing list for monit
Subject: Re: Question about restart/stop
yes you can use stop, for example:
if failed port 123 then stop
I’d like to know, it I can use or its supported, “stop” instead of “restart”, is it?