From: SourceForge.net <no...@so...> - 2007-06-27 12:36:47
|
Patches item #1744157, was opened at 2007-06-27 14:36 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=312694&aid=1744157&group_id=12694 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Jan Safranek (jsafranek) Assigned to: Nobody/Anonymous (nobody) Summary: no duplicities allowed in exec statement Initial Comment: Net-SNMP 5.4 uses different implementation of 'exec' statements in snmpd.conf. Following part of snmpd.conf causes snmpd 5.4 to crash on snmpwalk (snmpd 5.3 works): exec shelltest /usr/local/bin/tempstat VRM2 exec shelltest /usr/local/bin/tempstat CPU1 exec shelltest /usr/local/bin/tempstat CPU2 exec shelltest /usr/local/bin/tempstat VRM1 -> snmpd prints "duplicate table data attempted to be entered. row exists" snmpwalk -v 2c -c public localhost .1.3.6.1.4.1.2021.8 -> snmpd crashes It does not matter what is in the tempstat script, simple "echo hello world" is enough. It's easy to fix the crash (see patch attached), but why it is not allowed to have multiple 'shelltest' entries in snmpd.conf? It was working OK in net-snmp 5.3. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=312694&aid=1744157&group_id=12694 |