How to get rid of Observer ran too long Warnings. #234
Closed
GitTorre
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Up until the latest version of FabricObserver (3.2.0), you may run into an issue where FO puts itself into warning state with a report like this:
AppObserver on node node000005 has exceeded its specified Maximum run time of 3600 seconds. This means something is wrong with AppObserver. It will not be run again. Please look into it.
Unfortunately, this was (mis)implemented with an infinite TTL. To get rid of this, simply connect to the cluster and run this PS command:
For any observer that hits this, you simply adjust the script to include the observer name in the -HealthProperty arg of the script. So, the generalized command is:
This has been fixed (TTL = 15 minutes, not forever, but the observer will not run again until you restart the service - so, there is still a bug in the current version) in 3.2.0 and reimplemented in the upcoming version, 3.2.1 (5 minute TTL and a better approach to solving the problem: the observer will run again since its current run will be aborted).
Hope this helps,
Charles
Beta Was this translation helpful? Give feedback.
All reactions