Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Translating numbers to words with ucd-snmp snmpwalk ?

68 views
Skip to first unread message

Jesper Frank Nemholt

unread,
Nov 2, 1999, 3:00:00 AM11/2/99
to
Hi!

I have a UPS (PowerWare Prestige 9 with a ConnectUPS ethernet SNMP
connection).

When I do a snmpwalk I get all the normal information like sysName,
Location and so on, but when I get to the RFC1628 UPS MIB part of it
(the numbers starting with 33), I only get the numbers and don't get the
translated information.

I then thought I could just get hold of the RFC1628 MIB, place it in
/usr/share/snmp/mibs (this is on Red Hat Linux 6.1) where the rest of
the MIBS are located and name it UPS-MIB.txt and/or RFC1628-MIB.txt

...but this doesn't help....

Is the above mentioned action the correct to make snmpwalk translate the
numbers into readable words, or should I do something else ?

...if it is correct, I guess my MIB file is incorrect. Anyone know where
I can get properly formatted MIB files for various network gear ?


l8r/Jspr

Niels Baggesen

unread,
Nov 3, 1999, 3:00:00 AM11/3/99
to
Jesper Frank Nemholt <j...@dassic.com> wrote:
> When I do a snmpwalk I get all the normal information like sysName,
> Location and so on, but when I get to the RFC1628 UPS MIB part of it
> (the numbers starting with 33), I only get the numbers and don't get the
> translated information.

> I then thought I could just get hold of the RFC1628 MIB, place it in
> /usr/share/snmp/mibs (this is on Red Hat Linux 6.1) where the rest of
> the MIBS are located and name it UPS-MIB.txt and/or RFC1628-MIB.txt

> ...but this doesn't help....

But it is a good start :-)

> Is the above mentioned action the correct to make snmpwalk translate the
> numbers into readable words, or should I do something else ?

You have to tell the tools to load that MIB file. Use either

-m ALL
-m UPS-MIB (or whatever it is called)

or place the line

mibs +UPS-MIB

in your snmp.conf file

> ...if it is correct, I guess my MIB file is incorrect. Anyone know where
> I can get properly formatted MIB files for various network gear ?

The file is probably OK if you don't get any error messages when it is
loaded.

/Niels

--
Niels Baggesen, UNI-C, Olof Palmes Alle 38, DK-8200 Aarhus N, Denmark
Email: Niels.B...@uni-c.dk Tel: +45 89 37 66 69 Fax: +45 89 37 66 77
--- Never underestimate the bandwidth of a CD flying through the lab ---

0 new messages