Class: IControl::Management::SNMPConfiguration::GenericSinkInformation2

Inherits:
Base::Struct
  • Object
show all
Defined in:
lib/icontrol/management/snmp_configuration.rb,
lib/icontrol/management/snmp_configuration.rb

Overview

This is a more generic trap configuration (trapsess directive) that allows any type of trap destination to be specified with any version of SNMP. See the snmpcmd(1) manual page for further details on the arguments that can be passed with snmpcmd_args. In addition to the arguments listed there, the special argument -Ci specifies that you want inform notifications to be used instead of unacknowledged traps (this requires that you also specify a version number of v2c or v3 as well).

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base::Struct

from_soap, icontrol_attribute, #to_soap

Instance Attribute Details

#sink_hostString

The host address for which traps are sent.

Returns:

  • (String)

    the current value of sink_host



1665
1666
1667
# File 'lib/icontrol/management/snmp_configuration.rb', line 1665

def sink_host
  @sink_host
end

#sink_portNumeric

The SNMP trap port where traps are sent.

Returns:

  • (Numeric)

    the current value of sink_port



1665
1666
1667
# File 'lib/icontrol/management/snmp_configuration.rb', line 1665

def sink_port
  @sink_port
end

#snmpcmd_argsString

Commands to communicate with a network entity using SNMP requests.

Returns:

  • (String)

    the current value of snmpcmd_args



1665
1666
1667
# File 'lib/icontrol/management/snmp_configuration.rb', line 1665

def snmpcmd_args
  @snmpcmd_args
end