このコンテンツは選択した言語では利用できません。

4.115. net-snmp


Updated net-snmp packages that fix a bug are now available for Red Hat Enterprise Linux 5.
SNMP (Simple Network Management Protocol) is a protocol used for network management. The NET-SNMP project includes various SNMP tools: an extensible agent, an SNMP library, tools for requesting or setting information from SNMP agents, tools for generating and handling SNMP traps and a version of the netstat command which uses SNMP. The net-snmp package contains the snmpd and snmptrapd daemons, documentation, etc.

Bug Fix

BZ#732943
In the previous net-snmp update, implementation of the UCD-SNMP-MIB::dskTable table was rewritten and reporting of the UCD-SNMP-MIB::dskPercentNode column was accidentally removed from the snmpd daemon. With this update, the object identifier for UCD-SNMP-MIB::dskPercentNode has been restored and it now properly reports percentages of used inodes on storage devices, thus fixing this bug.
All users of net-snmp are advised to upgrade to these updated packages, which fix this bug.
Updated net-snmp packages that fix multiple bugs are now available for Red Hat Enterprise Linux 5.
The net-snmp packages provide various libraries and tools for the Simple Network Management Protocol (SNMP), including an SNMP library, an extensible agent, tools for requesting or setting information from SNMP agents, tools for generating and handling SNMP traps, a version of the netstat command which uses SNMP, and a Tk/Perl Management Information Base (MIB) browser.

Bug Fixes

BZ#663789
Prior to this update, the SNMP daemon, snmpd, wrongly calculated CPU ticks on 32-bit platforms. This resulted in incorrect UCD-SNMP-MIB::systemStats being reported after more than 30 days of uptime. With this update, snmpd calculation of CPU ticks is fixed, and correct systemStats are now reported.
BZ#698562
Previously, snmpd, enumerated active TCP connections for TCP-MIB::tcpConnectionTable in a very inefficient way with O(n^2) complexity. With many TCP connections, an SNMP client could time out before snmpd processed a request regarding the tcpConnectionTable, and sent a response. This updated improves the enumeration mechanism and snmpd now swiftly responds to SNMP requests in the tcpConnectionTable.
BZ#706916
Prior to this update, the snmpd daemon did not properly recover when the system run out of memory when populating IP-MIB::ipNetToPhysicalTable. Consequently, the daemon sometimes terminated unexpectedly. This update adds additional checks to determine when running out of memory and the snmpd daemon no longer crashes in the scenario described.
BZ#714976
Prior to this update, /usr/share/snmp/mibs/.index was not marked in the net-snmp package specification file (spec file) as being exempt from verification. Consequently, the rpm -V net-snmpcommand sometimes reported a warning that file /usr/share/snmp/mibs/.index was modified. This file is updated by various SNMP applications and daemons, therefore it should not be checked by rpm -V. With this update, the .index file is explicitly marked as volatile and rpm -V no longer reports its updates.
BZ#716470
Prior to this update, the Net-SNMP tools and libraries did not support referencing an object in another file when parsing a Management Information Base (MIB) file and the error message Undefined NOTIFICATION was shown. With this update, references to objects are looked up in all referenced MIB files and thus Net-SNMP tools, including snmptranslate, no longer report errors when parsing such MIB files.
BZ#725339
In the previous net-snmp update, implementation of the UCD-SNMP-MIB::dskTable table was rewritten and reporting of the UCD-SNMP-MIB::dskPercentNode column was accidentally removed from the snmpd daemon. With this update, the object identifier for UCD-SNMP-MIB::dskPercentNode has been restored and it now properly reports percentages of used inodes on storage devices, thus fixing this bug.
BZ#725966
Prior to this update, snmpd could terminate unexpectedly when monitoring an Object Identifier (OID) using the monitor configuration option while the monitored OID was handled by the external AgentX subagent. With this update, a backported patch has been applied and the snmpd daemon no longer crashes when monitoring such OIDs.
BZ#736264
Prior to this update, when snmpd was started and did not find a network interface which was present during the last snmpd shutdown, the following error message was logged:
snmpd: error finding row index in _ifXTable_container_row_restore 
This happened on systems which dynamically create and remove network interfaces on demand, such as virtual hosts or PPP servers. In this update, this message has been removed and no longer appears in the system log.
BZ#741789
In the previous net-snmp update, implementation of the HOST-RESOURCES-MIB::hrStorageTable table was rewritten and reporting of the hrStorageUsed column was wrongly calculated when the realStorageUnits config option was disabled. With this update, calculation of hrStorageUsed is fixed and is now reported correctly in HOST-RESOURCES-MIB::hrStorageTable.
BZ#743167
Prior to this update, the Net-SNMP perl module did not properly evaluate error codes in the register() method in the NetSNMP::agent module and terminated unexpectedly when this method failed. With this update, the register() method has been fixed and the updated perl modules no longer crash on failure.
BZ#744112
In the previous net-snmp update, the implementation of HOST-RESOURCES-MIB::hrStorageTable was rewritten and devices with Veritas File System (VxFS) were not reported. In this update, snmpd properly recognizes VxFS devices and reports them in HOST-RESOURCES-MIB::hrStorageTable.
BZ#748390
Prior to this update, AgentX subagents linked with Net-SNMP libraries did not properly check if an AgentX session was valid, or was already released, when sending a response through the session. This sometimes caused the subagent to terminate unexpectedly. In this update, all sessions are checked before a response is sent, thus the subagents no longer crash in the scenario described.
BZ#751235
Prior to this update, snmpd wrongly parsed the OID from the smuxpeer configuration option and thus rejected incoming SMUX communication. With this update, parsing of the smuxpeer configuration option is fixed and snmpd now accepts incoming SMUX requests as expected.
Users of net-snmp are advised to upgrade to these updated packages, which fix these bugs.
Red Hat logoGithubRedditYoutubeTwitter

詳細情報

試用、購入および販売

コミュニティー

Red Hat ドキュメントについて

Red Hat をお使いのお客様が、信頼できるコンテンツが含まれている製品やサービスを活用することで、イノベーションを行い、目標を達成できるようにします。

多様性を受け入れるオープンソースの強化

Red Hat では、コード、ドキュメント、Web プロパティーにおける配慮に欠ける用語の置き換えに取り組んでいます。このような変更は、段階的に実施される予定です。詳細情報: Red Hat ブログ.

会社概要

Red Hat は、企業がコアとなるデータセンターからネットワークエッジに至るまで、各種プラットフォームや環境全体で作業を簡素化できるように、強化されたソリューションを提供しています。

© 2024 Red Hat, Inc.