VMware Cloud Community
jrh910
Contributor
Contributor

Reporting on NIC Driver stats

We have HP DL380 G7/G8 servers with the Emulex NC552SFP NIC.  The driver puts all sorts of interesting stats like number of drops, fragments, pause frames, errors, etc. in text files stored in /proc/net/be-vmnicNNN (where NNN is a unique number identifying the NIC).  These are neat since they show things that you can't get from esxtop or the vSwitch so I'm trying to find a clever way to pull those stats off of the host so we can report and trend them.

The best we've got so far is enabling SSH on the hosts and having a central server run a script to login to each host and pull the files and once they're copied over we parse the files to pull out the things we care about and drop them into a reporting system. This is pretty clunky and I'd rather not need to use SSH so I wanted to see if this group had a better idea or if someone has already solved this problem.  Someone asked if we could use SNMP to pull just the info we want but the combination of my unfamiliarity with SNMP and my inability to find documentation on MIBs for the Emulex NICs (and not knowing what to do with them if I got them) has left me stuck on that front.  This is an intriguing idea, just not sure if we should go down that path or how to start.

Any ideas or nudges in the right direction would be much appreciated.

Thanks,

Jeremy

0 Kudos
1 Reply
jrh910
Contributor
Contributor

We were able to get most of the stats through SNMP.  Here's a doc from HP with the SNMP and WBEM provider names and properties so you can see what to query: http://bizsupport2.austin.hp.com/bc/docs/support/SupportManual/c03478352/c03478352.pdf.  Once we had that info it was pretty straightforward.  If you need it, instructions for enabling SNMP these were helpful: http://pubs.vmware.com/vsphere-50/index.jsp?topic=%2Fcom.vmware.vsphere.monitoring.doc_50%2FGUID-8EF...

0 Kudos