Bug 61103
| Summary: | script to be included with ucd-snmp package | ||
|---|---|---|---|
| Product: | [Retired] Red Hat Linux | Reporter: | Joshua Giles <joshua_giles> |
| Component: | ucd-snmp | Assignee: | Phil Knirsch <pknirsch> |
| Status: | CLOSED NOTABUG | QA Contact: | Brock Organ <borgan> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 7.3 | CC: | rvokal |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | i386 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2002-04-09 13:10:11 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: | |||
The script itself is not enough. A change to the config file is at least required as well. For changing the ifDecription a change to the package itself is probably required as simply replacing the MIBOID with a pass and/or exec doesn't work. Read ya, Phil Waiting for final call on this one. Deferring it for now... Read ya, Phil I explained all we talked about to the guys here and it worked! Unbelievable. I suggested an oid under our enterprise tree with the needed data. Thanks Phil |
Description of Problem: Need a script to work with ucd-snmp to obtain manufacturer name and device name and replace "eth0" under interfaces.ifTable.ifEntry.ifDesc with the output of that script. A pass line in snmpd.conf should do the trick. Version-Release number of selected component (if applicable): How Reproducible: Steps to Reproduce: 1. 2. 3. Actual Results: Expected Results: Additional Information: Phil, Here is the script: #!/bin/sh #script to return manufa. name and device name ethtool -i eth0 |grep bus-info| awk '{print $2}' |xargs -n 1 lspci -s |awk '{print $4,$5,$6}|'