Bug 837586 - Availability update using Process plugin for mongoDB is very slow
Availability update using Process plugin for mongoDB is very slow
Status: NEW
Product: RHQ Project
Classification: Other
Component: Plugins (Show other bugs)
4.4
x86_64 Linux
unspecified Severity medium (vote)
: ---
: ---
Assigned To: RHQ Project Maintainer
Mike Foley
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2012-07-04 06:23 EDT by Charles Leow
Modified: 2012-07-04 06:23 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed:
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:


Attachments (Terms of Use)

  None (edit)
Description Charles Leow 2012-07-04 06:23:04 EDT
Description of problem:
We’ve setup three nodes with RHEL5.3 and same hardware specifications. One for RHQ server and remaining two each installed with mongoDB and RHQ agent for monitoring mongoDB.

mongoDB is monitored using Process resource type with Pid File and PIQL query types. Each query type is setup on a different node. However we found that the availability scan for both agents does not respond in a decent time. In fact sometimes it takes more than 30 minutes to reflect the actual availability of mongoDB. We’re using default configuration in agent. The value for rhq.agent.plugins.availability-scan.period-secs is also default (30 seconds). 


Version-Release number of selected component (if applicable):


How reproducible:
It occurs right after Process plugin is created. After shut down mongoDB, the availability update (Goes Up and Goes Down) takes a long long time to update. Bring back up mongoDB, the availability update takes a long long time as well.

Steps to Reproduce (PID file):
1. Go to inventory of a platform
2. Import a Process
3. Select PID file
4. Location of PID file /var/lib/mongo/mongod.lock

Steps to Reproduce (PIQL):
1. Go to inventory of a platform
2. Import a Process
3. Select Process Query
4. Value for PIQL is process|basename|match=(?i)^mongod.*

Actual results:
Availability update takes a long time. 

Expected results:
Availability update should be fast like within few minutes. 

Additional info:

Note You need to log in before you can comment on or make changes to this bug.