Bug 160168

Summary: snmpd AgentX-Perl-Interface does not work with example script
Product: [Fedora] Fedora Reporter: Need Real Name <helmuth>
Component: net-snmpAssignee: Radek Vokál <rvokal>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 3   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-08-19 07:12:50 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 Need Real Name 2005-06-12 15:15:54 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.6) Gecko/20050328 Fedora/1.7.6-1.2.5

Description of problem:
The net-snmp-project delivers an example script 

http://www.net-snmp.org/tutorial/tutorial-5/toolkit/perl/perl_module.pl

to use for the agentx-perl interface. The MIB netSnmp.999 should be served by the perl script, the "original" rpm 

http://prdownloads.sourceforge.net/net-snmp/net-snmp-5.2.1-3.fc2.i686.rpm?download

forwards the request for the OID netSnmp.999 to the perl script, the FC3-Version does not. 


Version-Release number of selected component (if applicable):
net-snmp-5.2.1-10.FC3

How reproducible:
Always

Steps to Reproduce:
1. make snmpd work again: disable SELinux, set execstack -s /usr/sbin/snmpd, reboot
2. enable agentx-interface: add master agentx to /etc/snmp/snmpd.conf
3. enable "read all access": modify line 62 (/etc/snmp/snmpd.conf) to read access "all", enable "all"-view (line 85: /etc/snmp/snmpd.conf)
4. start perl script ( see above)
5. snmpwalk -c public -v 2c localhost netSnmp.999
  

Actual Results:  NET-SNMP-MIB::netSnmp.999 = No Such Object available on this agent at this OID


Expected Results:  NET-SNMP-MIB::netSnmp.999.1.2.1 = STRING: "hello world"


Additional info:

The orignal RPM works on FC3, maybe some patching causes the failure of the perl interface.

Comment 1 Radek Vokál 2005-08-19 07:12:50 UTC
This works in rawhide version of net-snmp. If I do some update for FC3 I'll
include a fix for this issue.