Discovering the InterfaceSpeed for AIX

Discovering the InterfaceSpeed for AIX

0 Votes

Initially opened a ticket with MicroFocus to see why we were not getting the attribute InterfaceSpeed populated in our UCMDB instances. With MicroFocus' help and the R&D team, we were able to get the InterfaceSpeed populated for the CIs that we currently have discovered and what needs to be changed in order to gather this data for future discovery. Unfortunately for AIX discovery that proved more problematic and time-consuming for the R&D team and suggested that we enhance the AIX discovery to make it OOTB for future releases of the UCMDB.

They suggested that I upload the following log to help with gathering the speed of the active network interface for AIX servers:

Our LINUX/UNIX/AIX expert explained to me that we didn't find a way to get the Network interface speed from a single command output. Rather found that the NMON is able to send the monitoring sample to a spreadsheet readable file ( like CSV, comma separated file) so we can generate a script to get a couple of samples and grep from this file the data we required; something like this:

     cd  /tmp

     export NMON=n                                                                         - this indicates nmon to caught the network  sample

      nmon  -c 2 -s 5 –f                                                                      - This generates the CVS file at /tmp

     root@labaix72a:/tmp> grep BBBN *.nmon                      - it creates a file called ServerName_date_hour.nmon as example on my server : labaix72a_190819_1503.nmon

BBBN,000,NetworkName,MTU,Mbits,Name

BBBN,001,en0,1500,10240,Standard Ethernet Network Interface

BBBN,002,en1,1500,10240,Standard Ethernet Network Interface

BBBN,003,lo0,16896,0,Loopback Network Interface

Here is the data you are looking for , we can grep by en0, en1 instead of BBBN, I used BBBN because I found it is network related.

We need the attribute InterfaceSpeed for our monitoring purposes. This was brought up to us by our Linux team for PDXC that they will need this in the near future for monitoring and although it wasn't mandatory for the initial discovery, they wanted to let us know that way we can look into getting this information and hopefully have it for later when they do need it for creating monitoring templates later for our customers' needs later on when they need it. The MicroFocus R&D team thought this log would be a great thing to post here to hopefully get added to the OOTB UCMDB for just in case someone, somewhere else runs into the same issue when discovering this particular data for AIX.

2 Comments
Micro Focus Expert
Micro Focus Expert
Status changed to: Waiting for Votes

Thank you for sharing your idea! It’s open for comments and kudos, and we’re looking forward to input from the community. Once there is enough community traction, it will be further reviewed by the product team.

Fisher_01 Contributor.
Contributor.

Would seem if this is reported on other OS's that it would make sense to report this on any platform for consistency reasons.

About the Author
Bill has over 26 years of experience in the IT industry focusing on providing business solutions utilizing HPE Software’s tools at enterprise scale. He comes from the HPE-IT organization where he managed the first deployment of HPSC (now HPSM) and then later UCMDB with its discovery partner UD. Bill also managed a team of IT Developers, who created customized configuration management solutions for HPE-IT and HPE’s ES clients.
Most "Liked" Contributors
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.