Bug 1397107 - RHQ Apache SNMP plugin: Timeout collecting wwwSummaryInRequests/wwwSummaryOutResponses
Summary: RHQ Apache SNMP plugin: Timeout collecting wwwSummaryInRequests/wwwSummaryOut...
Keywords:
Status: NEW
Alias: None
Product: RHQ Project
Classification: Other
Component: Plugins
Version: 4.12
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified vote
Target Milestone: ---
: ---
Assignee: Nobody
QA Contact:
URL:
Whiteboard:
Depends On: 1397106
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-11-21 16:01 UTC by bkramer
Modified: 2022-03-31 04:28 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:


Attachments (Terms of Use)

Description bkramer 2016-11-21 16:01:00 UTC
Description of problem:
After installing Apache SNMP plugins for RHQ, metrics for wwwSummaryInRequests ("Total Number of Requests" and "Total Number of Requests per Minute") and wwwSummaryOutResponses ("Total Number of Responses" and "Total Number of Responses per Minute") are only being collected sporadically. The JON Agent logs messages similar to "SNMPException: Error occurred while retrieving column wwwSummaryInRequests(1.3.6.1.2.1.65.1.2.1.1.1): Request timed out." 

The metrics appear to only be collected at specific intervals at about 03 at night until 09.


Execution of the command snmpwalk (snmpwalk -c public -v 2c localhost:1610 1.3.6.1.2.1.65.1.2.1.1.1) at the same time when agent was trying to collect metrics and logged Request timed out messages showes that value this command did not time out.

At the same time, all other metrics are correctly returned and displayed in the RHQ UI.



Version-Release number of selected component (if applicable):
RHQ 4.12
Apache/2.2.26


How reproducible:
Sometimes

Steps to Reproduce:
1. Enable "Total Number of Requests" and "Total Number of Requests per Minute" metrics;
2. Navigate to RHQ UI -> Apache metric page and confirm that values are not shown;
3. The agent.log file shows: "SNMPException: Error occurred while retrieving column wwwSummaryInRequests(1.3.6.1.2.1.65.1.2.1.1.1): Request timed out."

Actual results:
Enabled metrics are not shown in RHQ UI and error message is shown in the agent.log file.

Expected results:
Enabled metrics are properly shown and agent.log file does not contain error messages.

Additional info:


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