Date: Mon, 8 Jul 2002 22:45:23 -0500 From: Dan Nelson <dnelson@allantgroup.com> To: Brian McCann <bjm1287@ritvax.rit.edu> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: SNMP driving me bonkers Message-ID: <20020709034523.GD13884@dan.emsphone.com> In-Reply-To: <000a01c226e9$b163fa30$2e00a8c0@dogbert> References: <000a01c226e9$b163fa30$2e00a8c0@dogbert>
next in thread | previous in thread | raw e-mail | index | archive | help
In the last episode (Jul 08), Brian McCann said: > Ok...I've got to be missing something completely obvious. I am trying > to query an SNMP object on a APC ups. I downloaded the mib file from > www.apc.com , put it into the mibs directory, and tried running > "snmpget". It shot back "There is no such variable name in this MIB. > Failed object: system.sysUpTime.6.1...". So I tried telling it the > exact directory path the MIB files were in, no go. Told it the exact > file...no go. I made sure the file (powernet.mib) was in DOS format, > and tried calling it all kinds of things. Nothing seems to > work...BUT....a few weeks ago I got it working on another box...and I > can't seem to find anything wrong. Even when I do an snmpwalk on the > device, it doesn't show that object...or any of the "UPS" related > objects. Does anyone have any ideas? I even didn't know any APC UPS devices had Ethernet interfaces. Try setting the environment variable MIBS=ALL, then run "snmpwalk <upsIP> public .1" . That should list all the MIBS available on that machine. -- Dan Nelson dnelson@allantgroup.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020709034523.GD13884>