feature #1678: Improve monitoring algorithm and set better oned.conf defaults
(cherry picked from commit a2b24764ace993f6ee5aa52c8af89fe0a806032f)