Hi.
I’m testing HOST_HOOK and noticed that on KVM-nodes no a directory - /var/lib/one/remotes
The directory only present on frontend server.
Should I copy the directory from frontend to KVM-nodes?
Hi,
The HOST_HOOK is expected to be executed on the front-end node. So you should have REMOTE=no
set in the hook template.
BR,
Anton Todorov
Hi.
Thank you for reply.
My host hook looks like:
HOST_HOOK = [
name = “error”,
on = “ERROR”,
command = “ft/host_error.rb”,
arguments = “$ID -m -p 5”,
remote = “no” ]