Bug 879583
Summary: | Monitoring : Platform plugin "Process" service reports wrong availability (SIGAR) | |||
---|---|---|---|---|
Product: | [Other] RHQ Project | Reporter: | Thomas Segismont <tsegismo> | |
Component: | Agent | Assignee: | Thomas Segismont <tsegismo> | |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Mike Foley <mfoley> | |
Severity: | unspecified | Docs Contact: | ||
Priority: | unspecified | |||
Version: | unspecified | CC: | hrupp, jshaughn, lkrejci | |
Target Milestone: | --- | |||
Target Release: | RHQ 4.6 | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | ||||
Fixed In Version: | Doc Type: | Bug Fix | ||
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 879639 (view as bug list) | Environment: | ||
Last Closed: | 2013-09-03 14:41:46 UTC | Type: | Bug | |
Regression: | --- | Mount Type: | --- | |
Documentation: | --- | CRM: | ||
Verified Versions: | Category: | --- | ||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
Cloudforms Team: | --- | Target Upstream Version: | ||
Embargoed: | ||||
Bug Depends On: | ||||
Bug Blocks: | 879639 |
Description
Thomas Segismont
2012-11-23 11:38:37 UTC
In ProcessComponent class, the ProcessInfo instance is refreshed each time a metric collection is made. So after a metric collection, the next availability check has fresh data to process. This could explain why, after some time, the closed/killed process is eventually reported "DOWN". ProcessInfo instance is now refreshed on every availabilty check. master 5c4217e I think the fix is not enough for pid file based processes, because the pid file is never re-read until the agent / plugin container is restarted and the component re-started. Lukas, As discussed with you on IRC, the problem is not the discovery type of the process component. The problem is that with the first fix, after the refresh it's too late to see if the process has not yet been restarted. So I remixed the fix. master 2ec8d54 This looks correct to me. Bulk closing of issues in old RHQ releases that are in production for a while now. Please open a new issue when running into an issue. |