Bug 61103 - script to be included with ucd-snmp package
Summary: script to be included with ucd-snmp package
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: ucd-snmp
Version: 7.3
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Phil Knirsch
QA Contact: Brock Organ
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2002-03-13 17:03 UTC by Joshua Giles
Modified: 2015-03-05 01:10 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2002-04-09 13:10:11 UTC
Embargoed:


Attachments (Terms of Use)

Description Joshua Giles 2002-03-13 17:03:34 UTC
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}|'

Comment 1 Phil Knirsch 2002-03-14 11:01:06 UTC
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

Comment 2 Phil Knirsch 2002-04-09 13:10:06 UTC
Waiting for final call on this one. Deferring it for now...

Read ya, Phil

Comment 3 Joshua Giles 2002-04-09 14:23:22 UTC

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


Note You need to log in before you can comment on or make changes to this bug.