Re: how to send octet string using snmptrap command
Dave Shield <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
On 21 June 2010 13:30, Harendra Pratap Singh <[email protected]> wrote: > Mib file is located at /usr/share/snmp/mibs directory. > > > File name is also corect as there are lots of other traps working. Do these other traps use payload varbinds from NOTIFICATION-MIB? > The problem with this is that the RegId object is of octet string. What does snmptranslate -Td NOTIFICATION-MIB:RegId report? What happens if you omit this particular varbind from the command? i.e. /usr/bin/snmptrap 10.201.1.180:162 ' ' 1.3.6.1.4.1.7684.2.5.0.10 NOTIFICATION-MIB:Port i 1 NOTIFICATION-MIB:epOperStatus i 1 ? Dave ------------------------------------------------------------------------------ ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo _______________________________________________ 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