I'm monitoring a service that, when failed, needs to run (exec) an expect 
script.   I see in the monit log that the script looks like it's called, but it 
really isn't. 

I also tried wrapping the expect script inside a shell script and piped STDOUT 
and STDERR to a logfile.  The logfile never gets written to.

Running the expect script manually and within cron works, so I believe it 
should work by being called from monit.  

Am I doing something wrong?  How can I debug?

Thanks,
David







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

Reply via email to