snmpd が警告メッセージ The separate port argument to trapsink is deprecated を報告する場合がある

Solution Verified - Updated -

Issue

  • snmpd が起動するとすぐに警告メッセージが報告されます。
  • /var/log/messages に以下が含まれます。
    snmpd[xxxx]:/etc/snmp/snmpd.conf: line 464:Warning:The separate port argument to trapsink is deprecated
    snmpd[xxxx]:/etc/snmp/snmpd.conf: line 465:Warning:The separate port argument to trapsink2 is deprecated
    
  • /etc/snmp/snmpd.conf に以下の 2 行が含まれます。
    trapsink 127.0.0.1 public 162
    trap2sink 127.0.0.1 public 162
    
  • 警告メッセージが報告されても snmpd が問題なく起動します。

Environment

  • Red Hat Enterprise Linux 6
  • net-snmp-5.5-19.el6

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.