SNMP Configuration and Management Manual
SCF Commands for the SNMP Agent
SNMP Configuration and Management Manual—424777-006
5-13
ALTER Command
Examples: ADD TRAPDEST
•
The following example tells the NonStop agent to send trap messages to the
manager at Internet address “130.252.86.10.” The NonStop agent includes the
community string “Public” in all trap messages it sends to this address. This
example does not include the NETWORK attribute keyword and value because it is
using the default $ZTC0:
-> ADD TRAPDEST $ZSNMP.#TRAP, COMMUNITY "Public", &
-> HOSTADDR "130.252.86.10"
•
Because default values are assumed when an attribute keyword/value pair is
omitted, the following SCF commands have the same result:
-> ADD TRAPDEST $ZSNMP.#TRAP, HOSTADDR "130.252.86.10"
-> ADD TRAPDEST $ZSNMP.#TRAP, COMMUNITY "Tandem", &
-> NETWORK $ZTC0, HOSTADDR "130.252.86.10"
ALTER Command
The ALTER command:
•
Changes attribute values associated with an object
•
Requires that if you include an attribute keyword, you also include a value
•
Is a sensitive command
ALTER ENDPOINT Command
Use the ALTER ENDPOINT command to change the TCP/IP process or Internet
address in a request/response connection between a NonStop agent process and
managers.
[$agent-process.]#endpoint-name
identifies the request/response connection being altered.
$agent-process
identifies the NonStop agent process to which the ENDPOINT object belongs.
It consists of a dollar sign ($) followed by one to five alphanumeric characters,
the first of which must be alphabetic.
#endpoint-name
identifies the ENDPOINT object. It consists of a pound sign (#) followed by one
to seven alphanumeric characters, the first of which must be alphabetic.
ALTER ENDPOINT [$agent-process.]#endpoint-name
[ , NETWORK [\node.]$tcpip-process ]
[ , HOSTADDR "ip-address" ]