pw set
The pw set command sets the Control tab parameters for a selected device or for all devices on your Device list. The preceeding table lists Control tab parameters and other information required for this command. In this case, only the COLLECTDATA attribute name applies because the other choices are related to SNMP monitors.
To view help information, run the following command:
The syntax for this command format is as follows:
If you do not enter IPaddress, these changes apply to all devices. If you do not specify an IP address you could, for example, turn Collect Data off for every device on your system in a single operation.
pw set and SNMP control parameters
Control parameter | MO name | Attribute name | Value | ||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Collect Data | Device | COLLECTDATA | 0 [ngpcliref:do not collect data] 1 [ncollect data] | ||||||||||||||||||||||||
SNMP Read Community String | Device | RDCOMMSTR | [character_string] | ||||||||||||||||||||||||
SNMP Retries | Device | SNMPRETRIES | [number_of_tries] | ||||||||||||||||||||||||
SNMP Timeout | Device | SNMPTIMEOUT | [time_in_seconds] | ||||||||||||||||||||||||
SNMP Version | Device | SNMPVERSION | 0[SNMP Version 1]1[SNMP Version 2] pw set and SNMP control parameters
|
Example:
Updating Managed Object (Device,1) with "COLLECTDATA"=1 ...done.
Example:
Updating Managed Object (Device,0) with "COLLECTDATA"=0 ...done.
Updating Managed Object (Device,0) with "COLLECTDATA"=0 ...done.
pw set snmp
Use the pw set snmp command to set any SNMP system constant from one value to another value. To use this command, you must have prior knowledge of your Infrastructure Management system constants and values.
The command format is as follows:
The following figure shows an example list of Infrastructure Management system constants, including columns for the <Name> and <Value> portions of this command:
pw set snmp - Example Infrastructure Management constants
Example:
Updating CHKFORSNMPV2 to 1