From: SourceForge.net <no...@so...> - 2012-10-08 20:01:31
|
Bugs item #3495314, was opened at 2012-02-28 06:07 Message generated for change (Comment added) made by nba You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=112694&aid=3495314&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: agent Group: aix Status: Open Resolution: None Priority: 5 Private: No Submitted By: msa (claudonv) Assigned to: Niels Baggesen (nba) Summary: AIX net-snmp5.7.1 hrSWRunPath not complete Initial Comment: On 5.7.1, i have applied patch aix-swrun_procinfo.v1.patch (bug ID 3403433) and it is fine for hrSWRunName and hsSWRunParameters. But i notice a difference between hrSWRunPath in linux (redhat) and AIX. in linux hrSWRunPath contain the path and the runname in AIX hrSWRunPath contain only the path Could you help me to have the same behavior between linux and AIX ? ---------------------------------------------------------------------- >Comment By: Niels Baggesen (nba) Date: 2012-10-08 13:01 Message: Great, thanks for confiming. It hopefully catches the5.7.2 that is just now going out the door. ---------------------------------------------------------------------- Comment By: blentz (blentz) Date: 2012-10-04 12:12 Message: I concur, having applied the patch attached to this report. Desired behavior: - That hrSWRunName contains 'basename' style information - That hrSWRunPath contains the full path *and* the executable - If the process table does not contain any path (e.g. not '/' characters leading up to the first space, reading the process table string), then hrSWRunName and hrSWRunPath are the same. Testing conducted as follows: Baseline version Red Hat Enterprise Linux 5.7, using Net-SNMP 5.3.2.2: $ snmpwalk -v 2c localhost:16161 HOST-RESOURCES-MIB::hrSWRunName.18742 HOST-RESOURCES-MIB::hrSWRunName.18742 = STRING: "nmon" $ snmpwalk -v 2c localhost:16161 HOST-RESOURCES-MIB::hrSWRunPath.18742 HOST-RESOURCES-MIB::hrSWRunPath.18742 = STRING: "/usr/bin/nmon" Patch version AIX 5.3 TL12 SP5, using Net-SNMP 5.7.2.rc2: $ snmpwalk -v 2c -c aix2011 localhost:16161 HOST-RESOURCES-MIB::hrSWRunName.172122 HOST-RESOURCES-MIB::hrSWRunName.172122 = STRING: "topas_nmon" $ snmpwalk -v 2c -c aix2011 localhost:16161 HOST-RESOURCES-MIB::hrSWRunPath.172122 HOST-RESOURCES-MIB::hrSWRunPath.172122 = STRING: "/usr/bin/topas_nmon" ---------------------------------------------------------------------- Comment By: blentz (blentz) Date: 2012-10-04 11:50 Message: I apologize for the delay. I will test this patch today on my systems and let you know shortly. ---------------------------------------------------------------------- Comment By: Niels Baggesen (nba) Date: 2012-09-21 04:46 Message: It is also the way Microsofts agent does it (i.e. gives the complete file name). The description in the MIB is a bit vague: > "A description of the location on long-term storage > (e.g. a disk drive) from which this software was > loaded." ---------------------------------------------------------------------- Comment By: blentz (blentz) Date: 2012-09-20 17:02 Message: I guess I misunderstood how this was supposed to work. Does the host resource mib dictate what portion of the process list data the "Path" is supposed to contain? Maybe we just concatenate the path and the process basename if what's being reported in this bug is actually what we want? I defintely agree, what Linux and AIX do should be consistent, I'm just not sure which way :-) ---------------------------------------------------------------------- Comment By: Niels Baggesen (nba) Date: 2012-08-19 23:19 Message: Could you try the current 5.7.2.rc1 version with the attach patch applied? ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=112694&aid=3495314&group_id=12694 |