Bug 165110
Summary: | snmptrapd doesn't seem to read snmpd.conf config file | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 4 | Reporter: | Bastien Nocera <bnocera> |
Component: | net-snmp | Assignee: | Jan Safranek <jsafrane> |
Status: | CLOSED NOTABUG | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 4.0 | Keywords: | Reopened |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2007-06-13 13:44:42 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: |
Description
Bastien Nocera
2005-08-04 13:48:28 UTC
Ignore the mention of the script in step 1. above. snmptrapd has never read the configuration from snmp.conf, it has different syntax. This file should be placed in /etc/snmp/snmptrapd.conf, see appropriate man page. Why does it work properly on a stock RHEL3 install then? There's no snmptrapd.conf in a stock RHEL3: $ rpm -ql net-snmp | grep etc /etc/logrotate.d/snmpd /etc/rc.d/init.d/snmpd /etc/rc.d/init.d/snmptrapd /etc/snmp /etc/snmp/snmpd.conf REOPENED status has been deprecated. ASSIGNED with keyword of Reopened is preferred. You are right, we do not supply any default snmptrapd.conf file in your packages. Upstream Net-SNMP does neither. There is man page, which should help you write your own /etc/snmp/snmptrapd.conf. I have checked RHEL3 and snmptrapd does NOT read snmpd.conf. The situation is the same like in RHEL4 - no default snmptrapd.conf is provided, you must write one by yourself. |