Thanks. That did exactly what I needed. -- Thank You Jefferson Cowart Network and Systems Administrator Claremont University Consortium
> -----Original Message----- > From: [email protected] [mailto:InterMapper- > [email protected]] On Behalf Of Richard E. Brown > Sent: Monday, April 26, 2010 18:38 > To: [email protected] > Subject: RE: [IM-Talk] RPS Monitoring on Cisco 28xx ISRs > > Jefferson, > > --- You wrote: > However when I probe > the OID for the AC supply directly it just outputs a number. Is there a > way I can get it to translate that value like it does with the table? > --- end of quote --- > > I think you are saying that the MIB specifies a text value that goes > along with > the (otherwise numeric) value for the OID. You can force it to be > displayed as > a text string by declaring it to be of type "STRING". I don't have that > MIB handy, > but the following works for ifAdminStatus from MIB-2: > > ifAdminStatus OBJECT-TYPE > SYNTAX INTEGER { > up(1), -- ready to pass packets > down(2), > testing(3) -- in some test mode > }... > > InterMapper variable declarations would be: > > <snmp-device-variables> > ifAdminStat, 1.3.6.1.2.1.2.2.1.7.1, DEFAULT, "" -- displays as 1, 2, or > 3 > ifAdminStatStr, 1.3.6.1.2.1.2.2.1.7.1, STRING, "" -- displays as up, > down, or > testing > ... > > Please get back to me if you have further questions. Thanks. > > Rich Brown [email protected] > Dartware, LLC http://www.intermapper.com > 66-7 Benning Street Telephone: 603-643-9600 > West Lebanon, NH 03784-3407 Fax: 603-643-2289 > ____________________________________________________________________ > List archives: > http://www.mail-archive.com/intermapper-talk%40list.dartware.com/ > To unsubscribe: send email to: [email protected] ____________________________________________________________________ List archives: http://www.mail-archive.com/intermapper-talk%40list.dartware.com/ To unsubscribe: send email to: [email protected]
