- This topic has 0 replies, 1 voice, and was last updated 4 years, 5 months ago by .
-
Topic
-
I have a Cloverleaf alert configured to re-start a process when it is down for 5 minutes. The alert fires, but fails to re-start the process and posts an error in the Monitor Daemon log.
Here are the commands that are being run when the alert fires:
exec {hcilmclear -p ADT_In -v > %CL_INSTALL_DIR%\integrator\ac_production\exec\hcimonitord\ADT_In_hcilmclear.log}
exec {hcienginerun -p ADT_In}
Here is the error that is being written to the log:
[aler:aler:WARN/0:_hcimonitord_:03/13/2020 10:03:43] PID Alert #0: cannot open PID file ‘E:/cloverleaf/cis6.2/integrator/ac_production/exec/processes/ADT_In/pid’: No such file or directory
Strangely, I can move the exact same commands to a .bat file, and execute that .bat file from within the Cloverleaf alert using an exec command, and it works.
This is a VM environment, and I suspect that has something to do with this as I have other non-VM environments where these same alerts work without issue.
Christopher Wells
- You must be logged in to reply to this topic.