I need to execute a some ruby code on notification.
We have a central health monitoring service on the box and process
health is just one part of the overall reports.
I would like to put the events into a queue on the disk and have our
health monitoring service slurp up any events and send them to another
centralized server.
I assume I can just do this:
w.transition(:up, :start) do |on|
on.condition(:process_exits) do |c|
# custom notification method here....
end
end
Is this correct?
Cheers,
Dan
--
You received this message because you are subscribed to the Google Groups
"god.rb" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/god-rb?hl=en.