RE: Help request snmptrap
"Mike Ayers" <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <83E753BE7B6A324ABB336245BAF1DAAC09774202@mailserver.metatv-ds.metatv.com> |
> From: Christophe Thévenin [mailto:[email protected]] > Sent: Friday, September 26, 2008 2:43 AM > I would like create a snmptrap request but I don't understand > the tutorial: http://www.net-snmp.org/wiki/index.php/TUT:snmptrap > I would like send data. > My request is : snmptrap -v 3 host 192.168.0.11\4700 > But my request is without data. Your request is missing a few things, like v3 authentication data. Check here to figure out what you may need to add - at minimum a security level of noAuthNoPriv and a username: http://www.net-snmp.org/wiki/index.php/TUT:SNMPv3_Options Your request has no data because you have provided none. Also note that you are sedning it to a host named "hoat" and providing an uptime of "192.168.0.11\4700" ticks, which does not parse. Correct those two things, then add the OID of the notification itself (may I suggest NET-SNMP-EXAMPLES-MIB::netSnmpExampleHeartbeatNotification), and you should be able to get your test notification through. HTH, Mike ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ 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