Looks like "snmptranslate -Td -OS" will do the job for me. Thanks!
-----Original Message----- From: Bruce Shaw [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 12, 2004 1:34 PM To: 'Edric Bulalacao'; [EMAIL PROTECTED] Subject: RE: Retrieving the DESCRIPTION from MIB files In a word - no. Traps send out their information in a specific format. That's what standards are for. The MIB.txt describes the layout of the trap. In your case the layout is ipoGTEventSeverity, ipoGTEventDateTime To get this particular element to output a description, the MIB would have to read ipoGTEventSeverity, ipoGTEventDateTime ipoGTDescription Which would be kind of pointless, because the Description would be the same every time. Providing the description of the MIB would be the network management software's job. Switching to net-snmp is not going to help. >Am currently using ucd-snmp...if switching to net-snmp will solve this problem, I'll gladly >switch. Anyway, here's a little snippet example from one of MIBs I'm working on: >ipoGenLKSCommsOperationalEvent NOTIFICATION-TYPE OBJECTS { ipoGTEventSeverity, ipoGTEventDateTime } STATUS current DESCRIPTION "A ipoGenLKSCommsFailureEvent notification is generated whenever communication with a Licence Key Server becomes operational again after having failed. It signifies that the SNMP entity, acting in an agent role, has detected that the state of the communications between the Licence Key Server has transitioned from the failed to the operational state" ::= { ipoGTEvents 6 } >Is there anyway of outputting the DESCRIPTION section using snmptrapd >(or whatever) when this particular trap is received by my Linux server? Or must I write a separate script to extract the DESCRIPTION? I would like to do this for ALL traps received by my server. It looks like all the MIBs I'm working on has DESCRIPTIONs for each trap. It's a description of the format of the trap, not the trap itself. It's metadata, not data. This communication is intended for the use of the recipient to which it is addressed, and may contain confidential, personal and or privileged information. Please contact us immediately if you are not the intended recipient of this communication, and do not copy, distribute, or take action relying on it. Any communication received in error, or subsequent reply, should be deleted or destroyed. ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Net-snmp-users mailing list [EMAIL PROTECTED] Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users