If you are not the intended recipient of this message (including attachments),
or if you have received this message in error, immediately notify us and delete
it and any attachments. If you no longer wish to receive e-mail from Edward
Jones, please send this request to address@hidden You must include the e-mail
address that you wish not to receive e-mail communications. For important
additional information related to this e-mail, visit
www.edwardjones.com/US_email_disclosure
-----Original Message-----
From: address@hidden
[mailto:address@hidden On
Behalf Of Nick Upson
Sent: Monday, July 09, 2007 8:08 AM
To: address@hidden
Subject: start but no stop wanted
I'm trying to setup a config where monit watches a process and starts it
on failure but does not stop it.
The config I have looks something like
check process ntpd with pidfile "/var/run/ntpd.pid"
start program = "/opt/unb/bin/ntpd.sh start &"
stop program = "/bin/true stop &"
the problems I have are:
a) the start command takes ages before moving on to the next entry in
the file, even when ntpd is already running so there is nothing to do
How long does it take when you run the command by hand? Time it like
this:
time ./opt/unb/bin/ntpd.sh stop
b) the stop command is even slower
Same as above.
Also, why do you want it to stop it, if you said above that you didn't
want it to stop it? Also, what is the purpose of the &? If it's taking
a long time it's hanging on something before that, otherwise it should
drop you right back after it passes it's command.
P
--
To unsubscribe:
http://lists.nongnu.org/mailman/listinfo/monit-general
--
To unsubscribe:
http://lists.nongnu.org/mailman/listinfo/monit-general