Bug 803585
Summary: | agentx counter64 snmpget problem | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 5 | Reporter: | Yury Stankevich <urykhy> | ||||
Component: | net-snmp | Assignee: | Jan Safranek <jsafrane> | ||||
Status: | CLOSED ERRATA | QA Contact: | Dalibor Pospíšil <dapospis> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 5.8 | ||||||
Target Milestone: | rc | ||||||
Target Release: | --- | ||||||
Hardware: | x86_64 | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | net-snmp-5.3.2.2-18.el5 | Doc Type: | Bug Fix | ||||
Doc Text: |
Previously, snmpd used wrong length of COUNTER64 values in AgentX protocol and therefore was not able to decode two consecutive COUNTER64 values in one AgentX packet. In this update, snmpd uses correct COUNTER64 size and can process two or mode COUNTER64 values in AgentX communication.
|
Story Points: | --- | ||||
Clone Of: | Environment: | ||||||
Last Closed: | 2013-01-08 05:02:54 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
Yury Stankevich
2012-03-15 07:03:07 UTC
Created attachment 580431 [details]
subagent for reproducer
Steps to reproduce:
1. compile attached subagent
net-snmp-config --compile-subagent subagent subagent.c
2. enable agentx
echo "master agentx" >> /etc/snmp/snmpd.conf
3. start everything
service snmpd restart
./subagent -f -Lo
4. check the subagent works
snmpwalk localhost 1.3.6.1.4.1.2021.1.1
5. reproduce the bug
snmpget localhost UCD-SNMP-MIB::ucdavis.1.1.1.0 UCD-SNMP-MIB::ucdavis.1.1.3.0 UCD-SNMP-MIB::ucdavis.1.1.4.0
-> you should *not* get "Error in packet" or timeout but two 64bit numbers
This request was evaluated by Red Hat Product Management for inclusion in a Red Hat Enterprise Linux release. Product Management has requested further review of this request by Red Hat Engineering, for potential inclusion in a Red Hat Enterprise Linux release for currently deployed products. This request is not yet committed for inclusion in a release. Technical note added. If any revisions are required, please edit the "Technical Notes" field accordingly. All revisions will be proofread by the Engineering Content Services team. New Contents: Previously, snmpd used wrong length of COUNTER64 values in AgentX protocol and therefore was not able to decode two consecutive COUNTER64 values in one AgentX packet. In this update, snmpd uses correct COUNTER64 size and can process two or mode COUNTER64 values in AgentX communication. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHSA-2013-0124.html |