Bug 479820

Summary: Inclusion of ethernet driver statistics in sos
Product: Red Hat Enterprise Linux 5 Reporter: Vimal Kumar <vikumar>
Component: sosAssignee: Adam Stokes <astokes>
Status: CLOSED DUPLICATE QA Contact: BaseOS QE <qe-baseos-auto>
Severity: medium Docs Contact:
Priority: low    
Version: 5.4CC: agk, bmr
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-05-19 13:36:51 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:
Attachments:
Description Flags
edited sosplugin 'networking.py' none

Description Vimal Kumar 2009-01-13 11:58:48 UTC
Created attachment 328860 [details]
edited sosplugin 'networking.py'

Description of problem:

It would be better if the sosreport collects information on the ethernet driver like version, firmware and businfo along with the network/driver statistics for the device. An inclusion of the commands 'ethtool -i' and 'ethtool -S' for the ethernet devices on the machine will not change the sosreport size considerably and also does not need any major changes in the networking plugin for sos.

The edited networking.py plugin will have the following changes :

<snip>

# diff -Naur /usr/lib/python2.4/site-packages/sos/plugins/networking.py /usr/lib/python2.4/site-packages/sos/plugins/networking.py.ORIG
--- /usr/lib/python2.4/site-packages/sos/plugins/networking.py  2009-01-13 16:49:57.000000000 +0530
+++ /usr/lib/python2.4/site-packages/sos/plugins/networking.py.ORIG     2007-08-14 22:31:29.000000000 +0530
@@ -73,8 +73,6 @@
         if ifconfigFile:
             for eth in self.get_interface_name(ifconfigFile):
                 self.collectExtOutput("/sbin/ethtool "+eth)
-                self.collectExtOutput("/sbin/ethtool -i "+eth)
-                self.collectExtOutput("/sbin/ethtool -S "+eth)
         if self.isOptionEnabled("traceroute"):
             self.collectExtOutput("/bin/traceroute -n rhn.redhat.com")

</snip>

Comment 2 Adam Stokes 2009-05-19 13:36:51 UTC

*** This bug has been marked as a duplicate of bug 469820 ***