I have the following flapping condition in my watch...
w.lifecycle do |on|
on.condition(:flapping) do |c|
c.to_state = [:start, :restart]
c.times = 5
c.within = 5.minute
c.transition = :unmonitored
c.retry_in = 10.minutes
c.retry_times = 5
c.retry_within = 2.hours
end
end
But it doesn't seem to work. If I look in my god logs, I see
W [2010-08-04 21:47:07] WARN: feed_index_tempest-1 start command
exited with non-zero code = 1
Over and over again, but it never transitions to the unmonitored
state.
Also, how do I send a notification when it's flapping and god finally
gives up?
Thanks for the help.
--
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.