sendtrap: Howto send SNMPv1 trap with trap description from SMIv2 MIB?

This is a discussion on sendtrap: Howto send SNMPv1 trap with trap description from SMIv2 MIB? within the SNMP Users forums, part of the Networking and Network Related category; Hi, I want to send this trap, decribed in a SMIv2 MIB, as SNMPv1 trap: upsTrapAlarmEntryAdded NOTIFICATION-TYPE OBJECTS { upsAlarmId, ...


Go Back   Usenet Forums > Networking and Network Related > SNMP Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 4 Days Ago
Andreas Mauderer
 
Posts: n/a
Default sendtrap: Howto send SNMPv1 trap with trap description from SMIv2 MIB?

Hi,

I want to send this trap, decribed in a SMIv2 MIB, as SNMPv1 trap:

upsTrapAlarmEntryAdded NOTIFICATION-TYPE
OBJECTS { upsAlarmId, upsAlarmDescr }
STATUS current
DESCRIPTION
"This trap is sent each time an alarm is inserted into
to the alarm table. It is sent on the insertion of
all alarms except for upsAlarmOnBattery and
upsAlarmTestInProgress."
::= { upsTraps 3 }

As SNMPv2 trap it works fine with this line:
snmptrap -v 2c -c public 192.168.3.37 "" .1.3.6.1.2.1.33.2.3

But I don't know, how to send a SNMPv1 trap. Which Enterprise OID should
I choose? I know it should look something like
snmptrap -v 1 -c public 192.168.3.37 ENTERPRISE-OID "" GENERIC-TRAP
SPECIFIC-TRAP ""

Thanks



-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757...un.com/javaone
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/...net-snmp-users
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 01:40 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0