--- !ruby/object:RI::MethodDescription 
aliases: []

block_params: 
comment: 
- !ruby/struct:SM::Flow::P 
  body: Sends an SNMPv1 style trap.
- !ruby/struct:SM::Flow::P 
  body: "enterprise: The enterprise OID from the IANA assigned numbers (http://www.iana.org/assignments/enterprise-numbers) as a String or an ObjectId."
- !ruby/struct:SM::Flow::P 
  body: "agent_addr: The IP address of the SNMP agent as a String or IpAddress."
- !ruby/struct:SM::Flow::P 
  body: "generic_trap: The generic trap identifier. One of :coldStart, :warmStart, :linkDown, :linkUp, :authenticationFailure, :egpNeighborLoss, or :enterpriseSpecific"
- !ruby/struct:SM::Flow::P 
  body: "specific_trap: An integer representing the specific trap type for an enterprise-specific trap."
- !ruby/struct:SM::Flow::P 
  body: "timestamp: An integer respresenting the number of hundredths of a second that this system has been up."
- !ruby/struct:SM::Flow::P 
  body: "object_list: A list of additional varbinds to send with the trap."
- !ruby/struct:SM::Flow::P 
  body: "For example:"
- !ruby/struct:SM::Flow::VERB 
  body: "  Manager.open(:Version =&gt; :SNMPv1) do |snmp|\n    snmp.trap_v1(\n      &quot;enterprises.9&quot;,\n      &quot;10.1.2.3&quot;,\n      :enterpriseSpecific,\n       42,\n      12345,\n      [VarBind.new(&quot;1.3.6.1.2.3.4&quot;, Integer.new(1))])\n end\n"
full_name: SNMP::Manager#trap_v1
is_singleton: false
name: trap_v1
params: (enterprise, agent_addr, generic_trap, specific_trap, timestamp, object_list=[])
visibility: public
