Class: IControl::Management::SNMPConfiguration::ProcessInformation

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

Overview

Used to check to see if the process_name'd processes are running on the agent's machine. An error flag(1) and a description message are then passed to the EXTENSIBLEDOTMIB.PROCMIBNUM.1.ERRORFLAG and EXTENSIBLEDOTMIB.PROCMIBNUM.1.ERRORMSG mib columns if the process_name's program is not found on the process table as reported by PSCMD.

Instance Attribute Summary collapse

Instance Attribute Details

#maxNumeric

The maximum number of process instances (0 maps to “infinity”).

Returns:

  • (Numeric)

    the current value of max



1741
1742
1743
# File 'lib/icontrol/management/snmp_configuration.rb', line 1741

def max
  @max
end

#minNumeric

The minimum number of process instances.

Returns:

  • (Numeric)

    the current value of min



1741
1742
1743
# File 'lib/icontrol/management/snmp_configuration.rb', line 1741

def min
  @min
end

#process_nameString

The process name to query on the agent's machine.

Returns:

  • (String)

    the current value of process_name



1741
1742
1743
# File 'lib/icontrol/management/snmp_configuration.rb', line 1741

def process_name
  @process_name
end